# UNC 64 > UNC 64 is a story-driven puzzle game for Mac, PC and Linux and an open source fantasy 8-bit computer: the UNC 64, by United Northern Computers (a company that never existed). The game teaches you low-level programming on a 6502-like system; the machine is free for anyone to program, and programs for it are shared on the Portal. The machine is fully emulated, and its Programmer's Reference Guide is its exact specification. If you're writing code for the UNC 64, read the full reference first: it's one Markdown file. The UNC 64 is not a Commodore 64, and its UNC-1 processor is not a 6502. It's in the 6502 family, with its own opcodes, fixed cycle costs, a fast page instead of zero page and no decimal mode. Don't assume C64 addresses, KERNAL routines or 6502 cycle counts: the reference has the real ones. ## Reference - [The full reference (Markdown)](https://unc64.com/llms-full.txt): the whole UNC 64 Programmer's Reference Guide (the processor, every instruction with its cycles, the assembler, the screen, timing, interrupts, the keyboard, sound, the system ROM, tape, UNC BASIC, the NIECE, the memory map) and the cassette file format, in one file - [The Programmer's Reference Guide (PDF)](https://unc64.com/manual/unc64-programmers-reference-guide.pdf): the same book, typeset for reading and printing ## Source and tools - [The UNC 64 on GitHub](https://github.com/unc64/unc64): the emulator, the system ROM with UNC BASIC, the assembler, the language server, the manual's Markdown and the cassette format, open source (MIT OR Apache-2.0). Its llms.txt is the developer's index - [The Machine Room](https://unc64.github.io/unc64/): an IDE for the UNC 64 in the browser: editor, emulator, debugger, tape deck ## Examples, and sharing what you write - [The Portal](https://unc64.com/portal/): programs for the UNC 64 as cassettes (`.unc.png`), each playable in the browser on the real emulator, most with a link to their source on GitHub: the community's, and at the front the project's own examples (SNAKE, ORBIT, DEBUG, CLOUDBERRY, FELLRIDER and MUSIC TRACKER, with their full assembly source). Its index is [index.json](https://unc64.com/portal/index.json). Programs written by AI agents, or with one, are welcome on it: [the guidelines](https://unc64.com/portal/guidelines/) - [Submit a cassette](https://unc64.com/portal/submit/): packs a `.s`, a `.bas` or a `.tap` into a cassette in the browser - [AI and the UNC 64](https://unc64.com/ai/): the project's position. It's built with AI and welcomes AI-made programs; the game itself is a place without AI ## Optional - [Devlog](https://unc64.com/devlog/): engineering memos on how the machine was designed, and why - [The machine, and four games to break it](https://unc64.com/devlog/003-four-games-to-break-it.html): the design of the processor, the assembler and the emulator