MAX DUO Pokémon Toolkit GitHub

Home / Lab notebook

Session 33 - automatic follow-ups (28 November 2026, 15 –00, run remotely by Claude)

Rendered from lab/sessions/session33/README.md in the repository.

All read-only, no one at the console. Scripts from tools/probes/session33.py; results in summary.md.

  • A lone F0 at 0x5555 takes the Sanyo chip out of ID mode; the cartridge report run straight after is clean ("consistent with a genuine cartridge"), so session 32's reproduction warning was the stuck chip.
  • Open bus: 8- and 16-bit reads return the address bits by halfword (odd byte = high half); a 32-bit read repeats the low halfword. Same with the DUO or the game mapped.
  • The header overlay's zeros also appear in the flash's mirror (the image is blank there anyway), but the mapping register does not: 0x0808009C reads 00 00.
  • ID mode survives remapping the cartridge out and back; the chip still sleeps until a ROM read.
  • 32 scattered reads at each of 16 wait states: no errors, DUO flash or game ROM (the 2-cycle fault seen in sequential checksums didn't show at these addresses).
  • The decoded control registers didn't change over about 2 s.
  • Three restarts, 16 header reads after each: no garbled bytes.
  • 16 KB of nearly blank flash took 2.7 s in all (compressible data is cheap).

Fixes made from this: the lab probe now ends ID mode with a lone F0; the cartridge report recognises a chip answering with its ID; the simulator models the control-area layout, LINK_IN's idle bits, LINK_OUT's read-back, the Sanyo exit, the ID pattern and 32-bit open bus (tools/probes/behaviours.py: 21 of 39 behaviours now checked against hardware; sim_vs_hw.py: 1,261 of 1,266 comparisons agree).