Skip to content

m0boy 0.10.29 — save states on the Sega cores, USB bootloader entry, a real fast-forward

Choose a tag to compare

@r043v r043v released this 20 Oct 23:58
· 426 commits to main since this release

The Sega cores gain save states, the menus gain a direct USB bootloader entry, the fast-forward actually gets faster, and the audio path becomes a build-time choice. Version française : README.fr.md.

  • Save states on the Sega cores (meta_state.cpp generalised, gg_state_io): the machine as raw bytes plus in-RAM cartridge RAM, pointers re-anchored and slots rebuilt on load (gg_remap). Menu lines Etat / Sauver l'etat / Charger l'etat over the card's <NAME>.ST8 file (compile.sh creates it, 10 slots). Host validation: a 600+600 resumed run is byte-exact against 1200 straight (same cycles, pc and run_hash; one stats counter moves by one). The host harness takes --save-state / --load-state — a save state plus --coverage turns your own play into the flash pool's profile (the first device report: a laggy spot ran at 49 fps with 9 card sectors read per frame; those sectors now enter the arbitration).
  • Bootloader USB in every menu: the sam-ba magic at 0x20007FFC and a software reset — reach the bootloader from a RELEASE=1 firmware, without META_USB and without the loader detour (double reset opens the loader, not sam-ba).
  • Vitesse fixed: fast mode drew every frame, putting the LCD bus in each one — slower than the paced mode. It now runs free and draws one frame in thirty.
  • Audio: META_AUDIO_DMA selects the path at build time (0, the TC4 interrupt, is the default); the run-time switch and the menus' Audio line are gone (0.5 % of the CPU, DMAC erratum history). The menus' SPI ecran line is gone too: the display SPI always runs at the most the clock tree gives.
  • META runtime 0.10.29, Pokitto 0.10.23: rebuild your games (compile.sh does it on the next run). tests/test_gg_e2e.py green end to end; a Game Boy firmware build checked.
    The archive m0boy-0.10.29.zip is the repository tree at this tag (no ROMs, no built firmwares); it was validated by extracting it, building it with BUILD_TESTS=ON and running ctest.