Files
psxrecomp/runtime
Matthew Stanley fee5535870 sio+memory: fix memory-card saves for Tomba 2 (write handshake + RAM-0 store visibility)
- sio: echo sector MSB/LSB during the memcard write address phase
  (new MC_WRITE_LSB_ECHO state), matching hardware/Beetle; the BIOS
  card-write path validates this echo before scheduling the follow-up
  directory reads.
- memory: treat BIOS trampoline-mirror and delay-loop scratch stores to
  RAM 0x0..0x10 as non-visible after game start (hardware/Beetle do not
  expose them), preserving Tomba 2 sector-63 card-management payload
  passed as buffer=0 to _card_write.
- memory: stop the BIOS card-manager cleanup helper (kernel 0x1C5C)
  from re-arming/consuming the public MARK card event between
  DeliverEvent and the game TestEvent poll (narrowly keyed to the EvCB
  layout), which left Tomba 2 stuck at "Checking MEMORY CARD...".
- fntrace: clear the low boot scratch at game-start handoff.

Fix authored by Codex; validated by user: Tomba 2 save/load PASS, plus
cross-title regression gate (Ape Escape, Tomba, Mega Man X6) all PASS,
all built against this runtime.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 23:25:42 -07:00
..
2026-07-08 00:29:04 -05:00
2026-07-09 14:43:05 -05:00