# Documents Read in this order. | Document | What it holds | | --- | --- | | [start-here.md](start-here.md) | The TMS34010 as the core will model it: bit-addressed memory, variable-width fields and the FS/FE descriptors (including the rule that a field size of 32 is encoded as 0), the two register banks and the B file's graphics roles, ST, XY versus linear addressing, the instruction set with its encoding format, the graphics instructions, the I/O register file at 0xC0000000, interrupts and reset — and **the recommended core/host split with its reasoning**. Also a section on the TMS34020. Cites the *TMS34010 User's Guide* (SPVU001A, 1988) and MAME 0.285 at tag `mame0285`. | | [mame-oracle.md](mame-oracle.md) | Producing per-instruction TMS34010 traces of `mk` from MAME 0.285: the proof that every address is a **bit** address and the correction to the shift (3 relative to bytes, not 4), MAME's exposed register names, the command line, five gotchas each verified or corrected here, a verified sample with the reset sequence explained, the cost table, and how to use a trace in lockstep. | | [validation.md](validation.md) | The oracle-tier rule and a blunt statement that **no hardware-tier oracle exists**, with what was searched. Then every oracle that does exist with tier, licence, URL, pin and limits: the User's Guide, the Midway self tests and the Y-Unit Test ROM (both verified running here), the `birdybro/TMS34010_sv` graphics corpus (MIT, emulator-derived, fetched and verified), MAME, FBNeo's independent core, and the GSP toolchain. Plus the measurement of **which games actually execute graphics instructions**, and the gates in order. | | [timing.md](timing.md) | What `step()` will return and what it will not claim; the clock divider and a measured instruction rate; why TI's cycle tables are hard (memory-cycle dependent, DRAM refresh, the video timing generator) and MAME's own judgement that the graphics-timing model in the manual is unreliable; what MAME models and what it does not; the interruptible blit; and what a Midway host actually needs. | | [undocumented-behavior.md](undocumented-behavior.md) | Undefined opcodes and the two behaviours they split into (with the two shipped games that depend on the non-trapping one); reserved and inert I/O registers; what MAME marks as a guess, a workaround or unimplemented, quoted as facts with citations; two actual bugs in MAME's core; and what none of this can tell you. Everything tagged documented / undefined / `[unverified]`. | | [handoff-brief.md](handoff-brief.md) | The brief for the session that builds the core: context, the host contract, seven milestones in oracle-tier order with acceptance tests (the field machinery first, the graphics instructions fifth), constraints, an honest size estimate against z80-python, and what done looks like. | Scripts: [`scripts/fetch_test_vectors.py`](../scripts/fetch_test_vectors.py) fetches the 137-case graphics corpus at a pinned commit with per-file git-blob hash verification, into a gitignored directory; [`scripts/mame/trace_mk.sh`](../scripts/mame/trace_mk.sh) and [`trace_mk.lua`](../scripts/mame/trace_mk.lua) produce the MAME trace.