Files
courier-emu/artifacts
Cryan209andClaude Opus 5 e423b26913 Map the CPU port-space output latches from hardware
The ATGLK2 monitor's O selector writes I/O ports, so the three output
latches at 0x10, 0x12 and 0x14 are drivable from the AT interface. Record
what they do, established by strobing single bits on the 20.16 MHz unit
and watching the front panel.

Port 0x14 is the panel, active low: CD, CS, AA, ARQ, HS and SYN, with one
driven bit that shows nothing. Port 0x12 carries MR and a bit that reaches
the analog path audibly. Port 0x10 must not be written at all: its bits 3,
5 and 6 are the serial EEPROM's data, chip select and clock, driven by
direct out instructions that bypass the latch helpers, so a scan of helper
call sites does not see them.

Two things the mechanism forces on any user of O. The latches are
write-only and shadowed at 0x30e..0x311, so a single-bit poke has to be
composed from the shadow, and O is a bare out rather than a
read-modify-write. It also does not update the shadow, so the firmware
will not restore a bit left flipped.

Probing port 0x14 bit 2, the one bit on that latch with no located driver,
moved none of the 256 ports and left the bank byte-identical afterwards.
That is a null result about feedback, not about function: a bit routed to
a DSP pin or a lamp would not appear in the peripheral bank either.

This is the first write of any kind sent to a physical unit here, which
supersedes the standing claim that only reads had been issued.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 19:48:27 +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-rom-probe-v1/, dsp-rom-transport-v*/ Offline probe and transport builds; 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.