Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> - The downloaded COM file is almost 64k

I don't know how you did that, but now I've downloaded it and I get:

    ls -l invaders.com
    -rwxrwxrwx 1 user group  518 Jun 7 00:00 invaders.com
The boot sector version is:

    ls -l invaders.img
    -rwxrwxrwx 1 user group  512 Jun 7 00:00 invaders.img
The .com file is bigger because it has "more features" -- it allows one to "exit" the game, and in the com version it doesn't have to be less or equal of 512 bytes to fit, the boot sector version has that limitation.

I also see that even the first commit had both the .com and the .img 512 bytes:

     9e7101f
     BIN +512 Bytes invaders.com 
     BIN +512 Bytes invaders.img
I was also able to configure a virtual machine to boot from invaders.img (512 bytes) as a "floppy disk image."



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: