mirror of
https://github.com/D-Modem/courier-emu.git
synced 2026-11-28 12:38:04 -08:00
Diffing the two board captures (7.3.14/DSP 3.0.13 against 7.4.16/DSP 3.1.2) pins the supervisor's DSP loader, because the payload moved 0x29080 -> 0x29140 between them and every constant pointing at DSP code had to move with it. Established: - Segment 0x8000 maps linearly to physical 0x80000, i.e. file offset 0. This retracts the "does not map linearly" claim and the 64 KB RAM model built on it; 84% of far-call targets read as prologues at file == offset against a 41% noise floor, and the most-called are call/retf trampolines. - The loader routines, the 9-entry overlay descriptor table, and the four-image overlay map: resident kernel plus three demand-loaded overlays that exactly partition the DSP payload in both images. - Two transfer engines: out 0x18 strobes for cold boot, out 0x1e for runtime swaps. - The command queue consumer and the 0x58-0x5e mailbox. The 0xff00 word is a frame marker, consumed by the staging logic at [0x289] and never sent; it selects a two-word drainer that emits command and destination as a pair. - The DSP receive side: no port reads in the kernel, mailbox read from MMR 0x57, and a per-build tblr/bacc dispatch table (0x8401 in 3.0.13, 0x83e9 in 3.1.2). Also corrects the DSP word order to little-endian, the part to C5x rather than C25, the x86/DSP boundary to 0x29080, and the unused-region fill to 0xFF, each with the evidence inline. The overlay map supersedes the "automation cannot pin the DSP base" block. Open: what consumes a 0xff00 frame on the DSP side, and the interrupt vector table at program 0x0000, which no loaded overlay supplies. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>