about

All Posts

Tinybricks: A Bootsector Game

Jun 18 2021 · 2 min read
#assembly #boot-sector #game #x86
After this piece of code has been lying around for too long, it is finally time to publish it. Back in 2019, I spent a weekend writing a small game that fits in one boot sector. A boot sector is 512 bytes in size, with 2 bytes being a magic word. In the end, 510 bytes of plain memory are left for the program code itself. With that restriction, every possible measure must be taken to minimize the binary size.
Read More…