← Ports & remakes
Port (decomp) Playable Stalled · 1 year

Sonic the Hedgehog (s1-port)

Game: Sonic the Hedgehog → (Mega Drive / Genesis, 1991)

A C port of Sonic the Hedgehog for the Mega Drive (revision 1), still a work in progress. The core code (graphics management, object-to-level and object-to-object collision, level-specific code), all game objects, including Sonic’s, and the sound driver, with code from CKDEV’s (used with permission), have been ported. A program generated “nearly-correct” C from the ROM’s code, using a symbol map from a disassembly, and it was then fixed by hand. It runs on Speedshoes, a minimal Mega Drive emulation framework the author wrote, which intercepts the 68000’s subroutine calls and compares the C side’s state with the ROM’s. Horizontal-blank handling is missing, so tile drawing is corrupted when demos are interrupted and when Labyrinth Zone’s water surface is onscreen. The June 23, 2025 test release is a public alpha for Windows x64 with an experimental widescreen mode, playable from start to finish. The repository includes the C code generated from the ROM and fixed by hand (about 2 MB) and an assembly listing of about 7.5 MB (sonic.lst).

You needA ROM from your own copy of Sonic the Hedgehog (Mega Drive), revision 1 (REV01), named sonic1.bin and placed next to the executable, from which the data is read. Plus 64-bit Windows.

How it gets to PC
Port of a decompilation
Console
Sega Mega Drive / Genesis
Original studio
Sonic Team
Year
1991
Author
foreverWIP
Stars
35
Last activity
2025-06-23 · 1 year ago
Language
C
View repository ↗
m68kplatformerwidescreen

Other projects for Sonic the Hedgehog

2