# Documents Read in this order. | Document | What it holds | | --- | --- | | [start-here.md](start-here.md) | The DSP16A as a core author needs it: DSP16 against DSP16A, the XAAU, YAAU and DAU with every register and `auc`/`psw` bit, memory spaces, reset, interrupts, the cache, the random bit, what the core owns | | [instruction-set.md](instruction-set.md) | Formats, the T field, the F1, F2, CON, Y, Z, R, B tables, statement rules worth a test each, which classes the QSound program executes | | [timing.md](timing.md) | Cycles per instruction class, the cache rules, the measured agreement between MAME and the manual (0 differences in 805,331 instructions), the 1,245-cycle sample period, serial and parallel timing | | [peripherals.md](peripherals.md) | The parallel unit (`pioc`, the latent read, strobes, passive mode) and the serial unit (`sioc`, `srta`, `tdms`, SADD), what QSound sets, how finely to model them | | [undocumented-behavior.md](undocumented-behavior.md) | C1-C10 contradictions and U1-U21 unknowns, each with sources, tiers and the core's default | | [qsound.md](qsound.md) | For the CPS boards: the parts, the program image and its provenance, the host port, the program's register file, sample ROM addressing, the output path, the census, the speed estimate | | [validation.md](validation.md) | Every oracle with tier, pin, licence and what it can and cannot decide; what does not exist; the rung plan in short; what no judge decides | | [mame-oracle.md](mame-oracle.md) | The verified MAME 0.285 recipe (the `vgmplay` route to the low-level device), reading its traces, what was measured | | [handoff-brief.md](handoff-brief.md) | The task for the build session: scope, names, the boundary, the callback contract, the ladder of rungs with exit tests, speed, **Open decisions for Aubrey** | | [phase0-status.md](phase0-status.md) | The record of Phase 0 (two sessions) | ## Findings made while gathering (2026-11-11 and 2026-11-12) 1. **The QSound program's loop is 1,245 machine cycles (24,096.39 Hz), not the 1,248 (24,038.46 Hz) every emulator quotes.** MAME's own low-level core runs it in 1,245, and charging every one of 805,331 traced instructions by the AT&T manual's rules gives the same count with zero per-instruction differences, with and without host commands. The 1,248 traces to one comment (C1). 2. **The dump is 12,288 words; the chip documents 4,096.** The decap (MAME commit `08d07f5917`, 2017) found three times the documented ROM on the die; the upper 8K words are zero, and MAME loads 4K and ignores the rest (C6). 3. **The DAC's word select is PSEL latched by SADD** (a traced CPS-2 schematic and jotego's captures), not MAME's OSE guess; the `pdx1 = 0` writes set PSEL for the right channel, and every `pdx` write also latches the sample address (C4, C5). 4. **The bank register's one-read latency is the board's CKO-clocked address latch** catching AB from the previous external read (qsound.md, U19). 5. **Neither the DSP16 nor the DSP16A has a timer or a power-down mode**; those belong to the later DSP1610 family. 6. **Only `vgmplay` can run the low-level device in MAME 0.285**; all 388 game machines use the HLE. FinalBurn Neo's and libvgm's QSound are the same superctr HLE, not independent detectors. 7. **No hardware-tier oracle for the instruction set exists**: no AT&T assembler or simulator, no per-instruction corpus, no die model. Hardware material is the ROM itself and two logic-analyser screenshots.