Files
courier-emu/artifacts/coop-sampler-01
Cryan209andClaude Opus 5 cb9b2701aa Build the cooperative timer-0 sampler; the firmware survives it
courier_emu.cooperative_probe. A 54-byte ISR on vector 8 - save flags and
registers, bounds-check a ring pointer, in/store per port, EOI as the handler
it replaces, iret - so the supervisor keeps running underneath and keeps
feeding its own watchdog. No watchdog manipulation, and no need to know which
pin WDI is on: timer 0's own handler is mov [0xff02],0x8000 / iret, so hooking
it displaces a no-op.

Measured on the board: armed 9.3 s, AT answered on all eight probes, and a
sentinel outside the image survived - no reset, which is the whole claim. 1902
samples at exactly 200 Hz reading ff/ff/fd/ff, matching asic-port-map.md's idle
column, so the ISR reads the ports it thinks it does. Idle board, so this
demonstrates the instrument rather than finding anything.

Corrects an overstatement from the previous turn: a CPU-side ISR canNOT sample
DSP-internal 0x0390 during a call. That cell is behind the mailbox, and the
resident's 121-entry dispatch table has no handler that reads an address and
mails it back (scanned in IDSDL302.ROM). The dsp-at10-01 caveat stands.

Default port set is the status/handshake group only: reading the mailbox data
pair or the 0x60/0x62 stream may consume words the firmware is waiting for.
0x10/0x12/0x14 are refused. Disarm is mandatory - nothing resets this board.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 17:30:49 +12:00
..