mirror of
https://github.com/D-Modem/courier-emu.git
synced 2026-11-28 20:38:07 -08:00
The resident bank's callback slot drives a family of oscillators, not just the DTMF pair. 86d1 arms one from an accumulator increment, and its caller at 9f40 passes #4aab with a reversal reload of 0x0ca7: at the dial path's 7200 Hz that is 2100.04 Hz reversing every 449.9 ms - the V.25 answer tone. courier_emu.answer_tone arms the tone with the ROM's own instruction words and runs the same mixer and serial ISR audio312 uses, measuring 2100.0 Hz and a 3200-3264 sample reversal spacing around the counter's 3239. Entering the frame at 80d3, as audio312 does, is wrong for this callback: its BANZ reads the ARP register, which the mixer sets at 80c9, so the counter is never stored and XPL fires every sample. This harness enters at 80c7. ANSam's 15.05 Hz modulation at 8718 is identified but not rendered; its shaping filter wants delay-line state the idle-RAM fixture does not supply. The &T1/&T8 loopback was tried first and does not engage in the emulator. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>