haroldo-ok

Square Doom Sms — Development skill for Claude Code

Development community

A W.I.P. vibe-port of Steve McCrea's Commodore 64 SquareDoom (6502 assembly) to the Sega Master System, written in C + Z80 assembly with devkitSMS / SMSlib.

How to install Square Doom Sms

This entry records only its repository, not the path inside it, so there is no exact command to give. Open haroldo-ok/square-doom-sms and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Square Doom Sms does

A W.I.P. vibe-port of Steve McCrea's Commodore 64 SquareDoom (6502 assembly) to the Sega Master System, written in C + Z80 assembly with devkitSMS / SMSlib. Generated using Claude.

Alternatives in Development

README

SquareDoom — Sega Master System conversion

A port of Steve McCrea's Commodore 64 **SquareDoom** (6502 assembly) to the Sega Master System, written in C + Z80 assembly with devkitSMS / SMSlib. The title screen, menus, logo, weapons and fonts are taken from id Software's **Doom 1.9 shareware** (`DOOM1.WAD`) so the presentation is closer to the original Doom. Everything in the C64 game is converted: all 9 maps (E1M9 is empty in the original data too), the sector raycaster, monsters, weapons, pickups, doors, lifts, stairs, switches, closets, secrets, damage floors, flashing lights, automap, cheats, title / menus / story / credits / ending pages, intermission tally, screen melt, the 18 PC-speaker sound effects and the `e1m1.sid` tune.

`squaredoom.sms` — 1 MiB (53 banks), Sega mapper, NTSC and PAL (auto-detected).

Controls (standard 2-button pad)

Action Pad
move forward / back D-pad up / down
turn D-pad left / right
strafe hold 2 + left / right
use (doors, switches) tap 2
fire 1
next / previous weapon hold 2 + up / down
automap PAUSE
quit to menu on the automap, hold 1 + 2 for a second
restart after death 2

Menus: D-pad moves / adjusts volumes, 1 selects, 2 goes back.

**Cheats** (type on the automap): left, right, left, right, then `1 1 2` god mode (iddqd) · `2 2 1` keys + full ammo (idkfa) · `1 2 2` change level (idclev): up/down picks E1M1–E1M9, 1 confirms.

Building

Needs SDCC + devkitSMS (`setup_toolchain.sh` from the skill), Python 3 with Pillow, numpy and py65, the original C64 sources checked out next to this directory (`../SquareDoom`, or set `SQUAREDOOM_SRC`), and the Doom 1.9 shareware `DOOM1.WAD` in `assets/` (or set `DOOM_WAD`).

make            # converts all assets from the C64 sources, builds squaredoom.sms
make playtest   # runs every headless smstest script in tests/

The build is reproducible (byte-identical ROM from a clean checkout).

How the conversion work