Showcase
Four games, written for the machine.
A snake, a falling-block puzzle and two shooters, each written in UNC assembly language. They run here on the real UNC 64 emulator, the same core that runs inside the game. Your browser assembles each one from its source when you press Play.
16K of memory. 1 MHz. No sprites, no sound chip yet.
Just text, a bitmap, and cycles.
Loading the machine
UNC 64
Choose a game below.
Click the screen first, so the keys go to the machine.
Read the source
The games
How they're made
Written to the manual
Each game was written from the UNC 64 Programmer's Reference Guide alone: the instruction set, the memory map, the cycle table. If the manual was wrong or unclear, the game found out.
Tested like code
Every game has a test that plays it with scripted keys and checks what happens: the snake grows, a row clears, a rock splits, a bug falls. The tests run on every change to the machine.
Fits in 16K
A bitmap screen costs 8,000 of the UNC 16's 16,384 bytes. Everything else (code, tables, the game's state) lives in what's left. Every frame has 19,968 cycles to spend, and no more.