Atari 2600 Assembly
Eric A. Norton and Rohan A. Banerjee
Retro programming manuals
Assembly and BASIC for the Atari 2600, ZX Spectrum, Commodore 64, MSX and Amiga — from the first byte to complete games, with every line of code free to download.
Choose your machine
MOS 6507 at 1.19 MHz
128 bytes RAM
2 books · 3 games
Zilog Z80A at 3.5 MHz
16 or 48 KB RAM
2 books · 1 game
MOS 6510 at about 1 MHz
64 KB RAM
7 books · 4 games
Zilog Z80A at 3.58 MHz
8 to 64 KB RAM
2 books · 1 game
Motorola 68000 at about 7 MHz
512 KB (Amiga 500) RAM
2 books · 3 games
The books
Eric A. Norton and Rohan A. Banerjee
Aravind J. Deshmukh and Henry Radclyffe
Eric A. Norton and Rohan A. Banerjee
Aravind J. Deshmukh
Aravind J. Deshmukh, Eric A. Norton and Jorah Sallow
Aravind J. Deshmukh and Henry Radclyffe
Rohan A. Banerjee and Henry Mercer
A series
Every book is independent and brings a new original game to life, built in playable steps from the first byte to the finished program.
A series
Every book is independent and brings a new original game to life, built in playable steps from the first byte to the finished program.
A series
Every book is independent and brings a new original game to life, built in playable steps from the first byte to the finished program.
A series
Every book is independent and brings a new original game to life, built in playable steps from the first byte to the finished program.
A series
Every book is independent and brings a new original game to life, built in playable steps from the first byte to the finished program.
The games
A bat, a ball and a wall of bricks that will not wait. Every two and a half seconds the wall takes a step down the screen, and when it reaches the bat the game is over.
From Atari 2600 Assembly
A digger in a mine twice the height of the screen. The map lives in the console's 128 bytes of RAM, so every tunnel he digs stays dug, and the window scrolls to follow him a scanline at a time.
From Atari 2600 Assembly
A side-scrolling game for the Amiga 500, written on the bare metal with the operating system switched off. It boots from its own floppy, on a real A500 or in an emulator, with no Kickstart ROM needed.
From Amiga Assembly
A demo for the Amiga 500 in the old tradition of the scene — copper bars, a scroller, bobs and music, with its whole source printed and commented.
From Amiga Assembly
An original dungeon explorer for the Commodore 64. Sixteen rooms in four zones under the hill of Morrow, three keys and three seals, skeletons and bats, and the portal of the Moss Gate.
From Cryptmorrow
An original side-scrolling adventure for the Commodore 64. Oscar, a young vampire, crosses eight levels from the Village of Mortals to the Throne Tower, turns into a bat, and must chase Tom Darkfang out of his castle before the sun rises.
From Dreadcastle
The dungeon explorer of Cryptmorrow for the ZX Spectrum. Sixteen rooms beneath the hill of Morrow, keys and locked doors, skeletons and bats, three seals and the portal of the Moss Gate, with AY music on the 128K.
From Cryptmorrow ZX
Sir Roderick goes down into the Crypt of Scales to destroy a cursed crown: sixteen rooms on four levels, timed traps, keys and doors, serpents that give chase, and the Serpent King on the throne. A 32K cartridge for the Atari 2600 in 6502 assembly.
From Scalecrown
The sequel to Starbraze, an original horizontal space shooter for the Commodore 64. Three prototype ships take off from the canyons of Varkonia Prime, through six levels with a boss at the end of each, and out of the station Varkon-Omega before it blows up.
From Starbraze II
Starbraze II for the Amiga 500, in 68000 assembly. The side-scrolling shooter of the Varkon war, with three ships and six bosses, Copper colours, enemies drawn by the Blitter and Paula's samples.
From Starbraze II
The dungeon explorer of Cryptmorrow for the MSX1, on a 32 KB cartridge. Sixteen rooms beneath the hill of Morrow, keys and locked doors, skeletons and bats, three seals and the portal of the Moss Gate, with music on the PSG.
From Cryptmorrow MSX
How the books are made
No picture is drawn in an image editor. Every listing is assembled, run in an emulator and captured, the broken ones included.
Cycle counts, colours, timers and frequencies come from programs written to measure them, not from memory or from another book.
Each book starts before the first byte — binary, hexadecimal, the tools — and ends with complete games and demos.
Every program is on GitHub with a script that assembles everything again and checks it byte for byte.