Build a complete MSX game in Z80 assembly, one playable step at a time
Under the hill of Morrow lies a crypt of sixteen rooms. Torches burn in halls green with moss, skeletons still guard the corridors, bats wait in the dark, and three seals open the portal of the Moss Gate. Cryptmorrow MSX is the dungeon explorer of the Commodore 64 and ZX Spectrum books, made again for the MSX1: its Z80, the Screen 2 of its VDP, its hardware sprites and its PSG. This book shows you how to build it yourself, from the first room on the screen to a playable 32 KB cartridge with its title, its music and its endings.
The complete game is yours. The companion repository holds the full source code under the MIT licence: the finished game, the eight steps of the book, 22 ready-made experiments, the tests and the tools, with a script that rebuilds every cartridge byte for byte. The game is also there ready to play, as a cartridge image.
All you need is three free programs: the sjasmplus assembler, the openMSX emulator, which comes with the free C-BIOS, and Python. No MSX ROM is needed.
Cryptmorrow MSX is the first volume of the MSX Game Manual Series, where every book stands alone and brings an original game to life. Switch the machine on, take the blade and find the three seals.
Inside the book
- Sixteen rooms beneath the hill of Morrow, seen from above: an atrium of seven rooms and three zones of three, drawn from tiles in Screen 2
- An explorer drawn with the hardware sprites of the VDP, who walks, stops at walls and fights with a blade
- Keys and locked doors, treasures and potions, and three seals that open the portal of the Moss Gate
- Skeletons that patrol and bats that give chase, with blows, damage and the end screens
- Music and sound effects on the PSG, with a MUSIC, SOUND FX or SILENT menu
- A title in big letters, the arrow keys and the space bar or a joystick
- A 32 KB cartridge that starts by itself when the MSX is switched on