Repository navigation
Releases
m68k-recomp-core v0.1.1
Fix Genesis code generation for functions that consume or move return addresses, including conditional exits, saved-register epilogues and reconstructed stack frames. Indirect calls infer skipped returns only from forward movement through complete return slots. Unknown exits and incomplete proofs keep the conservative fallback.
Validation: all five core suites pass, including 64 proof checks, plus 39 real generated-C executions. The reconstructed-frame case fails before the guard and passes with it.
Source SDK release. Matching Genesis compiler and game packages are published separately. No ROM or generated game content is included.
v0.1.0 — source SDK
Initial source SDK release of the shared 68000 recompilation core. The Genesis profile now balances explicit guest stack movement in bytes before counting skipped return addresses. Two word pushes followed by a longword pop no longer create a false early return, fixing the reproduced Sonic 3 IceCap column failure.
All 12 real-generated-C ordinary/mixed-width, split/unsplit, zero/one/two-return cases pass with GCC on both qualified Genesis profile revisions. MSVC game builds pass the reproduced IceCap checks and all 32 Sonic 3K stage selections at 32:9. Existing SCC68070 work is preserved; those upstream changes are outside this Genesis qualification.
This is a source release, not a game executable. Use the source archives below or clone the exact tag. Consuming projects retain their qualified profile pins, including the separately published legacy Genesis backport. No ROM is distributed.
Source: e9ebf608933969903edd80ac0b79d41ddb2f013e; changes: #3.