Files
courier-emu/native
Cryan209andClaude Opus 5 797ed28378 Delete the harness tone generator; the DSP is the whole audio path
The core carried hand-written sin() in C++ that stood in for the datapump's
DAC output: a DTMF pair generator, a 1300 Hz V.8 calling indicator and a
2100 Hz ANSam approximation, armed from the bridge through set_dtmf_digits
and gated by set_synthetic_line. While it ran it also *discarded* the C52's
own DAC accumulation to make room, so the assist did not merely supplement
the firmware, it displaced it.

It is gone. dtmf_sample(), m_dtmf_digits, m_synthetic_line and the three
substitution sites (the 0xb2e5 write guard, the call-TDM V.8 branch and the
idle branch) are removed, along with the C API exports, the Python bindings
and the bridge's arming calls. V8Mode stays: the role still gates the
receive-side indicator qualification, which observes the line rather than
driving it.

Nothing is lost on the image that matters. Rerunning the 3.0.13 capture with
the generator deleted produces line audio byte-identical to the reference
(sha256 ccad9c62...), and decoding it independently at 7200 Hz returns
5551212 - the number the firmware was asked to dial. The C52 was already
doing the work; only the stand-in's presence obscured that.

The three tests that covered the generator went with it. They asserted on
main211, which is not modelled well enough to be a behavioural reference.
The bridge tests that used core.dtmf as a proxy for reaching the dial phase
now assert on bridge.dial_digits and daa.operation instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 08:27:31 +12:00
..
2026-09-07 19:35:05 +12:00
2026-08-04 13:01:29 +12:00