Files
courier-emu/tools
Cryan209andClaude Opus 5 33c7b2f378 Pin the DSP load base and correct the DX-form claim
The supervisor does write to the DSP, and the DSP's program is not resident in
it: flash holds the datapump and the supervisor downloads it over the port bank
at every boot. That is how a feature like V.90 shipped as a firmware update.

Document the write path from the call site at 07507. e47b sets ES=a908
(flash 0x29080), sends four words through 40..4e and four through 50..5e with
strobes on 0x18, then submits the e447 checksum and polls for acceptance. What
the port map called bootstrap windows A and B is one 8-word write channel to the
DSP, handshaked on 0x18.

The call site pins the load base, which courier_firmware_analysis.md recorded as
an open hypothesis. Source flash 0x29080, length 0xd87c bytes (27,710 words),
entry requested at DSP word 0x8000, giving

    flash_offset = 0x29080 + 2 * (dsp_word - 0x8000)

Two independent checks agree: the DSP reset code already sits at 0x29080, and
the resident sender at words 83d6..83ff maps into the separately identified
[0x29080,0x29880) startup region. The older 0x29800 + 2*prog hypothesis is
discarded.

This narrows the dump goal. The datapump is already in hand as flash
0x29080..0x368fc; only the DSP's internal boot ROM below word 0x8000 remains
unrecovered.

Also correct an error. The claim that the DX form is never used for board ports
was wrong: the consensus boundary test rejects genuine instructions preceded by
short or irregular code, and discarded `mov dx, 0x40` at 0e3ad in the downloader
itself. Restore the four-vote threshold, record that absence from the scan is
not evidence of absence, and enumerate what the DX form actually reaches
(0x16, 0x18, 0x1c, 0x40). None lies in 0x64-0x7e, so that conclusion stands, but
it now rests on the raw-byte refutations and is qualified: DX is also loaded from
memory at 0e515, which static inspection cannot bound.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 00:37:03 +12:00
..
2026-09-01 10:48:05 +12:00
2026-09-01 10:48:05 +12:00