Invaders game in 512 bytes
Invaders game in 512 bytes (boot sector or COM file)
by Oscar Toledo G. a game recreating the Invaders game in 512 bytes, that can be
run as a COM file or put into a boot sector of a floppy disk to be
run. Now it’s compatible with 8088 (the original IBM PC) but it still
has the option for 80286 code in the source code. So you now have
to look for a 8-bit compatible VGA card if you want to run it in
original hardwareA small video of the game running over emulation:
you want to assemble it, you must download the Netwide Assembler
(nasm) from www.nasm.usUse this command line:
nasm -f bin invaders.asm -Dcom_file=1 -o invaders.com
nasm -f bin invaders.asm -Dcom_file=0 -o invaders.imgTested with VirtualBox for Mac OS X running Windows XP running this
game, it also works with DosBox and probably with qemu:qemu-system-x86_64 -fda invaders.img
Enjoy it!
Source: github.com