Back to directory

BootLife

Conway's Game of Life implemented to run directly from a 512-byte x86 boot sector in assembly, using VGA memory itself as the simulation grid.

BootLife

BootLife implements Conway's Game of Life so that it runs directly from a 512-byte x86 boot sector, using VGA memory as the simulation grid rather than a conventional display buffer managed by an operating system. It is built with NASM and run in QEMU as a raw floppy image, or through a bundled make target.

The whole simulation, from bootstrapping the CPU to rendering each generation, fits inside the 512 bytes a BIOS loads and executes before any operating system is present, making it a compact demonstration of low-level x86 boot-sector and VGA programming techniques.

It is written in x86 assembly and released under the ISC license.

More in Tutorials

See all 478
  • A technical blog post deriving the Y combinator as a composition of combinator birds in an array language, and examining how eager evaluation changes fixed-point recursion compared with the usual lazy telling.

  • System Design Atlas

    atlas-sysdes.vercel.app

    A free reference of worked system design problems with interactive architecture diagrams, covering ranked designs such as a feed, a chat app, a URL shortener, and a rate limiter, plus pages on the technologies behind them.

  • A technical article showing how to call TypeSafe.ai's Jev decision model from a TanStack Start server route through TanStack AI's Vercel AI Gateway adapter to build a typed routing endpoint.