Repository navigation
Releases
v0.0.1: Catacomb Abyss for Sega Master System: initial port using Arena.
Full Changelog: https://github.com/haroldo-ok/catacomb-abyss-sms/commits/v0.0.1
Here is a player- and developer-friendly overview of The Catacomb Abyss for the Sega Master System:
💀 What is The Catacomb Abyss (SMS)?
The Catacomb Abyss for the Sega Master System is a complete 8-bit port of Softdisk's classic 1992 3D dungeon crawler, built using SDCC 4.4.0 and devkitSMS. Derived from the open-source GPL release and built upon the Sega Genesis/Mega Drive port architecture, it fits all 19 original levels, monsters, items, sound effects, intro cutscenes, and electronic catalog screens onto a 3 MB cartridge (188 × 16 KB banks) with 32 KB battery-backed SRAM.
📜 Key Features & Completeness
-
100% Campaign Content: Includes all 19 original shareware levels, level texts, monster types, items, keys, and environmental hazards.
-
Complete Front-End & Story: Features the original intro screens ("Prepare to enter the CATACOMB..."), "Novice or Warrior?" difficulty prompt, story text, electronic catalog pages (DEMOCAT), and game-over/win closing art.
-
3D Raycasting Engine: Renders a 224 × 80 viewport (56 cast rays using 4-pixel-wide scaled wall columns) at roughly ~4 FPS on native Z80 hardware, with game logic stepped separately to maintain full game speed during rendering drops.
-
Full Audio & Save State Support: All 34 original sound effects synthesized for the SMS PSG chip, alongside 3 save slots stored in battery-backed SRAM.
🕹️ Controls
Title Screen & Menus
| Button | Action |
|---|---|
| Button 1 | Start New Game (At difficulty prompt: Button 1 = Novice, Button 2 = Warrior, PAUSE = Back) |
| Button 2 | Restore Saved Game |
| D-Pad UP | Open Electronic Catalog (LEFT/UP = Previous Page, any other button = Next Page, Button 2 / PAUSE = Exit) |
| D-Pad DOWN | Open Help Pages |
In-Game (3D Exploration)
| Input | Action |
|---|---|
| D-Pad Up / Down | Walk forward / backward |
| D-Pad Left / Right | Turn left / right |
| Left or Right twice (hold second press) | Quick Turn |
| Hold Button 2 + Left / Right | Sidestep (Strafe) |
| Button 1 | Fire Magick Missile (Hold to charge strong shot) |
| Button 2 (Tap) | Fire Zapper |
| Hold Button 2 + Press Button 1 | Fire Xterminator |
| Hold Button 2 + Press Down | Drink Cure Potion |
| PAUSE | Open Options Menu (Help, Sound, Scrolls, Save/Restore, New, Quit) |
| Hold Button 1 + 2 and press PAUSE | Open Developer Debug Menu |
⚙️ Technical & Build Overview
-
Output Binary:
catacomb_abyss.sms(3 MB ROM using standard Sega mapper + 32 KB battery SRAM). -
Compiler & Toolchain: SDCC 4.4.0 + devkitSMS (
makesms). -
RAM Layout: 16 KB mapped at
$8000for active tilemaps, actor structures, spot visibility, and object lists; second 16 KB reserved for 3 SRAM save slots containing XOR-RLE compressed map delta layers. -
Automated Testing & Profiling: Integrated with
smstestheadless SMS emulator scripts for automated end-to-end testing, visual regression frame dumping, and cycle profiling.