Files
courier-emu/docs
Cryan209andClaude Opus 5 04ac9689de Document the DSP load path, overlay map and mailbox protocol
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>
2026-09-05 02:29:43 +12:00
..
2026-09-05 01:41:54 +12:00
2026-09-01 10:48:05 +12:00
2026-09-05 01:41:54 +12:00