# Claims: what the core asserts, on what evidence Each behaviour the core models is listed with its judge and tier (1 hardware, 2 manufacturer, 3 hardware-checked community, 4 FPGA, 5 emulator). **Provisional** means no source above tier 3 settles it; the default is a choice that a measurement would change (the value, not the code: each is a keyword or a table entry). C and U numbers are the brief's ([handoff-brief.md](handoff-brief.md)); measured results are in [results.md](results.md). ## Decided contradictions | # | Decision in the code | Judge | Where | | --- | --- | --- | --- | | C1 | A status read clears F, 5S and C; the five-bit number stays | TI 2.3.1-2.3.3 (2) over Young 2.2 (3: bits 7 and 5 only) | `TMS9918.read`; `test_status_read_clears_f_5s_and_c_and_keeps_the_number` | | C2 | TI's mode names: M1 = Text (R1 `0x10`), M2 = Multicolor (R1 `0x08`), M3 = Graphics II (R0 `0x02`); the bit is given wherever a name is | TI 2.2 (2) | `tables.py` (`R1_M1`, `R1_M2`, `R0_M3`, `mode_of`); `test_mode_numbers_use_ti_names` | | C3 | Graphics II: R3 bits 4-0 also mask pattern character bits 7-3 on the 99x8 rows (`colour_mask_masks_patterns`) | TI's 1982 memo (2) and MAME (5) over Young (3) and sms-python (5) | `tables.graphics2_masks`; `test_c3_colour_mask_reaches_patterns_on_99x8`. The memo names tables "of less than 2K bytes", i.e. R3 bits 4-0; MAME masks with the same bits (`m_colourmask & 0xff`). Which bits leak is not stated bit by bit: **provisional detail, tier 2/5** | | C4 | Multicolor: high nibble is the left block | TI 2.4.3 (2) over Young 3.4 (3) | `_draw_group` | | C5 | 5S counts lines 0-192: the evaluation for line 192 runs during lines 190-191 because the line before a display line runs the sprite schedule | TI 2.3.3 (2) | `docs/schedule.md`; `test_fifth_sprite_on_line_192` | | C6 | The number is the fifth sprite's, written only while 5S is clear; 5S itself only while F = 0 | data manual 2.3.3 (2) over the Programmer's Guide | `_check_sprite` | | C7 | Off-screen sprite pixels collide (`offscreen_collisions=True`); a sprite dropped as a fifth never collides | TI 2.3.2 (2) for off-screen; Young 4.3 (3) for dropped lines | `_build_sprite_line`. **Known difference from both detectors** (MAME and sms-python test the 256 visible columns) | | C8 | 262 lines on the 9918A and 9928A, 313 on the 9929A | TI 3.6.2 (2), the misprint read against the page's second copy | `variants.py` | | C9 | Multicolor runs the Graphics schedule: its colour slots are not CPU windows (19 a line, not 51) | VATT (3, hardware-run, 21 TI-part entries: Multicolor lands the same fractions as Graphics II at every period) and the drawing's pattern-mode structure (2) over TI table 2-2's 0-1.5 us and openMSX's one-in-four table (5) | `tables.MULTICOLOR_LINE`; `test_multicolor_uses_the_graphics_schedule`, `test_multicolor_is_no_faster_than_graphics2`; [results.md](results.md) rung 4 | | C10 | F sets at line 191, dot 266 (the end of its active pixels; `flag_dot`) | TI 2.3.1's wording (2); the dot is the 1978 drawing's display position. **Provisional, tier 2 wording + drawing read by eye** | `test_f_sets_at_the_end_of_line_191`; `flag_dot=(193, 10)` gives MAME's point | | C11 | R1 bit 7 = 0 does both: MacDonald's row/column mux, and the address counter rolling over at 4K (`roll_over_4k`) | MacDonald (1, on a TMS9929A) and Guttag's 1982 message (2) | `tables.dram_address`, `tables.increment_address`; `test_macdonald_4k_mux`, `test_4k_mode_counter_rolls_over_at_4k`. Their interaction (the roll-over keeps VA12-13 fixed, so a 4K-mode program sees one of four 4K banks of cells) is the straightforward composition, not a measurement: **provisional, tier 1+2** | ## Provisional behaviours (unknowns) | # | Default | Evidence that would settle it | | --- | --- | --- | | U1 | The first control byte enters the address register's low byte at once | a console test: a lone first byte, then a data write, read back where it landed | | U2 | /RESET clears the flip-flop and the read-ahead | a console reset mid-pair, then a register write | | U3 | `lost_access="newer"`: a second access while one waits replaces its byte and address in the one waiting request, which keeps its time; the address counts every CPU access. `"older"` drops the second; `"restart"` is "newer" with the delay restarted | VATT **rules out "restart"** (48 % at 12 T against hardware's 64-78 %, [results.md](results.md)) but lands identical counts under "newer" and "older"; a test that writes *different* fast bytes and reads back which survived, and where | | U4 | Power-on: registers, status (C and the number too; `power_on_status`) and VRAM zero (VRAM seedable); counters at line 0 dot 0 after reset. MAME holds the number at 31 internally but shows 0 until the first status read copies it in, which is Flicky's one differing status read | a logic-analyser capture of /RAS after reset; any console read of status before the first frame | | U5 | 4K board: AD6 unwired, so the cell is the six row and six column bits. 8K board (4108): the 16K wiring with the top row bit dropped | a 4027- or 4108-fitted board (TI-99/4 era) | | U7 | TMS9929A: 192 active, bottom 51 + 3 + 3, top 13 + 51 (MAME's top; the bottom mirrors NTSC) | a PAL capture of line counts from F to the first active line | | U8 | Status race off (`status_race=False`); when on, a read within `race_window` = 8 master clocks of F setting returns F = 0 and the set is lost | a TMS99x8 measurement (only the V9938/V9958 is measured, by openMSX) | | U10 | 5S and the number change at the vertical check that finds the fifth sprite (during the line before); C sets at the dot the first coinciding pixel is shown (pixel x at dot x + 10; off-screen pixels at their would-be dot, clamped to dot 0) | a test ROM that polls status inside a line | | U11 | The schedule (and the mode it implies) is chosen at dot 0 of each line; table bases and colours are read at each fetch | a mid-line mode change on hardware | | U12 | Sprite "ghosting" with reduced Graphics II tables: not modelled | MAME's to-do; no source | | U13 | `access_delay` = 16 master clocks (1.49 us), fitted to VATT's landing fractions with the 1978 schedule (tier 3 fit; TI says "approximately 2 microseconds"; 22 = 2.05 us puts 12 of 16 Graphics II periods outside the hardware spread, 16 puts 4) | a measurement of a single access's latency on a TMS99x8; the fit cannot separate the delay from small errors in the transcribed window positions | | - | The fifth-sprite number after a status read that cleared 5S keeps the frozen value until the next evaluation writes it (the register is written only while 5S is clear). MAME instead loads its per-line "last examined" variable on every status read: the number-bit differences of BurgerTime (113 reads) and Elevator Action (1) | a console read of status twice in one vertical blank after a frame with five sprites on a line | | - | Pixels come from bytes fetched at the drawing's slots, so a VRAM write landing during a line changes the groups fetched after it. MAME draws a whole line at its start: DokiDoki's two differing pixels (a name written at line 189, dot 26) | a mid-line write test on hardware; the fetch-driven design is the brief's decision, from the drawing | | - | The first eight vertical checks (dots 326-340) belong to the evaluation two lines on and run only if the next line is a sprite line | the drawing places them; which line they serve is this core's reading | | - | Sprite slots stay unavailable to the CPU when fewer than four sprites are found or the table is terminated by Y = 208 | Vermaelen: "It is not known". VATT (tier 3) hides sprites with Y = 208 in every TMS row: giving the vertical-check slots after the terminator to the CPU lands 100 % at every period (hardware: 64-78 % at 12 T), so **those slots are not CPU windows** (measured against hardware, by fit). Giving only the 24 attribute/pattern slots to the CPU fits no better (at best 5 of 16 Graphics II periods outside, against 4 without), so nothing decides it; kept unavailable | | - | Line `lines - 1` (the line before line 0) runs the display schedule while BLANK = 1 | openMSX does the same (tier 5, read under the old rule; run, never read, from 2026-11-19); no TI statement | | - | A sprite line whose first eight vertical checks did not run (the line before was a refresh line, e.g. the display was turned on during it) evaluates nothing: no sprites on the next line, no 5S from it | a console that turns the display on mid-frame with sprites on the next lines | | - | Pixel x of the 256-pixel modes is shown at dot x + 10 (`DISPLAY_START_DOT`) | the 1978 drawing read by eye, +-1 | | - | The table-less modes (M1+M2, M1+M2+M3) use Text mode's schedule and fetch nothing | Young 3.7 (3) for the picture; the schedule is a guess | | - | Multicolor + Graphics II reads pattern byte `(line >> 2) & 7` of character `third x 256 + name` (masked as Graphics II) | Young 3.6 (3) describes the mode, not the formula; MAME adds the row to the character number before shifting (`(charcode + row) << 3`), which this core does not copy: a named detector difference | ## Not modelled External video mixing and sync (pin 34/35: the board's; index 0 marks transparency), RGB, GROMCLK/CPUCLK outputs, the plain TMS9918 and TMS91x8 rows (fields exist; a host can build the row), the 340-dot "rainbowless" 9918, the "both CSR and CSW low" case.