Recompilation · a console game on PC
Snatcher-sega-cd-recomp
by darkuni · github.com/darkuni/Snatcher-sega-cd-recomp
11stars on GitHub
November 12, 2026last update
C++language
MITlicense
What it is
A recompilation of a SegaCD game.
From its README: A static recompilation of Snatcher (Sega CD, NTSC-U, T-95035, Konami, 1994) to native code. Both 68000 CPUs of the Sega CD - the Genesis main CPU and the Sega CD sub CPU - are translated to C++ by src/recomp.py. A runtime that replaces the Genesis / Sega CD hardware (VDP, gate arrays, graphics ASIC, PCM, FM, CD drive and CD audio) is the next stage. Targets: Windows and Linux / SteamOS.
- Disc layout and code map (see NOTES.md)
- 68000 decoder (src/m68k.py), cross-checked against capstone on the game's code and on
- Recompiler v1 (src/recomp.py): function discovery, jump tables, resumable entry points,
- Differential test against the Musashi 68000 interpreter (tools/difftest): random
- Runtime: main/sub memory maps, gate array, CDC DMA, HLE BIOS (CD reads, backup RAM, V-int),
- Boots: both CPUs run, the sub CPU loads 91 sectors and hands over to SUBCODE - all recompiled,
- VDP: ports, DMA (68k incl. word RAM, fill, copy), planes A/B, window, sprites, priority,
- CD audio: play/pause/stop with a real play position (the intro is timed to it), music from the
- RF5C164 PCM chip (voices), sub-CPU timer interrupt (drives the sound driver)
- SDL2 window (4:3, F11 fullscreen), keyboard + controller, 59.92 Hz pacing
- Reaches the title screen and menus
- FM (YM2612 via ymfm), driven from the main CPU; Z80 RAM (the game keeps music data there)
Get it
No release published yet.
Port Tracker never links downloads. Get it only from the project’s own repository and its Releases page; files offered in comments or on file hosts are a common scam.