# Contradictions between sources, and what is not known Numbered so the other documents and the build's records can cite them. A contradiction (C) names the sources on each side, their tiers, and what the board does until a higher tier speaks. An unknown (U) is a question no pinned source answers; it is never filled with a guess presented as fact. Short source names are defined at the top of [timing.md](timing.md). ## Contradictions | # | Question | Side A | Side B | The board, until settled | | --- | --- | --- | --- | --- | | C1 | Does HALT stop SALLY in the middle of an instruction? | Yes: "The busses are available ... after the bus cycle when HALT- is asserted" ([MT84] 2.1, tier 2); HALT is a clock stop in front of any cycle (`a5200-python/docs/sally-halt.md`); Galaga hangs on an FPGA that lets a write through ([MiS], tier 4) | No: "MARIA waits for the CPU to complete an instruction before it halts the CPU" ([HF], tier 3 prose, 2014); "It takes 5-9 video cycles to halt the CPU. That doesn't sound like the CPU will stop in the middle" (AtariAge 86087) | **A.** MARIA has no SYNC input and cannot see instruction ends ([1702B] pin list). The 5-9 range is the wait for a cycle boundary (4 or 6 clocks) plus latency | | C2 | Start-up and shutdown cost of DMA | GCC: start 5-12, shutdown 13-17 / 19-23 (last line); Atari guide: 5-9, 4-7 / 10-13 (both as quoted in [HF]) | Measured totals: 16 (other lines), 24 (last line) on null lists with 2-cycle NOPs ([HF]); 36 samples at 16 MHz = 4 CPU cycles of HALT low ([MiS], capture) | **B**, with the CPU-grid rounding of timing.md. MAME 0.285: 16 and +6 (= 22); A7800: 16 and +8 (= 24). The two emulators differ from each other here | | C3 | Cost of an object that falls in a Holey-DMA hole | Nothing: "there are no cycle penalty at all for skipping it, even with indirect fetches, according to tests with emulation that match real hardware" ([HF] 2014); the GCC document says 0 | 3 (direct), 6, 9 after the header ([SG] App. 3, same author, later; "penalty of 3 cycles ... matched a real PAL 7800" on page 2 of the thread, not pinned); A7800 charges 3 for the first read in a hole; BizHawk's author gave "conflicting advice" (AtariAge 343425) | **B as [SG] states it** (the header, then 3 / 6 / 9 once). Marked provisional: the wiki text and A7800's source do not say the same thing (A7800 adds 3 per hole byte in some paths). Judge: Karateka, Summer Games and the lists in the smoke set against the detectors, then a test program | | C4 | Does a DLI cost DMA time? | No: measured, frames with a DLI on every zone take the same number of CPU cycles ([SG] App. 3) | MAME 0.285 adds 17 MARIA clocks "interrupt overhead" on the last line of a zone with DLI; A7800 the same; A7800DS found its "DLI compensation" was what fixed Xevious (AtariAge 343425) | **A** for the DMA engine. The 7-cycle interrupt entry is the CPU's own time and is not DMA. Expect MAME's cycle counts to differ on DLI lines by this amount; it is a known detector artifact, not a board error, until a test shows otherwise. Session 7, a picture that follows from where MAME takes the DLI (C1 with C4): Kung-Fu Master after a Reset, whose 12-handler DLI ring is entered twice in MAME (the DLI of line 43 lands before the line-41 handler stores its next pointer) and stays out of phase, so MAME's colours are wrong from then on; the board, taking the DLI one cycle after HALT's release ([1702B] p. 14), keeps the ring in phase (docs/build-progress.md, session 7) | | C5 | What ends a display list | A header whose second byte is zero ([SG] text, [1702B] p. 14: "width field is non-zero") | `(byte & $5F) == 0`: "Maria ignores bits 7 and 5" (wiki "Common emulator development issues": Ninja Golf, Crossbow); [MiS] DMA.sv checks the same mask; MAME 0.285 `maria.cpp` too | **B.** A names the common case; the commercial programs need B | | C6 | Read mode 1 (CTRL D1-D0 = 01) | "not used" in the guide's mode table | MAME's history note: "Added cases for 0x01-160A, 0x05-160B as stated by docs"; Jinks is said to use mode 2 | Read off [1702B] p. 17's table and [GLD] in milestone 2; until then as mode 0, labelled | | C7 | Lines of DMA per frame | 242 NTSC / 292 PAL: "The sum of zonesizes ... must add to the number of active scanlines (242 for NTSC or 292 for PAL)" ([MT84] 2.2) | 243 / 293 ([SG] App. 4 diagram: 16 + 243 + 4 = 263) | MARIA does not count zones against a total: DMA runs on every line between the vertical-blank edges. The number of such lines is counted on the detectors in milestone 2 and the diagram's 243 is the starting value | | C8 | Where the BIOS appears | "EXT: 0 = enable BIOS at $8000-$FFFF" ([SG]) | The NTSC BIOS is 4 KiB (at $F000); the PAL BIOS 16 KiB (at $C000) (MAME `a7800.cpp` ROM loads; the dumps' sizes) | The ROM occupies its own size at the top; with EXT = 0 the cartridge is deselected for the whole upper half, which is what the guide's range describes. What a read of $8000-$EFFF returns then is U19 | | C9 | Names and contents of the SuperGame options at $4000 | Stolberg: "78S9" = a ninth bank of ROM at $4000 (144 KiB); "some games have bank 6 fixed at this area", named only for PAL Karateka; his table marks every other plain SuperGame "78SG". (Corrected in session 3: this row used to say "78S4 = bank 6 fixed"; the guide's "78S4" marks the four-bank, 64 KiB boards: Pit Fighter, RealSports Baseball, Tank Command, Tower Toppler, Water Ski.) | MAME: `a78_sg9` "9x16K banks" for the same titles, and its list types all other plain SuperGame boards `a78_sg` without saying what $4000 holds; the A78 bits are "rom at $4000" (bit 3) and "bank 6 at $4000" (bit 4) | By size: a 144 KiB payload has the extra bank. **Bank 6 at $4000 per dump, from the dump** (session 3): 14 dumps by their own code (`scripts/scan_4000.py`), 12 by their behaviour (`scripts/uses_4000.py`: MARIA or the CPU reads there with nothing written first); `cartridge/table.py` `_BANK6`, `_BANK6_BEHAVIOUR`. No plain SuperGame dump was found that reads $4000-$7FFF expecting nothing there (Planet Smashers and Sentinel write before they read: a RAM probe) | | C10 | The NTSC crystal | 14.318080 MHz nominal ([1702B] pin list, OCR of a scan: could be 14.31818 misread) | 14.3181818 MHz ([HF]; MAME XTAL(14'318'181)) | 14.31818 (4 x 3.579545). The difference is 7 ppm and affects nothing but the stated frame rate | | C11 | CPU speed on TIA and RIOT accesses | 6 MARIA clocks ([MT84], [1702B], measured +0.5 cycle in [HF]) | MAME 0.285 runs every cycle at 1.79 MHz (no stretch in `a7800.cpp`). A7800 5.2 applies it only on TIA reads and only when a light gun is plugged in, as one whole cycle every second access (`a7800.cpp` `tia_r`, its own comment) | The documents. This is the largest systematic difference from MAME: its cycle counts drift from the board's on every TIA/RIOT access ([mame-oracle.md](mame-oracle.md), trap 3) | | C12 | RIOT timer under DMA | counts CPU cycles (every emulator) | "RIOT continues to run while the 6502 is halted" (wiki "RIOT limitations", tier 3) | Counts clock pulses including those during DMA (U10 for their rate). Detectors will disagree on timer-polling programs | | C13 | How the 400/800's discrete HALT circuit (which SALLY integrates) stops the CPU | It holds the CPU's clock: `a5200-python/docs/sally-halt.md`, from the 400/800 hardware manual, the Altirra manual and AtariAge thread 356602 ("the external circuit held the CPU clock") | "ANTIC's /HALT goes through a 74LS02 pair into a 7474 ... whose output enables two 74LS244 octal buffers ... while the CPU itself is stalled through its ordinary RDY pin" ([MiS] `sally.sv`, reading the 800 schematic's Figure 2-12); the same file then stops its own core by removing the clock enables, because RDY "holds a read but never a write" and Galaga breaks | Both views lead to the same board model for SALLY: whole cycles inserted before any cycle, writes included. The disagreement is about the 800 board, which neither project emulates. Kept as two views; not resolved here | | C14 | Do the RAM0 shadows include $240-$2FF and $340-$3FF? | Yes: [MT84] Figure 2 (p. 9, read off the page image at 200 dpi in the build session) leaves A9 and A8 don't-care in all four RAM0 rows and lists "40-FF, 140-1FF, 240-2FF, 340-3FF"; that would also select RAM0 together with the 6532 at $280-$2FF and $380-$3FF (tier 2) | No: [SG] App. 1 row 6 "00X0 000A 01.. - 11.." requires A9 = 0, and the absolute map lists $200-$27F and $300-$37F only as TIA/MARIA mirrors (tier 2, with tier-3 corrections) | **B.** A write to SWCHA would otherwise also write zero-page RAM ($2080), which programs would notice. Open for [GLD]'s decoder sheet (milestone 2) | | C15 | Is $2800-$2FFF a shadow of RAM0 ($2000-$27FF)? | Yes: [SG] App. 1 row 7 "0010 X000 ..." (A11 don't care) | No: [MT84] Figure 2's RAM0 row for $2000-$27FF has A11 = 0; MAME 0.285 maps nothing at $2800 | **A**, labelled. No known program depends on it; [GLD] to settle | | C16 | Writes to $20-$3F while INPTCTRL's MEN = 0 | [MT84] Figure 2, "2600 mode" (MEN = 0): only A12 and A7 decode, the TIA answers $00-$7F and every cycle is slow (tier 2) | MAME 0.285 has no MEN decoder: $20-$3F always reach MARIA, every cycle is fast, so the BIOS's TIA-clearing loop (`STA $00,X`, X = 1..$2C, with INPTCTRL = 0) hits WSYNC at $24 and MAME's CPU waits for the line's end | **A.** A detector artifact: the one cycle segment the milestone-1 lockstep names (scripts/lockstep_mame.py, `KNOWN_DETECTOR_ARTIFACTS`) | | C17 | The undriven bits of a TIA read in 7800 mode | Floating: the TIA drives D7/D6 only and the rest is the bus's last byte ([SG]; the wiki's M.I.A. note "TIA undriven bits not representing the value of the last opcode byte"; a2600-python's die judge for the TIA) | MAME 0.285 drives all eight. Measured from its logged reads over six 13-second traces (152,000 reads): $x0-$x7 always $00; $x8-$xD D6-D0 always 0 ($xC/$xD $80 with nothing pressed); $xE/$xF always $FF | **A, settled in session 2.** a2600-python settled the 2600's bus against its die (Sim2600, tier 1) and MAME's 2600 driver agrees with it: D7/D6 driven, D5-D0 the bus's last byte (its docs/undocumented-behavior.md "The bus", its seeded fault "TIA floating bits read as zero" caught by MAME at instruction 945). The 7800 uses the same TIA, and the 7800 wiki's console-verified list says M.I.A. hangs at level 2 unless the undriven bits hold the last opcode byte (tier 3): **the same rule holds on the 7800.** Two things differ and the board keeps them: the last byte can be one MARIA put on the bus, when a HALT falls between the operand fetch and the TIA read (the data-bus latch takes DMA reads too; whether the CPU sees that byte is U13), and MAME's reads to $0E/$0F are its own. The lockstep and frame harness mask these bits as a named, counted exclusion (`scripts/harness.py` `mask_tia_undriven`): Centipede passes milestone 1's lockstep with 3 TIA reads masked (2 changed), Ms. Pac-Man with 90 (29 changed) plus 97 C18 reads | | C18 | A CPU read that no device and no cartridge drives (e.g. $3000-$3FFF with no High Score Cartridge) | The bus's last byte: the data-bus latch, normally the address's high byte (start-here.md "the floating bus"; the wiki's bus-capacitance note for M.I.A., tier 3) | MAME 0.285 reads $00 (measured: Ms. Pac-Man's `LDA $3900`, its HSC probe, loads $00 in MAME's trace, $39 on the board) | **A.** Detector artifact; `scripts/harness.py` `mask_open_bus` is the named, counted lockstep/frame exclusion (Asteroids 14,449 such reads in 760 frames, Ms. Pac-Man 97) | | C19 | When a register write in the middle of a line shows | From the clock it lands on: MARIA looks colours up as it outputs pixels ([MT84] Figure 1, the colour RAM after the line RAM; [GLD] sheets 27-31) | MAME 0.285 shows it from the next line on (measured: Robotron's logo, whose DLI handler rewrites a palette register before the visible part of the zone's last line; the new colour appears on that line on the board and one line later on MAME: frames 180 and 200, 358 pixels, rows 60-100 every 3) | **A.** Detector artifact; it decides those two frames of milestone 2's compare. Session 3: the same 358 pixels on frames 180 and 200 of Xevious and Rescue on Fractalus are the NTSC BIOS's own logo (its DLI colour bars; the BIOS's signature check of a 32 KiB cartridge is still running then, so Robotron's were most likely the BIOS's too), and Pit Fighter's row 37 changes colour from x = 72 on the board, from the next row on MAME (248 pixels, every frame). Session 4, the read mode too: Motor Psycho (USA, Europe) writes CTRL = $43 (read mode 0 to 3) at line 226, clock 190 (PAL line 216), and Sentinel (Europe) at line 218, clock 74, each mid-line; from that clock the board shows the line's cells in 320A/C (alternate pixels of `10` cells), MAME both pixels of each cell, consistent with the whole line in the earlier read mode (measured on its snapshots; its code not read): Motor Psycho's 4 pixels and Sentinel's 170, all on that one row, alternate pixels. [SG] supports the board: "Because READ MODE affects the scan line being displayed, changes to READ MODE should happen at the beginning of the scan line to be affected" | | C20 | How much DMA fits on a busy line | The board's costs are [HF]/[SG]'s measured ones (tier 3), with the list cut off at LRC (H = 412, [GLD] sheet 16): Super Skateboardin' (USA), lines 224-239 in attract mode, has DMA running to MARIA clock 421-422 against the cut-off at 426, and the last object (8 x 16 pixels at x 200-207, rows 198-213 of the crop) is not drawn | MAME 0.285 draws it on every compared frame (128 pixels, frames 180-400): its DMA on those lines costs less (C2: its shut-down and start-up figures are its own) | **The board (tier 3).** No console capture of this screen exists here; recorded as a detector difference, undecidable beyond the tier-3 totals (session 3) | | C22 | What a cartridge POKEY counts, and so RANDOM's value | Φ2 periods: one per CPU cycle, one 6-clock period for a slow (TIA/RIOT) cycle ([1702B] p. 29, timing.md "Φ2 periods at the cartridge port", tier 2), so the POKEY falls half a period behind time on every slow access | MAME 0.285 clocks its POKEY at 1.79 MHz of time (it has no slow cycle, C11). Measured: Ballblazer's first RANDOM read (10.13 s) is 348 periods earlier on the board, returns $D2 against $09, and its music differs from there; with MAME's RANDOM values forced the writes stay identical to 37.8 s | **The board (tier 2).** Any title seeding from RANDOM diverges from MAME; detector difference. Session 5, what decides it: POKEY's polynomial counters "are clocked by 1.79 MHz", the CPU clock (the wiki's POKEY document, tier 3), and on a 7800 cartridge that clock is the port's Φ2 pin, the CPU clock MARIA makes (cartridge.md, [SG] "Cartridge"), which [1702B] p. 29 makes one period stretched to 6 clocks on a slow access, not a missing or extra edge (tier 2). So RANDOM steps once per period and falls behind time by half a period per slow access, as the board does. pokey-python's own docs leave the port clock to this board (its U10: "does POKEY see a long cycle, or a missing edge"; the core does "one `tick()` per O2 period, whatever its length"). What stays open is only the clock during DMA (this board's U10: the board keeps 4-clock periods running through HALT, tier 3/4 sources, no published trace) | | C23 | A DLI from the DLL entry MARIA reads on the last DMA line (the entry after a zone that ends exactly where DMA ends, as [MT84] 2.2's "the sum of zonesizes ... must add to the number of active scanlines" makes every conforming DLL do) | Raised: [SG] "The interrupt will actually occur following DMA on the last line of the PREVIOUS zone", with no exception for the frame's last line (tier 3); the AtariAge "Too many cycles" thread (191505, tier 4) has programmers using "a DLI in the first inactive zone" as their vertical-blank interrupt on consoles (their DLL layouts are not given). ProSystem (black box, `prosystem_run.py`) in NTSC mode raises it | Not raised: MAME 0.285 (`a7800p` and `a7800` with the prototype BIOS `a7800pr`, which starts unsigned carts), A7800 5.2 (same two machines; black box) and ProSystem in PAL mode. Measured by `probes/dliprobe.s` (`scripts/dli_probe.py`): phase 2 (DLI bit on entry LAST+1 only) gives 0 in 16 frames on these, 16 on the board; phase 6 (zones one line shorter: the same entry read on the last line but one) gives 16 everywhere, and the time from that DLI to VBLANK is 7 passes of the 11-cycle loop on the board, MAME and A7800 (6 on A7800 NTSC), so their DMA lines end where the board's do and the difference is the DLI alone. One commercial case seen: Dark Chambers (USA) frame 129, where the cartridge turns DMA on mid-frame with an unset DPP: the board takes 11 NMIs (one at line 259), MAME 10 | **Settled for A by [GLD] (tier 2), session 6** (docs/gld-reading.md "C23"): VB is not an input of the DLI latch, the RSYNC PLA, INTF or the DMA PLA; the last DMA line's DMA starts at HBLANK (START, clock 0) 12 clocks before VBLANK rises and runs its DLL fetch, so the DLI is raised. The same sheet clears the DLI flag only when a line DMA starts, so the flag also raises a **second NMI after the next VBE fetch** (line 16): the board does both, phase 2 of the probe gives 32 in 16 frames on the board (MAME, A7800 0; ProSystem NTSC 16). One printed gate (N1, grid 144,66) conflicts with the machine's function and is read as its complement (stated there). `dli-clear-on-nmi` (ProSystem NTSC) and `c23-mame` (MAME, A7800) are detector settings. `c23-mame` in the board's fault set is MAME's rule as a named detector setting (`frames_mame.py --c23-mame`); it does not make Dark Chambers match MAME (10 of 12 frames differ without it, 12 with it). **Session 7: an independent second reading** of the sheet (from the PDF's 200-ppi scan, made before reading the first) agrees gate for gate; the complement reading of the gate at (144,66) is forced (read literally, the machine would assert INTF while the CPU is halted, never clear the flag, and drive HALT high during DMA), and the second NMI rests on CLR, which does not involve that gate. Behaviour: of the 110 certainly-typed licensed dumps, BIOS-started, 900 frames of attract each, **only Dark Chambers (USA) reads a DLI entry on the last DMA line and takes the second NMI** (once, frame 130); the other 109 never do (57 take ordinary DLIs from the VBE fetch's own entry 0). Its frames against MAME do not discriminate: 12 of 12 differ with the board's rule, 10 of 12 with `dli-clear-on-nmi`, by 26-74 pixels either way, a game state that parts by C4/C11 regardless. Nothing in the titles speaks against the drawing; the rule stands on [GLD] | | C24 | What Rescue on Fractalus's cartridge RAM is | 2 KiB as eight 256-byte blocks, each appearing twice in $4000-$4FFF (block n at $4000 + $200n and $4100 + $200n), "for double-scanline graphics" (Stolberg's guide, tier 3); the A78 v4 header's bit 7 says only "mirror ram at $4000". The dump's own behaviour agrees (session 8): its code stores to and reads back only the even pages $40-$4E (a linear sweep of the 32 KiB finds 4-5 indexed stores into each even page and none clustered elsewhere); on the board with a press at frames 300-320, 900 frames, the CPU writes 59,700 and reads 82,900 times (from frame 300) in the eight even pages and never touches an odd page or $5000-$7FFF, while MARIA reads all sixteen pages $40-$4F, so the odd copies must show the even ones | MAME 0.285 (black box, Lua `read_u8` at frames 200-600 of attract): $4000-$47FF read zero, $4800-$5DFF hold bytes in page pairs that are host memory (64-bit heap pointers, e.g. `10847C4BDA640000`, which change from run to run with address randomisation), $6000-$7FFF repeat $4000-$5FFF; no CPU write reaches $4000-$7FFF in 11 s of attract on either machine, so MARIA shows those bytes in the cockpit window (the 614 pixels of frames 400-1000). With fire held from frame 300, MAME 0.285 stops with SIGSEGV at frame 300-301, without the debugger and without taps (3 runs; session 3 saw it under `-debug`), at the point where the board's program starts writing the RAM | **A**, unchanged (the board's `mirror-ram-2k`; `test_mirror_ram_is_2k_in_4000_4fff_as_the_dump_uses_it`, seeded fault: a linear 2 KiB fold fails it). Detector fault: Rescue on Fractalus's frames after the BIOS logo are not comparable with MAME's (its window shows host memory). What the window shows before the program writes the RAM is U27 | ## Unknowns | # | Question | What would answer it | | --- | --- | --- | | U1 | The logic capture behind [MiS] sally.sv (`capture-range.sr`: SYNC, BLANK, /HALT, PCLK2 at 16 MHz) and its `general_tests` program ("test 15 ... wants 556") are not published; neither is the DSLogic capture attached to AtariAge 343425 | The files. They would be this board's only tier-1 traces. Not requested from anyone (no outside posts) | | U2 | Does MARIA's CPU-clock divider keep its phase across a DMA, or restart when HALT is released? (Decides whether the rounding loss is at entry or exit.) | [GLD] sheets for the clock generator, read in milestone 2; a capture with PCLK0 | | U3 | The exact shape of a slow cycle ("for pclk2 and following pclk1 time"): which half is stretched, and whether the cycle *after* a slow one is affected | [1702B] p. 29's diagram (scan is poor); [GLD]; [MiS] `control.sv` | | U4 | On which MARIA clock of which line MSTAT D7 changes, and the DLL fetch at the end of vertical blank relative to it | [GLD] video counters; [MiS] `video_sync.sv` | | U5 | Which line pays the "8 extra MARIA cycles once per frame" ([SG] measured only the frame total) | Probably the end-of-VBLANK DLL fetch; a per-line capture | | U6 | Are SALLY's NMI and IRQ inputs sampled while HALT holds the clock? (MARIA's own NMI is pulsed after release, so only cartridge IRQs are exposed.) | No SALLY die photograph exists (see `a5200-python/docs/sally-halt.md`); Acid5200-style tests on the sibling board | | U7 | Does a HALT in front of an unstable store (SHA, SHX, SHY, TAS) change the stored value, as RDY does? | Same | | U8 | With CTRL DM = 0 or 1 MARIA fetches one header without HALT. What does the CPU see on the contended bus, and is a DLI raised from it? (Beef Drop does this on consoles.) | [GLD]; the FPGA author suppressed the NMI as a fix | | U9 | WSYNC: the MARIA clock at which RDY is released, and the last clock at which a write still catches the current line | A screen test exists (AtariAge 339785, run on an emulator); a console run of it does not | | U10 | The CPU-clock output while HALT is low (what clocks the RIOT timer and a cartridge POKEY during DMA). Two sources say it keeps running at divide-by-4 (timing.md "Φ2 periods at the cartridge port"), and the board does that; not confirmed by a published trace, and the phase of the first period after release is U2 | A capture of PCLK0 across DMA; [GLD] | | U11 | In 2600 mode, the phase of MARIA's divide-by-6 against the TIA's horizontal counter, and whether it is the same at every power-up | The PAL 7800's rows in the Stella #699 tables (already matched by `a2600-python` with one revision field) bound it; `a2600-python`'s die traces fix what each phase would produce | | U12 | What MARIA reads when a display list or graphics pointer addresses a slow device (TIA, RIOT) or MARIA's own registers | [MT84] Figure 2's footnote says the decoder still selects during HALT; the data is whatever the device drives in a 2- or 3-clock window | | U13 | Whether the byte MARIA leaves on the data bus is visible to the CPU's next undriven read | Follows from the bus being one bus; no program is known to depend on it | | U14 | Register $38 "OFFSET: store zero here" | [1702B] register map p. 11 (to be read from the scan in milestone 2) | | U15 | The mix of TIA sound and cartridge sound at the audio output, and the relative level of POKEY to TIA | The console schematic's audio section (resistor values) gives the ratio; nobody pinned has published a measurement | | U16 | Activision scheme: do writes to $FF88-$FFFF select banks? | A cartridge's logic chip | | U17 | Absolute scheme: what values other than 1 and 2 written to $8000 do, and which addresses decode | Same | | U18 | The XM's YM2151 clock | The XM schematic (not pinned; the wiki's programming page gives note tables that imply it) | | U19 | What reads of the cartridge area return while the BIOS is mapped and the cartridge deselected | The console schematic's decoder | | U20 | MARIA revisions: the thread "MARIA revision differences" (AtariAge 144287) reports differences between chips; none is characterised well enough to model | Per-console test results | | U21 | The 16 KiB "prototype" NTSC BIOS (`c300558-001a.u7`): MAME asks whether it is a prototype at all, since its code is almost the PAL BIOS's | Provenance | | U22 | Light gun: the delay from the beam to the sensor pulse, its length, and the brightness it needs. (Which lines: settled in session 4 from Barnyard Blaster's and Crossbow's own code: trigger SWCHA D4, sensor INPT4 D7 low.) `controllers.LightGun` is a fit: 4 lines, 64 clocks, luminance >= 8, no delay | The XG-1 schematic; A7800's implementation is a fit | | U23 | Which addresses clock the INPTCTRL latch. [SG]: "mapped to $0000-$001F"; under MEN = 0 the TIA select covers $00-$7F (Figure 2), and the BIOS's TIA clear writes $20-$2C there with INPTCTRL unlocked. The board takes TIA-selected writes with A5 = 0 (so $00-$1F and its A8/A9 mirrors under MEN = 1, $00-$1F and $40-$5F under MEN = 0); every value written is 0 in that loop, so no known program can tell | The console schematic's latch wiring (`reference/schematics/`), read at milestone 2 with [GLD] | | U24 | Trak-ball and mouse wiring on the four direction pins (CX22 in trak-ball mode: a motion clock and a direction level per axis; ST mouse: a Gray code per axis), which pin carries which, and the polarity. `controllers.TrakBall` is a labelled fit; no local dump declares a trak-ball or a mouse in its header (259 headers read, session 4) | The CX22 service manual; a title that reads one | | U25 | The pads' RC on the 7800 console board (paddles on I0-I3). The board uses a2600-python's 2600 values and fit; no local dump declares paddles | The 7800 console schematic's pot section | | U26 | Bankset Test Suite "2x128K RAM" (both formats): during the plasma effect the board shows "BANKSET 1 BANK 1 BANKRAM 1", the README says "BANK 0" there (the 2x128K test without RAM shows "BANK 0" as it should). Whether the board's SuperGame mapping with bank RAM at $4000 (which banks SALLY's $8000 window reaches, the ninth-bank question C9 for a 128K set) or the README is wrong is not settled; the wiki's bankset page does not say which banks a RAM board switches | A7800 run of the test (once its recipe works); the 7800GD or a bankset board | | U27 | The power-on contents of cartridge RAM (Rescue on Fractalus's 2 KiB; the SuperGame RAM options). Static RAM powers up in no specified state; Rescue on Fractalus's attract displays its RAM without writing it (C24), so a console would show whatever the chips hold. The board starts every cartridge RAM at zero (a choice) | A console photograph or capture of the prototype's attract screen | ## Power-on state Not a contradiction but a set of choices (timing.md "Power-on and reset"). Programs known to depend on it: One on One and Worm! (RIOT port B state for two-button mode), Pole Position II and Klax (where on the frame the cartridge starts), Legend of Silverpeak (bank 0 selected at start), M.I.A. (bus capacitance) (wiki "Common emulator development issues"). Each becomes a field on the machine row with its source. ## Things that are "bugs" only in emulators The wiki's second list ("ROMs that may be reported as bugs, but aren't") is the acceptance reference for the sweep's triage: Tower Toppler's level skip and striped graphics, Xenophobe's 320A ship line, Super Huey's and Water Ski's flicker on real hardware, and the difficulty-switch behaviours of a dozen titles.