Files
courier-emu/docs/24187300.PDF
T
Cryan209andClaude Opus 5 86f9221864 The hardware sends nothing to arm a detector: five words in a whole dial
Board runs coop-int0-cells-01 and -02, live 403, bare ATD on a connected line
that found dial tone and ran on to NO CARRIER. Same INT0 hook, but sampling RAM
cells instead of ports: the handler caches the word it is about to hand the DSP
at [0x183]/[0x184] before writing 0x58-0x5e, and a co-resident mov al,[imm16]
cannot disturb a cached word the way an `in` disturbs a mailbox lane.

    -01 non-wrapping  first 0.80 s, the seizure          7f3f x1917  013f x3
    -02 wrapping      last 0.80 s, after dial tone       7f3f x1918  013f x2

0x7f3f is the handler's own idle sentinel, so it means nothing to send.
Everything else the supervisor put on the mailbox across an entire dial is
0x013f, five words, in single-interrupt blips - no burst at the seizure, none
when dial tone was found, none entering the carrier wait.

-02 also reconfirms the rate independently: 8,680 interrupts over 3.62 s is
2,397.8 Hz against the 2,401 measured before, which is 0.1%.

So the supervisor does not arm anything, and the hypothesis from the previous
commit - that a detector must be told to listen and our supervisor gives up
before telling it - is wrong in both halves. There is no arming command on the
board, and the harness already sends the same traffic: six words on the failing
ATX2 dial, five 013f and one 1500.

The CPU-to-DSP direction is therefore faithful and is not where the dial tone is
lost. What tells the supervisor dial tone was found travels DSP to CPU - the
direction whose 20 ms cadence was measured earlier and which nothing consumes.

Which leaves one gap, and it is in the resident rather than the plumbing: the
real 3.1.2 hears dial tone and its board proceeds, while the emulated 3.1.2,
given a known tone with everything else held identical, says exactly what it
says to silence. That is a question about the C52 core and the resident's
detector, not about the mailbox.

Also fixes a number this run produced and I nearly published: with --no-wrap a
filled ring stops counting, so seen/elapsed is capacity over the whole run and
not a rate at all - it read 531.9 Hz for a board measured at 2,401. A rate is
now reported only where the count is real, and a note says why when it is not.

44 tests green.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-09 11:46:05 +12:00

3.1 MiB