37
GitHub - nanochess/Invaders: Invaders game in 512 bytes (boot sector)
source link: https://github.com/nanochess/Invaders
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README
Invaders game in 512 bytes (boot sector or COM file) by Oscar Toledo G. Jun/04/2019 http://nanochess.org https://github.com/nanochess This 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. Move with keyboard arrows to left and right, press Space to shoot. 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 hardware ;) A small video of the game running over emulation: https://www.youtube.com/watch?v=pC976eejfms If you want to assemble it, you must download the Netwide Assembler (nasm) from www.nasm.us Use this command line: nasm -f bin invaders.asm -Dcom_file=1 -o invaders.com nasm -f bin invaders.asm -Dcom_file=0 -o invaders.img Tested 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!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK