UNC 64 A GAME FOR MAC, PC AND LINUX

EXPERIENCE 8-BIT PROGRAMMING LIKE IT'S 1984

1980s Computer Simulator

Back to BASIC.

UNC 64 is a story-driven puzzle game and an open source fantasy 8-bit computer. The game teaches you low-level programming on a 6502-like system; the machine is free for anyone to program, and to share programs for. You, a modern-day software engineer, inherit your uncle's old 8-bit computer (a UNC, naturally). You switch it on, and wake up in 1984 at the same desk. There's a tape deck, a monthly computer magazine, a manual full of your uncle's notes, and a lot of programs to write.

BASIC. 6502-style assembly. 1 MHz CPU. Up to 64K RAM. Paper Manual. Open Source Emulator & Spec. Community Portal.

Pay once: every future update is free. Full refund any time before release. Terms · Or try the machine in your browser.

DEMO · CLICK TO TYPE
The dare

When did you last write a loop by hand?

The Fibonacci numbers, in BASIC, on the machine below. No autocomplete, no paste. HELP lists the keywords; the rest is you.

This is the real UNC 64, running on the same emulator as the game. Until you click the screen, it plays a short BASIC demo. After that, it's yours: type or paste a program. Try

10 PRINT "HELLO"
20 GOTO 10
RUN

then CTRL+C to stop it. POKE 49184,2 for a new border colour. GR:CIRCLE 160,80,60 for a circle, and TEXT to get back. HELP lists the keywords.

Teaser

Captured in the game
16K · a tape deck · a blinking cursor

Write code like it's 1984 again

Type in listings from the monthly magazine and chase down their bugs. Save your work to cassette. Learn machine code because BASIC is honestly too slow: the manual starts you in BASIC and takes you all the way down, a listing at a time.

The UNC-1 is a 6502-family processor with every cycle written down, so a puzzle scored in cycles is fair. Already know the 6502? Appendix F lists every difference, and memo #003 has the reasons.

THE STORY >
Just you and the machine

A computer that fits in your head

No autocomplete at the desk, no chat window, nothing between you and the metal. Just you, a manual and a computer small enough to understand completely: 55 instructions and one book, every listing in it tested.

THE MANUAL >
Open source · a shelf anyone can add to

Open, all the way down

The emulator, the ROM, the assembler and the manual are open source. Write something in your browser, put it on a cassette, and it's on the Portal for anyone to play: in the browser, in the Machine Room, or on the desk in the game.

OPEN THE PORTAL >

Screenshots

Real gameplay · work in progress

The machine

A 6502-family machine, specified to the cycle
Spec sheet · You start on a UNC 16 and earn the rest
PartUNC 16 (your uncle's box)UNC 64 (fully upgraded)
Memory16K64K: the memory expansion, half of the upgrade
Screen40 × 25 green text in UNSCII: 256 characters in ROM, small letters among them, and your own character sets, a 320 × 200 bitmapThe NIECE, the other half: a graphics chip with sixteen colours, pictures drawn at any size, and the arithmetic to go with them
SoundA beeper with a tone timer and a noise sourceThe AUNT: a three-voice sound chip with a filter
StorageCassette tape, real load times: the same deck from your first SAVE to the demo party.
LanguageInteger BASIC in ROMPlanned: an extended BASIC
ToolsA screen editor and a machine-code monitor in ROM, PEEK and POKE, an assembler on tapePlanned: a debugger
CPUA fantasy chip in the 6502 family at 1 MHz: a fast page, and a fixed cycle table every puzzle is scored against.
Programmer's Reference Guide · Appendix B
$0000-$00FFFAST PAGE
$0100-$01FFSTACK
$0400-$07FFSCREEN
$0800-$3FFFUSER RAM 16K
$C020BORDER COLOUR
$C3F0-$C3FFRESERVED
$D000-$DFFFCHARACTERS + MONITOR ROM
$E000-$FFFFBASIC + SYSTEM ROM

not reserved. it answers. —U

The manual

Free download · PDF
The cover of the UNC 64 Programmer's Reference Guide: UNC 64 in big letters over a red and yellow band.

start here. —U

The UNC 64 Programmer's Reference Guide. The whole machine in 109 pages: UNC BASIC first, then every register, every instruction, every ROM routine and the assembler.

It's the same book as the ring binder on the desk in the game, set in the same type. It's also the machine's specification: every program listing in it is assembled and run against the emulator, so if the book says it works, it works.

Print it, punch it, put it in a binder. It's free, and open source like the rest of the machine: the Markdown it's printed from is on GitHub.

Download the PDF A4 · 109 PAGES · 2.5 MB · REV A

Software & community

Playable now · In your browser
Call for software · Open now

Programs wanted

UNC 64 is still in development, and we're looking for people to write for it: games, demos, music, tools, anything that runs on the machine.

What you send in is featured in the game: a cassette on the desk in 1984, with your name on its label. It stays yours.

  1. Write it. In the Machine Room, in your browser, in UNC BASIC or in assembly. The manual is the whole machine in one book, and it's free.

  2. Put it on a cassette. Export it from the Machine Room, or drop a .s, a .bas or a .tap on the Submit page.

  3. Send it in. A person plays it, and it goes on the shelf: in the browser, in the Machine Room and in the game.

  4. Questions? Ask on the Discord.

Programs for the UNC 64, as cassettes: a picture of a tape with the program inside it. These six are the machine's own, each with its source. Everyone else's go on the same shelf: write one in the Machine Room, save one in the game, or have your AI write it, and send it in.

The Machine Room

Free · Open source · In your browser
The Machine Room: CHARACTER SET's assembly source in the editor with each line's cycles beside it; the machine's screen showing all 256 characters in a grid, capitals, small letters and pictures; the debugger's registers, disassembly and memory below, and the empty tape deck.

Write programs for the UNC 64 today: the real emulator, an editor, a debugger and a tape deck, in your browser. Nothing to install.

The whole machine is open source: the emulator, the ROM with UNC BASIC, the assembler, the manual, the Machine Room and the games at the front of the Portal, MIT or Apache 2.0.

Save your programs as cassettes, share them, and play them on the desk in the game.

The story

1984 · a bedroom · no deadlines

You're a software engineer in 2027. AI writes most of the code now. Your job is to watch and approve. Then your uncle's old computer arrives in a box, with odd tapes, a ring binder full of his handwriting, and a program he never finished.

You switch it on. You wake up in 1984, in a bedroom that's yours and isn't. The machine on the desk is the same one.

Every month a new issue of 8-Bit Monthly lands in the mailbox, with type-in listings, challenges, letters and mail-order ads. Everything you write, you save to cassette. You learn machine code because BASIC is honestly too slow. Somewhere in the memory map, an address that should be empty answers back.

How it plays
  • Write real programs on a real emulated machine. Every puzzle is checked against a spec and scored in cycles.
  • Sixteen programs carry the story, from your first PRINT to a demo party.
  • The assembler is on the tape stand from day one. Earn the rest: the screen editor, and the UNC 64 upgrade.
  • No deadlines and no fail states. Sleep, and the next issue arrives.
  • Just you and the machine.

PEEK(50161) = 86 ???

Pre-order

$20 · Mac, PC and Linux

Pre-order UNC 64 for $20, and you get the game for Mac, PC and Linux when it's released.

That's the pre-order price. At release the price goes up, to about $40. Pre-order now and you pay today's price, once.

Pay once, and every future update is free. Everything we add to UNC 64, for as long as we make it, at no extra cost. That's a promise.

The machine is free and open source: you can program it in the Machine Room right now. What you're buying is the game: the experience and the story around the machine. Everything on the Portal is free to play, with or without the game.

If you like, your name goes in the game: the magazine on the desk prints a list of its founding readers. Type it at checkout, or leave it blank.

Secure checkout by Stripe. Pay in dollars or euros. Tax included.

Full refund any time before release, and for 14 days after. Pre-order terms

Why this exists

UNC 64 is a passion project by Viljami Kuosmanen, built in evenings and weekends (and yes, developed with AI). It's about reliving exploring an 8-bit computer from the 6502 family: deciding how the processor works, what the chips do and what the assembly language looks like, then sitting down at the desk and programming the thing. The devlog is where the decisions get written down, and memo #001 tells the whole story.

There's no release date and no schedule. Follow along with the devlog, or come talk about it on the UNC 64 Discord. The machine itself is open source, and the Machine Room runs it in your browser.

It's meant to be added to. Send in a cassette of something you wrote for it. Found the manual and the machine disagreeing? That's a bug in one of them: report it. Or take the source and put the machine somewhere it isn't yet.

Unc, short for uncle, is Gen Z slang for anyone old or out of touch, which these days means anyone past their mid-twenties. Remember when computers came with a manual? Then you're the unc. Don't? Give it a few years.