Cryptmorrow · the code

Every step of the game

93 sources and 40 programs, in folders named exactly as the book names them. Free to use in your own work, commercial or not, under the MIT licence.

Build and play

You need 64tass (assembler), VICE (emulator (x64sc)) and Python 3 (build, tests and verifier). Open a terminal in the folder and type:

x64sc -pal -autostartprgmode 1 -joydev2 1 -autostart releases/cryptmorrow-1.0.1.prg

Check everything

From the top folder of the full download, this assembles every source again and compares the result with the reference bytes:

python verify.py
  • Joystick in port 2; -joydev2 1 puts it on the numeric keypad: 8, 2, 4 and 6 move, 0 is Fire.
  • Each step folder in chain/ has its own copy of every source and tool it needs, and builds on its own. variants/ holds the 22 experiments of the book, each with a README.
  • Built with 64tass 1.60.3243 and tested in VICE 3.10 on a PAL C64 with a 6581 SID.

Chapter by chapter

Ch.TitleFolderDownload
1Your workshopchain/01-first-room/chain-01-first-room.zip 68 KB
2Memory and the VIC-IIchain/01-first-room/chain-01-first-room.zip 68 KB
3The tile enginechain/01-first-room/chain-01-first-room.zip 68 KB
4Text, torches and the framechain/01-first-room/chain-01-first-room.zip 68 KB
5The explorerchain/02-explorer/chain-02-explorer.zip 70 KB
6The dungeon and the HUDchain/03-dungeon/chain-03-dungeon.zip 73 KB
7Objects, doors and the portalchain/04-objects-doors/chain-04-objects-doors.zip 78 KB
8The enemieschain/05-combat/chain-05-combat.zip 82 KB
9The blade and the damagechain/05-combat/chain-05-combat.zip 82 KB
10The SID and the musicchain/06-sound/chain-06-sound.zip 87 KB
11Effects and sound modeschain/06-sound/chain-06-sound.zip 87 KB
12States, title and end screenschain/07-title-and-ends/chain-07-title-and-ends.zip 93 KB
13Packing, loading, measuringchain/08-complete/chain-08-complete.zip 93 KB
14Reading and checking the gamechain/08-complete/chain-08-complete.zip 93 KB
15Glossary and index—
Everything else in the repository
chain · the whole folder, every stepchain/chain.zip 656 KB
chain/readmechain/readme/chain-readme.zip 6 KB
gamegame/game.zip 90 KB
referencereference/reference.zip 249 KB
releasesreleases/releases.zip 25 KB
teststests/tests.zip 83 KB
toolstools/tools.zip 62 KB
variantsvariants/variants.zip 2.2 MB

Packed on 2026-10-08 from the repository. Every zip contains the licence.