<!-- Canonical page: https://reversedwithai.com/p/sonic-the-hedgehog-genesis-static-recompilation-claude -->
Canonical page: https://reversedwithai.com/p/sonic-the-hedgehog-genesis-static-recompilation-claude

# Recompiled Sonic the Hedgehog (Mega Drive) to native code with Claude

> A Sonic 1 native port built from the game's recompiled 68K routines, with Claude.

121 of 285 commits carry Claude Opus 4.7 trailers. The runner turns the original 68K routines into C and runs them on a clean-room Genesis backend.

## Key facts

- Target: Sonic the Hedgehog (Mega Drive)
- Category: Games and mods
- Platform: Genesis / Mega Drive to Windows
- Models: Claude Opus 4.7
- Tools: segagenesisrecomp, ymfm
- Outcome: Works
- Checks: Source available: yes; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [mstan](https://github.com/mstan)
- Added: 2026-11-16
- Updated: 2026-11-16
- Sources reviewed: 2026-11-16 (automated reviewer)

## What was done

Sonic the Hedgehog Recompiled Runner is the game runner for the Genesis 68K static recompiler. The original 68K game routines are generated as C and run on a clean-room Genesis backend with VDP, bus, Z80 scheduling and ymfm audio. 121 of 285 commits carry a Claude Opus 4.7 trailer, and the repo has AGENTS.md and CLAUDE.md.

### How it was done

The README lists support for the original game routines, levels, bosses, music and effects, with optional adaptive widescreen and high-refresh presentation. A TCP debug server is available in development builds only and is absent from production releases.

### Results

Windows builds are released. The verified target is Sonic 1 JUE REV00. ROMs are not included, so the user supplies their own.

## What the commit history shows

121 of 285 commits in the public repository credit an AI, over 29 days between 2026-03-26 and 2026-07-27. Credited: Claude Opus 4.7 (74), Claude Opus 4.8 (25), Claude Fable 5 (10), Claude Opus 4.6 (8).

Measured by this site from public git history.

## Sources

- [Repository](https://github.com/mstan/SonicTheHedgehogRecomp)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: mstan (2026). Recompiled Sonic the Hedgehog (Mega Drive) to native code with Claude. Reversed with AI. https://reversedwithai.com/p/sonic-the-hedgehog-genesis-static-recompilation-claude
