# Validation: the oracle ladder per chip, and the board's milestones Tiers: 1 hardware-captured or die-level > 2 manufacturer documents > 3 community documents and tests verified on hardware > 4 HDL reimplementations > 5 emulators. A low tier is a **detector**, never a **judge**. Every source was checked against emulator-lineage `docs/sources.md` on 2026-11-26 (no TI-99/4A rows existed; the TMS9918A rows there apply to the VDP) and every site's robots.txt was read before fetching (bitsavers: empty; whtech: none; GitHub: AI agents allowed with a crawl delay; www.unige.ch: a bot challenge, see below). ## Top tier per chip | Chip / subject | Top oracle in hand | Tier | Notes | | --- | --- | --- | --- | | TMS9900 | TI's data manual and Family Systems Design (machine-cycle sequences) | 2 | ../tms9900-python docs/validation.md; no hardware capture | | Multiplexer, wait states, memory and CRU maps | [CTD], [HCTD] | 2 | timing text + scans of figures B-D and the schematics | | TMS9918A / 9929A | TI's manuals and the measured rows in ../tms9918-python (access windows measured on 14-18 machines, its README) | 1-2 | its own ladder: ../tms9918-python docs/validation.md | | TMS9919 / SN94624 | [GPL] appendix C (programmer's view) + [CTD] fig. A (clock) | 2 | the noise LFSR and edge cases have no source (U15-U17) | | GROM (TMC0430) | [GPL] L-1/L-2, [CTD] | 2, programmer's view only | no data sheet; timing, prefetch, read-back, wrap undocumented (U7-U11) | | TMS9901 | [9901] data manual + [CTD] bit map | 2 | | | Keyboard matrix | [CTD] schematic pages (scans) | 2 | to transcribe (U18) | | Cartridge banking | [CTD] B.1.6.1 (Extended BASIC's scheme) | 2 | other PCB types: MAME's list names only (5) | | Speech (TMS5220/5200 + TMS6100) | [5220], [6100] | 2 | which part is fitted: C4; coefficient tables: no source | | PEB: 32K, FD1771 disk, RS232 | [PES], [CTD] C-D, [DSR] | 2 | the FD1771 also has WD's own data sheet (not pinned) | | Whole machine | none at tier 1 or 3 in hand | - | no hardware-verified 99/4A test suite with published expected results was found | ## Oracles | Tier | Oracle | Licence / author's or site's wishes | Pin | Decides | Cannot decide | | --- | --- | --- | --- | --- | --- | | 2 | [CTD] Console and PES Technical Data | TI's, facts only | `pinned_files.json` | maps, multiplexer byte order and cycle count, port signals, DSR rules | gate-level wait logic until the schematics are read | | 2 | [HCTD] Home Computer Technical Data (1982) | TI's, facts only | same | the same, earlier edition | where it differs from [CTD] (C3) | | 2 | [9901], [5220], [6100], [GPL], [IOB], [PES], [DSR] | TI's, facts only | same | each chip's documented behaviour | undocumented corners | | 3 | Thierry Nouspikel's TI-99/4A Tech Pages (architec, groms, tms9919, wait, keyboard, speech, ...) | copyright retained, no licence; author's wishes: no AI objection seen | **set aside (site's wishes)**: www.unige.ch serves a JavaScript bot challenge to automated clients (robots.txt included); the 2026-11-26 rule forbids working around it, so its Wayback copies are not used either. Nothing from it is cited | (the best community source for the GROM, the multiplexer, the TMS9919) | - | | 3 | TI Diagnostics cartridge (No-Intro "TI Diagnostics") | TI's code, player-supplied | by SHA-1 when the set is present | passes on a working console | detail | | 3 | Classic99's `tests/` programs (`TI9900_CPU_Test.txt`, `99test2.txt`, the AMSTEST4 set) | all rights reserved (Classic99's licence) | not fetched | - | - | | 4 | EP994A (Erik Piehl): a TI-99/4A in VHDL with its own TMS9900 | LGPL-3.0 | closed box (GHDL in emu-tools-gpl if ever) | a second implementation of the multiplexer and GROM | anything not verified on silicon | | 4 | F18A (VDP replacement) | BSD-3 (sources.md row) | in tms9918-python | not the 9918A's quirks | - | | 5 | MAME 0.285 `ti99_4a` and friends | drivers, buses, `tmc0430`: LGPL-2.1+; `tms9901`, `tms5220`, `tms6100`, `sn76496`, `tms9928a`, `cpu/tms9900`: BSD-3-Clause (first lines read; table in ../tms9900-python docs/validation.md) | binary 0.285 | instruction streams, bus traffic (mame-oracle.md) | timing, GROM internals, wait states | | 5 | Classic99 | all rights reserved; bundles TI ROMs under TI's licence | not fetched; Windows binary (Wine) in emu-tools-gpl if ever | detector | - | | 5 | js99er-angular | no LICENSE file; `package.json` says MIT | not fetched | detector (browser) | - | ## Milestones and their gates (detail in handoff-brief.md) | # | Milestone | Judge (tier) | Exit | | --- | --- | --- | --- | | M1 | Console from reset to the title screen: CPU (tms9900-python), console ROM, scratchpad, multiplexer wait states, GROMs, TMS9918A, TMS9901 (interrupts, timer, keyboard idle), sockets with test fakes | [CTD], [9901], [GPL] (2); MAME instruction trace (5) as detector | the CPU's instruction stream equal to MAME's from reset for 180 frames or a named reason per difference; the title screen's VRAM equal to MAME's; the 16 DSR polls seen | | M2 | Keyboard and the menu: the full matrix from the schematic, ALPHA LOCK, joysticks; TI BASIC typed in | [CTD] schematics (2) | BASIC's prompt answers typed lines; key matrix unit tests from the schematic | | M3 | Sound: TMS9919 variant upstream in sn76489-python, mixed audio | [GPL] C (2) | sound lists from BASIC's CALL SOUND play; frequencies by [GPL]'s formula | | M4 | Cartridges: standard ROM and GROM, Extended BASIC paging, the other PCB rows on evidence | [CTD] B.1.6.1 (2), MAME (5) | a smoke list of cartridges (problem ones plus well-behaved ones) reaches its title or menu | | M5 | 32K expansion and the I/O-port socket; the TMS9900's timing rungs on the board | (2) | an assembly program loaded into the expansion runs; the C2-C5 choices visible as switches | | M6 | Save states | - | a state loads into a fresh machine and continues identically | | later | Speech add-on (own board), disk (FD1771), RS232, p-code, cassette, the 99/4 and PAL rows | (2) | each its own gate, the base gate rerun first | Seeded faults for each milestone's gate, each caught (methodology). ## Rows proposed for emulator-lineage `docs/sources.md` (The CPU-side rows are in ../tms9900-python docs/validation.md; these are the board's.) 1. TI-99/4A Console and Peripheral Expansion System Technical Data; TI Home Computer Technical Data (1982); GPL Programmer's Guide; TMS9901, TMS5220, TMS6100 data manuals; PES Theory of Operation (1982); DSR Specification v2.0; I/O Bus Specification 1037185 (whtech and bitsavers): TI's documents, facts only. 2. ftp.whtech.com (WHT's TI-99 archive): no robots.txt (404), documents fetched by URL and pinned by SHA-256; facts only, rights stay with the documents' owners. 3. Thierry Nouspikel's Tech Pages: set aside (site's wishes), as in tms9900-python's row. 4. MAME `hash/ti99_cart.xml`: CC0, code OK (the existing software-list row covers it). 5. MAME TI-99 drivers and `tmc0430`: LGPL-2.1+, closed box only (with tms9900-python's row). 6. Classic99, js99er, EP994A: as in tms9900-python's rows. 7. retool clone-list metadata "Texas Instruments - TI-99-4A (No-Intro).json": BSD-3-Clause (its LICENSE), used only to learn that the No-Intro DAT exists.