# Unknowns (U) and contradictions (C) Source tags as in [start-here.md](start-here.md). Tier in brackets: [2] manufacturer, [3] community document or a test run on hardware, [4] HDL, [5] emulator. **No tier-1 source exists for this chip** (no die-level model, no published bus capture; [validation.md](validation.md)), so nothing here is settled by a judge of the highest tier. "Default" is what the build should do until better evidence arrives; every default is a named class attribute or a single table entry so it can be changed in one place. HW26 means: a cartridge written by the `openFPGA-Intellivision` project, run on its owner's one NTSC console from a flash cartridge, the result read off the screen (2026-10-31 and 2026-11-01). The sources of those cartridges are published (MIT); photographs of the screens are not. It is the only hardware evidence found for most rows, and it is one console. ## Contradictions Every jzIntv, FreeIntv and Bliss entry in the two tables below was read from their GPL source before the family's 2026-11-14 rule; none of the three was run here. Each such entry is HYPOTHESIS (for review, 2026-11-24) until re-established by running a shipped build; their source is no longer fetched (Aubrey, 2026-11-24). Statements jzIntv's *documents* make are tier 3 and are cited as such. | # | Topic | Sources | Default | | --- | --- | --- | --- | | C1 | **Reset sequence length** | S1 p.27 figure and O81 [2]: NACT, IAB, NACT, NACT, NACT, BAR. G82 2.5.1 [2]: only "the bus control signals issue IAB". jzIntv [5]: five dead cycles after MSYNC deasserts, citing S1 p.27 (HYPOTHESIS, source-read). MAME [5]: reads the vector, no cycles. HW26's RTL [4]: one IAB cycle | S1: five cycles (NACT IAB NACT NACT NACT), IAB's value into R7 | | C2 | **Cost of an interrupt** | S1 p.35 = G82 Fig. 15 [2]: 9 (INTAK NACT DW DWS NACT IAB NACT NACT NACT). wiki [3]: 10 on Bus Phases ("unsure about the NACTs at the end"), 7 on Interrupt Enable Flag. jzIntv [5]: 12, as 2 idle cycles before INTAK and 10 after. MAME [5]: 9 (seen in our trace). HW26 [3]: the interrupt *path* (sequence + one JSR + one PULR R7) is 2 cycles longer than the documents' 9 + 12 + 11; the fit cannot tell "9 with a 13-cycle JSR and a 12-cycle PULR R7" from "11 with documented JSR and PULR" (TIMING_FIT "Not observable"). Derived here: jzIntv's own path (12 + 13 + 12) is **5** over the documents, 3 more than the console shows, so jzIntv's 12 does not fit HW26's measurement with jzIntv's other counts | 9, the figure. Switch: `INTERRUPT_CYCLES` (9; 11 is the other reading HW26's fit allows; 12 is jzIntv's) | | C3 | **SETC and `SARC r,2` in MAME** | S1 p.53, p.56 and G82 p.45 [2]: SETC 4, two-position shifts 8. MAME [5]: SETC 6, `SARC r,2` 6 (cp1610.cpp lines 153 and 567 at the pin; our trace shows both) | the manuals. Any MAME-derived corpus must carry these two as known differences | | C4 | **One more cycle when the destination is R6 or R7** | S1 p.53 [2]: only MOVR ("If DDD is 6 or 7 add 1 to Cycles"). DS76/DS77 [2]: MOVR 6. DS80, DS82, G82 [2]: MOVR, TSTR "6/7", JR 7, every other register operation 6. wiki [3]: as G82. jzIntv [5]: +1 in INCR, DECR, COMR, NEGR, ADCR, every register-to-register operation, and the read forms (HYPOTHESIS, source-read). MAME [5]: MOVR only. HW26 [3]: `PULR R7` fits 12; other loads of R7 "not observable" | manuals (MOVR only) in every table. jzIntv's wider rule is not adopted anywhere: no measurement asks for it, its per-form field assignment was not traced, and its interrupt path is too long against HW26 (C2). Switch: `timing` (C5) | | C5 | **Jumps 13, `PULR R7` 12, `SDBD; MVI@ R4,R7` 15** | S1, G82, wiki, MAME, Bliss: 12 / 11 / 14. jzIntv, FreeIntv [5]: jumps 13. HW26 [3]: `hw_frame2` measured the SDBD jump at 15 directly; JSR 13 and PULR R7 12 are the fit's reading of two missing cycles on the interrupt path (C2); HW26's model and RTL add the NACT to the whole jump family, PULR R7 (with or without SDBD) and `SDBD; MVI@ R4/R5,R7`, and nothing else | `doc` by default (the manufacturer's counts, which MAME's replays at rung 3 also need). Switch: `timing = "doc" \| "console"`, where `console` adds one trailing NACT to exactly HW26's three cases (its family F, `f_extra()` in `tools/cp1610.py`). The Intellivision board should select `console` (Open decisions) | | C6 | **NEGR of 0 and the carry** | S1 p.53 [2]: flags S Z C OV (OCR damaged), arithmetic by two's complement addition (so 0 gives C = 1). wiki NEGR [3]: sets C. MAME [5]: never sets C. HW26 [3]: GSWD after NEGR of 0 read $5050 (Z and C) | C = 1 | | C7 | **`SWAP r,2`** | S1 p.53, DS76/77 [2]: "swap them back to original form" / "2-position = SWAP twice". DS80, DS82, G82 p.45 [2]: "Two position SWAP not supported". wiki, jzIntv, MAME: low byte copied to both halves, S from bit 7. jzIntv's note says it is inferred from a comment in Mattel's source. HW26 [3]: $1234 gave $3434 | low byte to both halves; S = bit 7, Z from the result; 8 cycles | | C8 | **HLT** | S1 p.56 [2]: "HaLT after next instruction is executed. Resume on control start", 4 cycles. G82 3.2.4 [2]: "Halt after next interruptable instruction is executed". O81 [2]: table "after executing next instruction"; prose "following the instruction fetch". wiki [3]: halts at once, ignores interrupts until reset or STPST. MAME [5]: 4-cycle no-op. jzIntv [5]: stops the emulator | G82: the halt takes effect at the end of the first interruptible instruction after HLT; HALT high, NACT cycles, until STPST or MSYNC. Never used by a game; only matters for tests | | C9 | **SDBD with the stack mode** | S1 p.49, G82 [2]: not supported. wiki [3]: "two stack reads from top of stack, ... decrements stack pointer once" (from memory, a placeholder page); its opcode pages say 10 cycles. jzIntv doc [5]: "I suspect it works as expected (two accesses through R6)". MAME [5]: two pre-decrements. HW26 [3]: read $BBBB over the words $11AA, $22BB and R6 moved by 1: one decrement, same word twice | one decrement, the same word read twice, 10 cycles; `undefined` event raised | | C10 | **SDBD with direct mode** | S1, G82 [2]: not supported. wiki [3]: "an interesting blend of Direct and Indirect", details lost. jzIntv [5]: an ordinary direct read for the low byte, then the high byte from the word after the instruction (3 more cycles, PC + 1 more). MAME [5]: decodes it as indirect through R0. HW26 [3]: result 0 and the instruction after it did not run; read as "the *address* is double byte data from the next two words, then one read" | HW26's reading, marked `undefined`. **The measurement does not separate it from jzIntv's model**: in both, the instruction eats one more word (the following `MVO`'s opcode), so the store never runs and the result variable keeps its 0 (read from `hw_cpuodd.asm` lines 86-94). It rules out only "D ignored" and MAME's decode. What the eaten word is used for (address high byte or data high byte) is unknown (U15) | | C11 | **SDBD before MVO** | S1 [2]: double byte data described for reads only. G82 3.3.4 [2]: "an external reference instruction other than MVO". wiki table [3]: lists D as an input of MVO@. jzIntv [5]: warns and writes one word. MAME [5]: illegal. HW26 [3]: one normal write, next word untouched | D ignored, one write | | C12 | **MVO@ with the pointer register as the source** (`MVO@ R4,R4`, `PSHR R6`) | S1 p.55 [2]: "SSS = MMM = 4, 5, 6 or 7 not supported". MAME, jzIntv [5]: write the value before the increment. HW26 [3]: `MVO@ R4,R4` at $0312 wrote $0313 | the incremented value for R4, R5, R6; MVOI R7 writes the PC as in U8 | | C13 | **Jump with II = 11** | S1 p.52, G82 [2]: only 00, 01, 10 defined. wiki [3]: "behavior unknown!!". jzIntv doc [5]: invalid. MAME [5]: logs, does not jump. HW26 [3]: the jump was taken and interrupts came on | jumps and sets the interrupt enable, marked `undefined` | | C14 | **Are GSWD and RSWD interruptible?** | S1, G82 [2]: not in the "not interruptable" lists. wiki [3]: yes. MAME [5]: yes. jzIntv [5]: no (HYPOTHESIS, source-read); it also grants no bus request after JD/JSRD HW26 [3]: `hw_grant` showed the bus is lent only after interruptible instructions, but none of its probe loops contains GSWD, RSWD or a jump, so it does not decide this row | interruptible (both manuals and the wiki's GSWD and RSWD pages say so, against one emulator). Switch: `GSWD_RSWD_INTERRUPTIBLE = True`. Flagged because jzIntv's author had hardware and the choice looks deliberate; a probe cartridge in the style of `hw_grant` with a GSWD in the loop would settle it, and nobody here has the console | | C15 | **Is SIN interruptible?** | S1 p.13 [2]: "The interrupt will be acknowledged at the end of the SIN instruction". wiki table: yes; wiki SIN page: no. MAME, jzIntv: yes | yes | | C16 | **INTRM and INTR: level or edge** | S1 [2]: "low active", sampled every TS1. wiki [3]: high-to-low transition; dropped if released first. MAME [5]: INTRM pending while asserted until taken, INTR latched. jzIntv [5]: request spans that are acknowledged once or dropped. HW26 [3]: a request made and released while masked gives no interrupt (`hw_frame2` row W). That result fits a level model too; what separates the two is a line still held low after its interrupt was taken (an edge latch takes it once, a level would re-enter). On the Intellivision this depends on the STIC: MAME's and HW26's STIC hold INTRM for 3,790 cycles whatever the CPU does, jzIntv's ends the request when the CPU acknowledges it | falling edge sets a request; taking it or the line rising clears it. Switch: `INTRM_EDGE = True` (False: a level sampled at each interruptible boundary). INTR the same way. BUSRQ is always a level. The board's draft contract asks for levels: see the handoff brief's open decisions | | C17 | **Errors on single wiki pages** (found by HW26; the SIN page and the table's immediate ranges re-checked here) | RLC shown with SLLC's encoding; RRC with SARC's; SIN with NOP's; ADD@ given ADD's range; the table's immediate ranges given as `xx0-xxF` (they are `xx8-xxF`; `xx0-xx7` is the stack form) | S1's encodings | | C18 | **Bus shape of a branch not taken** | G82 Fig. 12a [2]: BAR NACT DTB NACT BAR NACT NACT (no second DTB). HW26's model [4/5]: BAR NACT DTB (estimated, written before reading that figure). S1 has no branch figure | G82 | | C19 | **Clock of "the CP1600"** | S1 (1975) [2]: 5 MHz, 400 ns. DS76 [2]: that is the CP1600A; CP1600 3.3 MHz, 600 ns. G82: CP1600 3.3 MHz, CP1610 2 MHz, 1 µs | no effect on the model; the README says which part is which | | C20 | **Branch reach** | S1 p.54 [2]: "+1025 to -1024". The encoding gives PC + 2 + d and PC + 1 - d, so +1025 and -1022 with a 10-bit displacement (HW26, wiki Branch) | the encoding | | C21 | **Number of instructions** | S1: "87 basic instructions". G82: "86". | none | ## Switches: one name for each choice no judge settles Each is a class attribute of `CP1610` (or a constructor keyword that sets it), read in one place, with the default first. A test that depends on a choice names the switch. HW26's own model has the same knobs under other names (`timing`, `sdbd_r6`, `hlt`, `mvo_ptr`), which makes it usable as a referee in either setting. | Switch | Default | Alternatives | Rows | | --- | --- | --- | --- | | `timing` | `"doc"` (S1/G82 counts) | `"console"`: +1 trailing NACT on J/JSR family, PULR R7, `SDBD; MVI@ R4/R5,R7` (HW26 fit F) | C4, C5, U16 | | `INTERRUPT_CYCLES` | 9 (S1 p.35, G82 Fig. 15) | 11 (HW26's other reading), 12 (jzIntv) | C2 | | `RESET_SEQUENCE` | NACT IAB NACT NACT NACT (S1 p.27, O81) | IAB alone (HW26 RTL); none (MAME) | C1 | | `GSWD_RSWD_INTERRUPTIBLE` | True (S1, G82, wiki) | False (jzIntv) | C14 | | `INTRM_EDGE` | True (wiki, MAME, HW26) | False: level at each boundary | C16 | | `HLT_MODE` | `"next-interruptible"` (G82) | `"immediate"` (wiki), `"nop"` (MAME) | C8 | | `SDBD_STACK` | `"one-decrement"` (HW26 console) | `"mame"` (two pre-decrements) | C9 | | `MVO_POINTER_SOURCE` | `"incremented"` (HW26 console) | `"old"` (MAME, jzIntv) | C12 | No switch for C3 (SETC, `SARC r,2`): the manuals are the highest tier there and MAME is a detector; rung 2 and 3 carry both as known MAME differences. Rows C6 and C7 have no alternative in the core (the console result agrees with a manufacturer reading, and MAME's NEGR is a known difference). C9, C10, C11, C12 and C13 are cases the manuals call unsupported: they follow HW26's console results and raise the `undefined` event so a test can see them. ## Unknowns | # | Unknown | What is known | Default | | --- | --- | --- | --- | | U1 | An opcode word with bits 15-10 set | S1 p.42 [2]: "ignored by the internal microcontrol logic". jzIntv masks to 10 bits. MAME's opcode switch has cases `0x000-0x3ff` only and no default: such a word advances the PC and costs nothing | mask to 10 bits | | U2 | Register and flag values after reset | S1 p.21: "arbitrary, undefined"; interrupt enable cleared by MSYNC | zero by default; a constructor argument for other values; I = 0, D = 0 | | U3 | SDBD before an instruction it does not modify (SDBD; ADDR, SDBD; B, SDBD; SDBD) | wiki Double Byte Data [3]: D lasts one instruction whatever it is. jzIntv the same | D cleared at the end of the next instruction, no other effect | | U4 | The same register as pointer and destination (`MVI@ R4,R4`, `SDBD; ADD@ R4,R4`) | wiki [3]: "an interesting blend of old, new register values", no details. MAME, HW26's model: pointer incremented first, then the result written | pointer update first, then the result; `undefined` event for the SDBD form | | U5 | `MVO@ R7,Rm` and MVOI with R7 as the source | not documented; MAME writes R7 after its increments | the PC after the whole instruction | | U6 | Where the three extra cycles of a stack read sit | S1 p.55: only "add 3 to number of cycles if MMM = 6". Presumably the pre-decrement before BAR | fetch, NACT NACT NACT, BAR NACT DTB NACT | | U7 | When the TCI pin pulses | S1 p.33 draws the pulse in the cycle after the next fetch's BAR; HW26's RTL pulses in the fetch's last cycle | S1's figure: callback in the second cycle of the following fetch. Nothing in the family uses the pin | | U8 | `MVO R7,addr`: which PC is written | MAME writes the PC after the address word; HW26 changed its model to match after a game diverged from MAME's trace (emulator against emulator) | the address of the next instruction | | U9 | How late a request can arrive and still be taken at an instruction boundary | S1: sampled every TS1; nothing about the pipeline. HW26's fit folds this constant into the STIC's positions | lines as they stood when the last microcycle's callback returned | | U10 | Is a request honoured between the interrupt sequence and the handler's first instruction | no source. MAME and HW26's model: no | no | | U11 | BUSRQ asserted again during the two exit NACTs | not drawn. HW26's model: a second wait starts at once, BUSAK stays low | the same | | U12 | BDRDY during write sequences and during ADAR | S1 p.39: after "every micro state in which a BAR or ADAR ... is issued" | wait cycles after any BAR or ADAR when the host asks | | U13 | Does an interrupt end a halt | S1: "Resume on control start" (STPST). wiki: interrupts ignored | only STPST or MSYNC | | U14 | PCIT held low across a multiword instruction | S1 p.13 warns, says no more | PCIT input not modelled in the first build; documented as absent | | U15 | What SDBD + direct does with the extra word, its bus sequence and its cycle count | C10: hardware shows only that one more word is consumed. HW26's 10 cycles and jzIntv's 13 are each model's own | HW26's model, marked `undefined`; a new probe cartridge (two different words, the result stored by an instruction placed after the eaten word) would settle it, and nobody in this family has the console | | U16 | The bus sequence of the 13th cycle of a jump and the 12th of PULR R7 | C5; a trailing NACT in HW26's model, by choice | trailing NACT in the `console` table | | U17 | What the CPU puts on D0-D15 in the NACT cycles of an interrupt or after DWS | S1's figures say FLOAT | nothing; the host sees NACT with no value | | U18 | Opcodes `034-035`: are both a true no-op | S1 p.51: GSWD to R4/R5 "results in a NOP" | NOP, 6 cycles, interruptible | | U19 | Flags after a two-position shift when the manuals' wording is thin (SLL r,2 leaves C and OV alone?) | S1 p.53 status column: S Z for SLL/SLR/SAR in both forms. jzIntv and MAME agree | S Z only | | U20 | Whether the 1978 Mattel/APh "CP 1600 Instruction Set" notes say anything the manuals do not | 7 handwritten/typed scanned pages, no text layer; page 2 viewed (a parts list); not transcribed | read it in rung 0 | ## Things that are documented but easy to get wrong - S comes from **bit 7** after right shifts and SWAP. - The two-position shifts through carry use **OV as the second link bit**; the one-position forms do not touch OV. - After SUB and CMP, **C = 1 means no borrow**. - INCR and DECR do not touch C or OV; MVI and MVO touch no flag at all. - A backward branch adds the **one's complement** of the displacement to PC + 2. - The jump's return address is the address of the jump **+ 3**. - R6 **grows upward**: push is write-then-increment, pull is decrement-then-read. - GSWD writes the nibble **twice** (bits 15-12 and 7-4). - A branch not taken issues BAR for the displacement word but never reads it. - The direct address is latched by the *devices* in ADAR; the CPU never drives it.