# Validation: the oracles, their tiers, what each can decide Tiers, highest first: **1 hardware-captured** (measurements of real chips, die-level models of the real netlist) > **2 manufacturer documents** > **3 hardware-checked community documents and test programs with published results** > **4 HDL reimplementations** > **5 emulators**. A low tier is a **detector**: it finds a difference, it never decides who is right. We have no TMS99x8 hardware and no capture rig; nothing here plans a chip experiment. Pins: `scripts/pinned_files.json`, `scripts/pinned_repos.json` (`python -I scripts/fetch_references.py --verify`: 24 of 24 on 2026-11-12). ## Plainly - **There is no die-level model of any TMS99x8.** A bounded search on 2026-11-12 (three web searches for die shots, decaps, netlists and visual simulations, plus the references of every pinned repository) found **one die photograph**: Oguchi R&D's stitched 20x micrograph of a TMS9918A (2025, pinned, 62 MB). Nobody has traced it. colecovision-python's search on 2026-11-11 found none at all; the photo is new, and it is a photo, not a model. - **The best timing source is TI's own 1978 hand-drawn memory timing**, found in Karl Guttag's documents as archived by Joe Zbiciak. It describes the plain 9918 before the "A", and its readers say it has mistakes. - **The only hardware-run evidence about CPU access windows is VATT** on 17 MSX1 machines: how fast a write loop may go per mode without losing bytes, and what fraction lands when it goes faster. It is the rung-4 target. - **The status-read race has been measured only on the V9938/V9958**, not on any TMS99x8. - **No hardware-verified TMS9918 test ROM with on-screen verdicts exists** that we found, other than VATT (MSX) and the console makers' factory diagnostics (functional only). ## Tier 1: hardware captures | Source | Pin | Decides | Cannot decide | | --- | --- | --- | --- | | Logic-analyzer captures of a TMS9918/9928's /RAS, /CAS and AD lines ("SRAM Replacement for TMS99x8 VRAM", hackaday.io) | `hackaday-sram-replacement-tms99x8-vram.pdf` | the shape of one DRAM cycle in nanoseconds (e.g. /CAS falls before the column address settles) | the slot schedule; nothing software sees | | Charles MacDonald's 4K/16K address table, from a TMS9929A in a Sega computer, quoted in Young 2.1 | `sean-young-tms9918a.txt` | the DRAM row/column mux in 4K mode | the 9918A/9928A ("fairly sure"); the address roll-over (C11) | | Tursi's external-video test on a TI-99/4A (Young 1.3) and memory retention in the bogus modes (Young 3.7) | same | that R0 bit 0 switches external video on a 9918A; VRAM survives modes 1+3 / 1+2+3 | sync behaviour | | Oguchi R&D, TMS9918A 20x die micrograph | `oguchi-tms9918a-20x-micrograph.pdf` | that a die photo exists | anything, until someone traces it | | openMSX `doc/internal/vdp-status-race` | `reference/src/openMSX` | the race on V9938/V9958 | the TMS99x8 ("weren't measured") | ## Tier 2: manufacturer documents | Source | Pin | Decides | Limits | | --- | --- | --- | --- | | **TI, TMS9918A/TMS9928A/TMS9929A Data Manual**, Nov 1982, 105 pp. | `TMS9918A_..._Nov82.pdf` (`3991f0c6`) | registers, the four modes, sprites, status bits and their clearing, table 2-2 (access delays), table 2-3 (levels), table 3-1 (DRAM wiring), table 3-2 (address derivation), table 3-3 (line/frame layout), pins, reset | silent on undocumented modes, a too-early access, the exact dot of F; misprints (C5, C8) | | TI, Programmer's Guide SPPU004, 72 pp. | `TI_VDP_Programmers_Guide_SPPU004.pdf` (`db4bc15e`) | intended use; the TMS91x8 4/16K note; MSB-first bit numbering stated | a guide; one wording differs from the manual (C6) | | TI 1980 Arizona symposium draft (plain TMS9918), no text layer | `1980_Arizona_Technical_Symposium_Draft.pdf` (`2e92686e`) | read-ahead, sprite processor design | no timing; pre-"A" | | **TI 1978 "9918 Address Select / RAM Data Load Timing"** (hand-drawn) | `guttag-vdp-99xx/1978_9918_Master_Timing_by_Serigio_Maggi.jpg` | the order of fetches and CPU slots inside a line, per mode, for the plain 9918 | it is a design-era drawing with known mistakes; no 9918A changes; no flag timing | | **TI message of 1982-06-29** (Guttag) | `guttag-vdp-99xx/Message_on_Modification_to_9918_from_1982.pdf` | the 4K address roll-over (C11); the Graphics II colour-mask "logic error" (C3); the 340-dot "rainbowless" 9918 existed | a planning memo: which changes shipped is not stated | | Other Guttag-archive documents: 1978 pattern and sprite processing, DRAM interface memo, Graphics II notes, why text mode has no colour | `guttag-vdp-99xx/` | design intent; handwritten, OCR unusable: read by eye only where cited | not read in full in Phase 0 | | Karl Guttag, VCF Southwest 2025 talk page | `guttag-tms9918-first-sprite-chip-2025.html` | history | no technical statement used | | TI US patent 4,243,984 (in the Guttag archive, email 4) | **not fetched** | the VDP's design as patented: a candidate tier-2 source for the sprite and memory logic | unread | ## Tier 3: hardware-checked community work | Source | Pin | Notes | | --- | --- | --- | | **VATT results** (aoineko, msxgl wiki and raw sheet; 17 MSX1 machines) | `msxgl-vram-access-timing.html`, `vatt-raw.csv`, `reference/src/VATT` @ `19cfdf9` (CC-BY-SA-4.0) | per mode, the fraction of fast writes that land at each loop period; the fastest safe period; display-off and Text behaviour. A real program run on real chips with published numbers. Cannot place slots inside the line by itself | | **Sean Young, `tms9918a.txt`** v0.4.2 | `sean-young-tms9918a.txt` (`38798a12`) | undocumented modes, Graphics II masks, latch quirks, status/sprite rules; tested on MSX1. Disagrees with TI three times (C1, C2, C4) | | Wouter Vermaelen, "VDP VRAM timing part II", TMS9918 section (2014) | `openmsx-vdp-timing-2.html` | a careful reading of the 1978 drawing and TI's manual into per-mode diagrams; explicitly **not** a TMS measurement | | Forum knowledge (AtariAge, MSX.org) | not pinned (AtariAge refuses scripts) | the status race relayed from Guttag; the fifth-sprite number on warm consoles; scanline tricks. Search summaries only; nothing rests on them | | Thierry Nouspikel's TI-99/4A TMS9918A page | **not fetched**: the site answers scripted requests with a captcha page (set aside in `trash/`) | read in a browser if a TI-99 question comes up | ## Tier 4: FPGA cores (detectors) | Source | Pin | Notes | | --- | --- | --- | | `vdp18` (Arnim Laeuger), in the MiSTer ColecoVision | https://github.com/MiSTer-devel/ColecoVision_MiSTer @ `084cf4c8` (`rtl/vdp18`, GPL-2.0), not fetched since 2026-11-24 (Aubrey) | a TMS9918A in VHDL with a memory sequencer: a second slot-schedule detector. Not read in Phase 0 | | F18A (Matthew Hagerty) | `reference/src/f18a` @ `43189631` (BSD-3-Clause) | **a replacement chip, not a model**: plugs into real TI-99/4A, ColecoVision and MSX1 sockets, adds 80 columns, more sprites per line and a GPU, and implements sprites its own way. Forum reports say it now models the status race on purpose. It shows intended behaviour; it judges nothing about the 9918A's quirks | ## Tier 5: emulators (detectors) | Emulator | Pin | Runs here | Notes | | --- | --- | --- | --- | | **MAME 0.285** `tms9928a.cpp` | binary `/usr/games/mame`; source `f379cd06` (sparse) | **yes**: [mame-oracle.md](mame-oracle.md) | line-based; the register-stream source; first picture detector | | **openMSX** | https://github.com/openMSX/openMSX @ `45f17260`; since 2026-11-24 only the race recordings are fetched, not its source (Aubrey) | not built | MSX1 slot tables and the race model, read from its source before then (HYPOTHESIS where only it says so); the strongest second detector for timing | | **Clock Signal** | `5eae9b61` (Components/9918) | not built | slot-dispatched 9918 family | | **sms-python** `vdp.py` | sibling repo `../sms-python` @ `3f26bc3` (read-only, never copied) | yes (Python) | the third detector for the TMS modes: TI modes with Sega timing ([consumers.md](consumers.md)) | | vrEmuTms9918 | `dc409609` (MIT) | not built | small, readable, line-based | ## The ladder in tiers 1. **Tables and protocol**: judged by TI (tier 2), with Young (tier 3) where TI is silent and each disagreement written down (C1-C11). 2. **Pictures**: judged by TI's address tables and mode descriptions; MAME and sms-python as detectors on register streams, by colour index. 3. **Access windows**: the schedule from TI's 1978 drawing (tier 2) and table 2-2; the CPU side **judged by VATT's landing fractions (tier 3)**; openMSX and Clock Signal as detectors. 4. **Everything else inside a line** (flag dots, register latch points, the race window): provisional, tier 5 or "borrowed", each behind a switch, until hardware evidence appears.