mirror of
https://github.com/D-Modem/courier-emu.git
synced 2026-11-28 12:38:04 -08:00
The core no longer hard-codes 2.1/2.2's c418: Bridge._v8_dispatch_addresses finds every copy of the dispatcher by signature over the resident bank and each declared overlay, and set_v8_dispatch_pcs hands them to the core, which now also reports which one fired as v8_dispatch_pc. _find_call_overlay requires the candidate to be pre-linked for the destination - first branch target == 0xc418 + 0x0d. 2.1/2.2's stored copy satisfies it; the self-linked resident copies on 302/403 do not, so nothing is published there any more. Measured on a 403 linked pair against the old behaviour as a control: every V.8 number identical, only call_overlay_available moves, so the gate changed nothing observable. The dispatcher does run, at 0xba0b, 22,471 times - but @48, @4a and @4d are all zero, so every entry branches to program 0, and v8_rx_peak and the audio rms are zero on both sides in the baseline too. Artifacts in artifacts/v8-dispatcher-403-01/. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>