3 ms·
Compiled, it is 512 bytes. The com file is for running out side of the boot sector afaik.
by bepvte 7y ago
Compiled, it is 512 bytes. The com file is for running out side of the boot sector afaik.
- simcop2387 7y agoIt's also possible that the com file is just being padded because of the way they work, statically loaded into a specific 64kb segment of ram, limiting their size to 64kb. The assembler might just be padding it to zero out the rest of the segment, even though it isn't needed.
- acqq 7y agoI never saw any unnecessary padding there. The initial commit was 512 bytes for .com. 9e7101f BIN +512 Bytes invaders.com One can also boot directly from the 512 byte floppy disk image .img, e.g. qemu-system-i386w -fda invaders.img
- oops 7y agoOr the OP downloaded the HTML page[1] instead of the raw file. The HTML for a signed-out user is about 64kB. 1: https://github.com/nanochess/Invaders/blob/master/invaders.com https://github.com/nanochess/Invaders/blob/master/invaders.c...