a game in the 512 bytes of a bootloader
MIT License
This is a small bootloader which is/was trying to implement a snake clone in the 512 bytes of a bootloader.
The generated source file has 498 bytes. The BIOS of a PC loads only the first 510 bytes of code into the RAM to execute, the last 2 bytes are AA 55 to indicate that the preceding bytes are, indeed, a bootloader. It is therefore quite problematic to add the last missing features, which are:
It might make sense to increase the speed of movement and strip the code which adds the snake length and in turn add the code for the point generation.
Easy!
The build process relies on quite old software.
Either add them to your path or drop them into the kernel directory, open the project in Visual Studio and build (F6).
Afterwards you can run the file with the included bochsrc.bxrc in Bochs.