Files
courier-emu/artifacts
Cryan209andClaude Opus 5 fb24e98939 The DSP is a 'C51: 8K of on-chip ROM, measured
The stability test this repository recommended for 'C50 vs 'C51 cannot work. It
expected two reads of 0x0800 to differ on a 'C50 because that is the firmware's
live SARAM scratch, but the probe resets the DSP and takes it over, so nothing is
running underneath to move. It scores every part as 'C51.

What separates them without needing the firmware alive is whether the region
accepts a write: SARAM seen from both spaces is one physical memory, so a write
through data space must read back through program space, and ROM cannot. New
kernel build_memory_test_probe, wired as probe_transport --memory-test, two
patterns per address so a constant cannot pass by coincidence. Run twice on the
25 MHz board, identical both times:

  0x0800  write lands in data space, program space unaffected
  0x1800  same
  0x2400  program space follows the write exactly

With MP/MC=0 and PMST.RAM=1 a 'C50 maps 9K of SARAM into program space over
0x0800-0x2BFF and all three would follow. That split is the 'C51 map instead - 8K
of ROM at 0x0000-0x1FFF winning over SARAM in program space, writable memory
above. The same kernel run against the emulator fixture, which maps a 4K ROM at
0x0000-0x0fff, reports the opposite split, so a null result would have shown.

MP/MC has now been read directly, discharging the caveat on every ROM reading
here: PMST is 00b0, so MP/MC=0, microcomputer mode - the opposite of the MP/MC=1
that board.md and board-parts.md assumed. PMST also has RAM and OVLY already set
on entry, so the opl @07,#0030 in every kernel has never changed anything.

The remaining three quarters of the ROM are now read. The full 8K is mostly
unprogrammed: 1920 words of boot code at 0x0000-0x077F, a 128-word mailbox block
the mask carries twice at 0x0F80 and 0x1F80, and 6016 words of a 32-word
FFFF/0000 array pattern. 0x0780-0x07FF is that same pattern, so the old 2K
capture ran off the end of the programmed part rather than stopping at a
boundary.

The memory-map rows in board.md are left flagged rather than reworked: they were
written against MP/MC=1 and a 2K ROM and both are now known wrong.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-13 21:51:46 +12:00
..
2026-09-07 02:24:30 +12:00
2026-09-09 14:26:28 +12:00
2026-09-09 14:26:28 +12:00
2026-09-09 14:26:28 +12:00
2026-09-07 01:48:27 +12:00
2026-09-07 01:48:27 +12:00
2026-09-07 01:48:27 +12:00
2026-09-07 01:48:27 +12:00
2026-09-07 19:35:05 +12:00
2026-09-09 21:45:23 +12:00
2026-09-09 21:45:23 +12:00
2026-09-11 19:25:28 +12:00
2026-09-11 19:25:28 +12:00
2026-09-07 19:35:05 +12:00
2026-09-07 19:35:05 +12:00
2026-09-09 21:45:23 +12:00
2026-09-10 16:59:12 +12:00
2026-09-06 18:31:55 +12:00
2026-09-05 01:41:54 +12:00
2026-09-09 21:45:23 +12:00
2026-09-09 21:45:23 +12:00
2026-09-09 21:45:23 +12:00
2026-09-09 21:45:23 +12:00

Capture artifacts

Primary evidence from the physical Couriers and from the offline probes. Each capture directory keeps its own manifest.json recording acquisition details, hashes and assumptions; treat that file as the authority for what a capture is.

