Files
courier-emu/native
Cryan209andClaude Opus 5 f97b451512 Aim the V.8 counter at the loaded image, gate the overlay publication
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>
2026-09-19 12:53:08 +12:00
..
2026-08-04 13:01:29 +12:00