mstan/smsggrecomp — reverse-engineered prompt

Reverse engineered prompt

Build this into a working early proof of concept that lets me use my own legally dumped Sega Master System or Game Gear Sonic ROM, recompile the game code into native C, and then run it on desktop with graphics, sound, and controller support. Keep the scope honest to what this repo already supports, so focus on Sonic the Hedgehog on Master System and Sonic Blast on Game Gear, and treat everything else as out of scope for now.

I want the shared engine here wired up the way the README describes, with the separate per game repo supplying the game config and build glue. The ROM and generated C should stay local and never be committed. Make it practical to build on Windows, macOS, and Linux if possible, and make sure the fallback hybrid path still works when static analysis cannot resolve a jump.

If anything is unclear, check the README and current docs online, then finish the setup so I can regenerate from a ROM and launch the game locally.

Want more depth? Deep Reverse