mirror of
https://github.com/D-Modem/courier-emu.git
synced 2026-11-28 20:38:07 -08:00
Three times now a chase has ended at the same thing: a block keyed to an
address in the XMF payload's range, doing nothing at all for the board
firmware, failing silently. The serial ISR-exit blocks, carrier-detect-override
on the front-panel button, and the DAA detector byte. tools/xmf_only_sweep.py
puts every candidate in one list instead of waiting for the next chase.
The rule it applies is that the payloads load at 0x40000 and the ROMs at
0x80000, so a literal in [0x40000, 0x80000) is unreachable from a ROM run.
110 such lines in machine.py, a handful in panel.py and daa.py.
Most are correct and the sweep cannot say so on its own - the XMF supervisor
has boot, delay, serial and callback quirks a ROM does not share, and the bulk
are already gated behind _payload_hooks on purpose: milestones are {} for a ROM
with a comment saying why, _serial_started follows the same flag, and the ROMs
reach their DTE through the ff60 serial unit instead. Reading the list is the
judgement the tool does not make.
Against that, one functional gap survives: [0x649] is published only at
0x5DB9D/0x5DBE7, so a ROM dial answers NO DIAL TONE while the DAA sits fully
qualified. machine.py line 1327 shows the shape that would have avoided all
three - an XMF address named alongside its ROM counterparts in the same test.
Also recorded: ring detect is derived from 0x70fb4 and the DIP_SWITCHES
descriptions all cite XMF addresses. Those are unverified against a ROM rather
than known wrong.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>