Directory Contents
courier-board-21210-capture-01/ Full 512 KiB CPU flash window read from the 20.16 MHz board, plus its audit and the recovered-handler check
courier-board-21210-ram-01/ Two live passes over physical 00000..0feff
courier-board-21210-upper-ram-01/ Two live passes over the 10000..1ffff window
atg-monitor/ The first two hand-run ATGLK2= page reads and their comparisons
io-port-map/ ATGLK2B port-space sweeps from two units, and the static IN/OUT scan output
dsp-port-sample-01/ Repeated reads of DSP reader ports and the 0x64-0x7e block from the 20.16 MHz unit
dsp-mailbox-write-01/ First host-to-DSP mailbox write attempt. It wrote the four data registers with no commit on 0x1c and observed nothing; kept as the negative result the protocol work explains
dsp-mailbox-queue-01/, dsp-mailbox-queue-02/ Host-to-DSP ring seeding with the commit edge, and the discriminators in queue-01/followups/ that keep its one observed change unattributed
dsp-mailbox-command-01/, dsp-mailbox-command-02/ The repeatable host write: null-control and query tags, every inbound-register prediction fixed from the disassembly beforehand and held
dsp-mailbox-312-comparison-01/ The 07, 2d, 62, 07 sequence on the DSP 3.1.2 board, replayed offline through that firmware's real dispatcher and sender, with seven flash pages verified byte for byte first. The 62 reply differs - hardware 0015, emulator 0012 - and is kept visible rather than fitted
dsp-window-pump-01/ Tag 06 armed and pumped; the channel responds, but its sources are empty on an idle unit
dsp-window-pump-02/, dsp-window-pump-03/ Tag 46 pumped: sixteen words, the first four DSP program memory matching the flash image at addresses predicted beforehand. The table they come from is the V.34 carrier and symbol-rate table, so the window reports which of the two the datapump is using
dsp-window-pump-312-01/ The tag 06 window on the 3.1.2 board: seven words, all zero on an idle unit, with 1c bit 2 marking the sequence length. The run that re-derived the 7.4.16 chain vector [0x01cd] and confirmed it live
dsp-window-index-01/ Tag 48 writing ffb1 all-ones before arming tag 46: the index stays 0, since the other AND terms are call-setup state
dsp-window-stream-01/ The 0x60/0x62 chain's live state, and tag 06 shown to arm the DSP streamer without emitting
audio-312-01/ All 16 DTMF pairs rendered by DSP 3.1.2's own selector, oscillator, mixer and serial ISR, with per-digit spectra, PCM hashes and serial counters, plus the five flash pages read back from the board that match the captured ROM. The WAV is .gitignored and regenerated by the command in docs/audio-312-path.md. Its 7200 Hz rate is inferred from the phase increments, not measured
audio-312-hardware-01/, -02/ Two attempts to place a call to an Asterisk echo test in order to record a physical waveform. Neither raised a channel before the bounded timeout; both were aborted, followed by ATH and a successful AT. Nothing was recorded and no PBX configuration changed. Kept as the negative result that leaves the physical comparison outstanding
dil-alaw-01/ A V.90 DIL sent downstream in answer to this Courier's own Ja, in G.711 A-law. 197 segments x 66 symbols, and every segment carries the level of the Ucode the firmware generates for it. Supplied by the user, not produced here
dil-ulaw-impaired-01/ The same DIL received with impairments applied: a 6 dB digital pad and additive noise, signs intact, flat across all six data-frame intervals so not robbed-bit signalling. Scored by courier_emu.vpcm.score_dil
host-ram-rate-01/ Timed re-reads of the host RAM pages that move on an idle unit, with a rate fitted to every 16-bit cell. One counter, 0x012a at 200.00 Hz - the 5 ms tick. Nothing runs at an audio rate
io-latch-bit2-01/ Port 0x14 bit 2 probe
dsp-rom-probe-v1/, dsp-rom-transport-v*/ Offline probe and transport builds; no hardware involved
sdl-image-extraction-01/ Firmware recovered from the vendor SDL packages in docs/usrdl/: the loaders' 16-byte download-record format and the XMD's XOR 0x55, plus the string comparison showing the Sportster Vi DSVD to be a cut-down Courier. The images are not flash-accurate - record addresses are 16-bit and wrap - and are not tracked; no hardware involved

What is not tracked

Two per-page intermediate directories are excluded by .gitignore:

  • responses/ — one raw serial reply per page request
  • blocks/ — the verified 256-byte pages

Together they are roughly 32 MB across 8,200 files, and everything in them is reconstructible from the assembled images and pages.jsonl, which are tracked.

The consequence is that audit_capture.py cannot run from a fresh clone: it re-parses responses/ and compares them against blocks/. It only works in a working tree that still holds the original capture output. The assembled images, per-page hashes in pages.jsonl, and the final hashes in manifest.json and audit.json are tracked, so the images themselves remain independently verifiable without those directories.