Retro Porting Toolkit · The classics, rebuilt to run anywhere

Sega Genesis

68000 · 2026

The Sonic family running as native code, with netplay, 2-player split-screen, and an experimental recompiler for the Z80 sound chip riding along.

SegaGenesisRecomp turns Genesis games from Motorola 68000 machine code into C, and brings an experimental static recompiler for the Z80 sound processor along for the ride. Generated C is deliberately kept out of git, and there is no emulator core hiding underneath. The project's own status table lists the frontend and runtime as "Active" and the Z80 recompiler as "Experimental".

What works today

Three game repos are released: Sonic the Hedgehog, Sonic the Hedgehog 2, and Sonic 3 & Knuckles. Per-game configuration directories exist for seven titles across the Sonic family plus Puyo Puyo and Rocket Knight Adventures bring-up. When static dispatch misses, execution falls back to a clean-room Tier-3 interpreter.

Enhancements

Opt-in 16:9 widescreen injection, netplay integration in the runner with a netplay submodule, 2-player split-screen for the Sonic family, and a "verified-enhancement shadow" audio/video layer that is off by default.

Games

Reading

SegaGenesisRecomp distributes no ROMs and no game-derived generated code; every game builds from your own legally dumped cartridge.

Links