# Undocumented and contradicted behaviour Every behaviour the documents leave open or contradict, with the board's provisional choice and what would settle it. "Settle" names, in order of strength: a hardware test that already exists in the pinned suites, a test someone could write and run on a console (none here: no GBA hardware), and only last a closed-box detector, which can never settle a hardware question (restart.md rules 5-6). IDs are referenced from the other documents. ## Memory and system | ID | Open question | Evidence now | Board's provisional choice | What would settle it | | --- | --- | --- | --- | --- | | U-MEM-1 | BIOS read protection: is "the program counter inside the BIOS" the fetch address or the executing instruction's? Which opcode exactly is latched (fetched, or fetched-and-executed)? | GBATEK states the rule and four example values for Nintendo's BIOS | latch every opcode fetch from the BIOS; allow BIOS data reads while the address of the fetch in progress is in the BIOS (HYPOTHESIS) | jsmolka `bios`, alyosha-tas `bios`, `Bus/DMA_Outside_Bios_Bus`, `timing/dma_from_bios` with Nintendo's BIOS; Hades-Tests `bios-openbus` is GPL and run-only, and both detectors fail its cases 05 and 11 identically, so it may encode a third behaviour | | U-MEM-2 | Is the backup window mirrored across `0E000000`-`0FFFFFFF`, and a 32 KB SRAM twice inside 64 KB? | GBATEK yes; jsmolka unsafe/README: "passes on No$GBA and mGBA but not on real hardware" (from a flash cart); gbadoc "also seem to appear at 0x0F000000" | mirror as GBATEK says (`DOC`), flagged | jsmolka `unsafe` run from a real SRAM cartridge, not a flash cart; the mGBA suite's "SRAM mirror" cases (calibration unstated) | | U-MEM-3 | Reads beyond the ROM chip: `(address/2) & FFFF` (GBATEK, for an empty slot; the mGBA suite expects it beyond its ROM) or something else (jsmolka unsafe/README: fails "on No$GBA or real hardware") | contradictory; jsmolka's run was from a flash cart, whose ROM is not empty past the test | the address-bus value (GBATEK), flagged | the same test from a mask-ROM or correctly sized cartridge; the mGBA suite's "ROM out-of-bounds load" is the judge until then (NBA fails all 38 such cases, mGBA passes) | | U-SYS-1 | Can POSTFLG be cleared? A halfword write of 0 to `04000300` halts and leaves it 1 (hw-test `haltcnt`) | one test | POSTFLG is set-only after boot (HYPOTHESIS) | a test writing 0 to `04000300` as a byte and reading it back | | U-SYS-2 | The state the BIOS leaves at `08000000` (for a skip-BIOS start) | partly documented (stacks, mode, cleared RAM) | built 2026-11-23 (`GBA.skip_bios`): GBATEK's stacks (DOC); the rest FITTED from the board's own boot with Nintendo's BIOS, stopped at its first fetch from 08000000 (cycle 75,997,997, frame 270.6): System mode, r0-r12 0, LR 08000000, RAM cleared, DISPCNT 0080, SOUNDBIAS 0200, SOUNDCNT_H 880E, RCNT 8000, POSTFLG 1, BIOS latch E129F000. Not copied: the elapsed time and line phase (VCOUNT 126), timer 0's counter (FFA3) | hardware register dump at the entry point (a test cartridge reading every register first thing) | | U-SYS-3 | STOP: does wake-up set IF? How long does it take? Do timers or the sequencer lose phase? | GBATEK quotes "the system clock is stopped so the IF flag is not set" and doubts it | wake on keypad, Game Pak or SIO-GP condition with IE set; set IF as for halt (HYPOTHESIS) | a hardware test timing STOP wake-up; none in the pinned suites | | U-SYS-4 | `04000800` bit 0: "Disable 32K+256K WRAM (when off: empty/prefetch)" versus "bit0 swaps 00000000h-01FFFFFFh and 02000000h-03FFFFFFh ... (but keeps BIOS protection)" (both in GBATEK) | two statements | implement neither until a game or test needs it; bits stored (HYPOTHESIS) | a hardware test; no game is known to set it | | U-SYS-5 | Do interrupt sources set IF while their IE bit is clear? | GBATEK's description implies yes | yes (HYPOTHESIS) | alyosha-tas `irq/IF`, `IE` | | U-SYS-6 | Does a write to HALTCNT from code outside the BIOS halt the CPU? | GBATEK describes the register without a condition; hw-test `haltcnt` "HALTCNT DIRECT" expects 12 (a STRB of 0 to `04000301` from IWRAM, then timer 1's IRQ 256 cycles later: no halt happened), while CpuSet writing it (BIOS code) halts (4155), and so does a DMA started by CpuSet writing it (4154) | **judge overrules the document** (board, 2026-11-19): a HALTCNT write takes effect only while the CPU fetches from the BIOS (`TEST ROM`; HYPOTHESIS that it is gated like the BIOS read protection) | a hardware test writing HALTCNT from ROM and from the BIOS with the CPU's fetch on either side of the boundary | ## Timing | ID | Open question | Evidence now | Board's provisional choice | What would settle it | | --- | --- | --- | --- | --- | | U-TIM-1 | The fetch after an internal cycle (the TRM's merged IS cycle): timed N on the GBA? | the core's rule, justified in its docstring by emulators that pass hardware timing tests | call `gba_access`, never copy it (owner's rule) | owned by arm7tdmi-python; the mGBA suite's timing table and hw-test `irq-delay` exercise it | | U-TIM-2 | The ROM's address latch: does an S access after a write to ROM, or after an access elsewhere, return the incremented address? When exactly is an access to ROM S rather than N? | GBATEK's latch description; hw-test `burst-into-tears` | model the latch: N loads it, S increments it (HYPOTHESIS) | hw-test `burst-into-tears` (values and 41 cycles), `bus/128kb-boundary` | | U-TIM-3 | The prefetch buffer's state machine cycle by cycle (start and completion of each halfword fetch, data access to ROM while a fetch is in flight, ARM 32-bit fetches, branches, DMA, WAITCNT changes, the disable bug's exact scope) | GBATEK's five statements, alyosha-tas's four readme facts | built to those facts, the rest `FITTED` and named | alyosha-tas `prefetcher/*` (18), mGBA suite timing (2,020 cases, prefetch modes), alyosha-tas `timing/prefetch_enable*`, the mGBA "DMA Prefetch Break" case | | U-TIM-4 | The timer prescaler: one free-running divider from power-on? Its phase at reset? | alyosha-tas timer readme ("state of the clock divider after power on") | a free-running divider, phase `FITTED` to `timer/timer` with Nintendo's BIOS | `timer/timer`, `timer_reset`, which the archived brief says were calibrated on a Game Boy Player's boot: a second calibration on an AGB-001 would show whether the phase is model-specific | | U-DMA-1 | Delay from a DMA start condition to the first transfer; what the CPU does in that window | hw-test `start-delay` (20), `force-nseq-access` (88); GBATEK's "wait 2 clock cycles before accessing any DMA related registers" | `FITTED` to those two tests and alyosha-tas `DMA/*` | the tests named; Hades-Tests `dma-start-delay` (run only; NBA 4/8) | | U-DMA-2 | "DMA lockup when stopping while starting ???" (GBATEK's own question marks); the cost of switching between channels | the AGS aging cartridges' DMA test 9 (`TEST ROM`, rung 6): an H-blank DMA preempting an immediate one of a lower channel passes only when the preempting channel spends neither of its two internal cycles | no internal cycles at a preemption (`dma.NESTED_IDLE = 0`, provisional); a lock-up is not emulated; the resume after a preemption is non-sequential (HYPOTHESIS) | a hardware test of the gap's length (the cartridge's own check is not known); alyosha-tas `DMA/DMA_pause_timing_*` (still failing for the H-blank request's cycle); alyosha-tas `unsafe/fifo_dma_disable_jam*` crash consoles, which says lock-ups exist | | U-DMA-3 | Does a video capture stop at VCOUNT 162 by clearing DMA3's enable ("Capture Enable=AutoCleared ???", GBATEK)? | GBATEK "it gets stopped when VCOUNT=162" (`DOC`); the AGS aging cartridges' DMA test 7 (`TEST ROM`, rung 6) fails when the capture runs a second frame | the enable clears at line 162 (`dma.end_capture`, provisional) | a read of DMA3CNT_H after line 162 on a console (the cartridge cannot tell this from a channel left enabled and not restarted) | | U-DMA-4 | When does a sound FIFO's request take the bus, and does the CPU run beside a DMA? | alyosha-tas `fifo_dma/fifo_2` (`TEST ROM`): a request at overflow O beats a CPU access at A only when O + 5 <= A. The earlier reading that fifo_4/fifo_5 need the CPU to run from the prefetch buffer beside a DMA misread fifo_4 (it loads 16 bytes and has 18 NOPs, not 32 and 20); with the request rule of U-SND-6 both pass with the CPU stopped, as GBATEK says ("The CPU is paused when DMA transfers are active"; DOC) | `FIFO_DELAY` 5 (dma.py; 3, 4, 6, 7 pass fewer); the CPU stops at its next access while any DMA runs (2026-11-23) | fifo_dma_disable_4 (the board's CPU is 2 cycles behind the console's in its no-DMA path: the prefetcher after a full pause, U-TIM-3), fifo_6 (one cycle in the DMA-end IRQ's handler) | | U-IRQ-1 | Cycles from a source raising IF to the CPU's IRQ line; the IRQ "pipeline" stalls while the CPU waits on the bus during DMA (alyosha-tas) | hw-test `irq-delay` (92/112/120), alyosha-tas `Interactions/ReadMe.txt` | a fixed synchroniser delay, `FITTED` | alyosha-tas `irq/*`, `Interactions/*`, hw-test `irq-delay` | | U-KEY-1 | When the keypad IRQ condition is evaluated (level or edge, every cycle or per frame) | none in documents | level-sensitive, evaluated when KEYINPUT or KEYCNT changes (HYPOTHESIS) | mGBA's `keyirq` test (no licence, run only; needs devkitPro to build) | | U-KEY-2 | KEYCNT's AND condition with no key selected | GBATEK: "when ALL of the selected buttons are pressed" (`DOC`, silent on none); the AGS aging cartridges' interrupt test 7 (`TEST ROM`, rung 6) needs an IRQ from KEYCNT = C000h | true (every key "pressed or not selected"), provisional | settled for the board by the cartridge; a second hardware test would confirm | | U-SIO-1 | Internal-clock transfer timing (start delay, bit period, when the start bit clears and the IRQ fires) without a partner | GBATEK's rates | 256 KHz: 64 cycles a bit; 2 MHz: 8 (HYPOTHESIS); `FITTED` to alyosha-tas `Serial/*` | alyosha-tas `Serial/serial_time*` (text verdicts) | ## Video | ID | Open question | Evidence now | Board's provisional choice | What would settle it | | --- | --- | --- | --- | --- | | U-VID-2 | Is the H-blank IRQ raised in V-blank lines? GBATEK says both yes and no; gbadoc says yes, "verified" by gbcft | contradiction | yes (gbadoc's verified statement and GBATEK's DISPSTAT section) | hw-test `status-irq-dma`; a test counting H-blank IRQs per frame (expect 228 if yes) | | U-VID-3 | "When the internal HV synchronous counter cancels a forced blank during a display period, the display begins from the beginning, following the display of two vertical lines. What ?" | GBATEK quoting an unknown source | modelled at line granularity: forced blank cleared shows two lines late (rung 3) | hw-test `dispcnt-latch` (forced blank per line) shows part of it | | U-VID-4 | Green swap's exact pairing on screen | GBATEK; hw-test `greenswap` photograph, which by eye does not decide between the detectors | GBATEK's rule | a closer photograph or a capture of the LCD signal | | U-VID-5 | What prohibited settings show: BG modes 6-7, OBJ shape 3, OBJ mode 3, PSG volume 3 | none | modes 6-7 draw no BGs (NBA agrees, scene `mode6`), shape 3 and mode 3 not drawn (HYPOTHESIS; NBA draws a shape-3 OBJ, scene `objs1d`) | hardware tests; no game should use them | | U-VID-6 | Text tiles beyond 64 KB of BG VRAM: "as if the character data is filled by the 16bit BG Map entry value", more complicated with two layers | GBATEK | single-layer rule only, multi-layer `HYPOTHESIS` = the same | a hardware test drawing it | | U-VID-7 | Does the OBJ cycle budget count OBJs not on the current line? | GBATEK asks | count only OBJs on the line (HYPOTHESIS) | alyosha-tas `ppu/Sprite_*`; a hardware test with many off-line OBJs before on-line ones | | U-VID-8 | Windows' vertical test: per line from latched flags, or a compare each line? | destoer `window_midframe`'s expected screenshot (origin not stated) and its author's model; NBA agrees (OBSERVED); GBATEK's Y2=160 rule | rung 4: the flag model (provisional; "What rung 4's judges settled") | a hardware photograph of `window_midframe`, or of scene `wingarbage` | | U-VID-9 | Rounding in alpha and brightness | GBATEK's formulas without rounding | truncate (HYPOTHESIS); NBA is one step brighter in alpha and brighten and one darker in darken on many dots (scenes `blend*`) | jsmolka/alyosha-tas `ppu/shades` against a photograph or a capture | | U-VID-10 | hw-test `sprite-hmosaic`'s expected picture is a NanoBoyAdvance 1.8.2 screenshot | read from the image's title bar | treat as a detector picture, not hardware | a photograph of the ROM on hardware | | U-VID-12 | OBJ against OBJ: which OBJ's colour and which priority a dot gets where OBJs of different priorities overlap | GBATEK ("OBJ0 is always having priority above OBJ1-127", the "garbage" caution) and Tonc §24 ("the object-priority bug": obj0 at priority 1 "will shine through the background" where it overlaps obj1 at priority 0) against gbadoc registers.md (priority first, then OAM order); NBA orders by priority first (OBSERVED) | colour from the lowest OAM number, priority the best among the OBJs there (DOC for the effect, HYPOTHESIS for the mechanism) | a photograph of scene `objorder` (or Tonc's demo) on hardware | | U-VID-13 | Does a backdrop-only dot blend with the backdrop when BD is both first and second target? | GBATEK: the 2nd target is "the next-lower non-transparent pixel" | no (nothing is below the backdrop; HYPOTHESIS); NBA blends it (scene `blendalpha2`) | a hardware photograph of `blendalpha2` | | U-VID-15 | 2D OBJ mapping past column 31 of the tile matrix: next row, or wrap within the row? | GBATEK's 32x32 matrix | linear (next row) (HYPOTHESIS); NBA differs where an OBJ crosses column 31 (scene `objs2d`) | a hardware photograph of `objs2d` | | U-VID-11 | The per-cycle VRAM, palette and OAM fetch schedule of each mode and layer, and so when the CPU waits | GBATEK's "one waitstate if simultaneous"; rung 4 settled the palette reads (ram-access-timing's PRAM comments, 11/11), the bitmap reads (hw-test archive mode3/mode4 prose) and the OBJ dots' VRAM reads (`Sprite_Last_VRAM_Access_Free`) | text BGs: a map read and 2 or 4 tile reads per 8 dots at cycle 8n; affine: 2 reads per dot; OBJ OAM reads in the affine parameter cycles (HYPOTHESIS, docs/video.md "The dot model as built"). destoer `lyc_midline`'s photograph says its printing waits 37 cycles where this gives 60, and no rule of whole contiguous reads gives 37 | hw-test `ppu/ram-access-timing`'s Mode 0/2 and Sprite stall maps on hardware (the ROM stores none; a photograph of each map would settle it) | | U-VID-16 (new) | The PPU's phase at power-on, and the length of Nintendo's BIOS boot | alyosha-tas `ppu/start_up` ("tested on GBP") expects the cartridge to start at VCOUNT 0x7F; the board starts it at 56 (the boot is about 71 lines short or long, cause not found). Every test that syncs to the picture with a polling loop after boot inherits the loop's phase from it: `Sprite_Last_VRAM_Access_Free` puts its load at line cycle 968 with the free BIOS and 977 with Nintendo's; `Sprite_Last_VRAM_Access` is about 31-33 cycles (one polling-loop period) off with either; `Interactions/Internal_Cycle_DMA_IRQ_Br_pre` (no sync at all) passes with POWER_ON 0 or 4 and hangs with 3 | power-on at cycle 3 of line 0 (HYPOTHESIS: keeps rung 1's IRQ times); `OBJ_START` fitted with the free BIOS | the boot's length found cycle-exact (krom's BIOS timer lines pass, so the BIOS calls are right; the logo sequence's waits are the suspect), then `start_up*` and the two Sprite tests together | ## Sound | ID | Open question | Evidence now | Board's provisional choice | What would settle it | | --- | --- | --- | --- | --- | | U-SND-1 | What clocks the frame sequencer on the GBA, and its phase | none (GBATEK gives only the units) | every 32,768 cycles from power-on (HYPOTHESIS) | a test measuring length-counter expiry against a timer | | U-SND-2 | SOUNDCNT_X bit 7 off: are the FIFOs emptied, do FIFO DMA requests continue? | GBATEK: "both PSG and FIFO sounds are disabled"; alyosha-tas `fifo_dma/fifo.asm` tests 2-3 (prose of a hardware run: FIFO writes while off load nothing, turning sound off empties the buffer; TEST ROM) | writes while off dropped and the FIFOs emptied at the 1-to-0 edge (TEST ROM, rung 5); the playing samples go to 0 and timer overflows still pop and request (HYPOTHESIS) | a hardware recording; the timing half of those tests (still failing, validation.md "Rung 5") | | U-SND-3 | PSG volume value 3 ("prohibited") | none | as 2 (100 %) (HYPOTHESIS) | a hardware recording | | U-SND-4 | FIFO capacity: 32 bytes (GBATEK) or 8 (gbadoc) | contradiction | 32 (the request rule needs it) | alyosha-tas `fifo_dma/*` | | U-SND-5 | 8- and 16-bit writes to FIFO_A/B | none | a 16-bit write pushes two bytes, an 8-bit write one byte (HYPOTHESIS) | a hardware test | | U-SND-6 | When a FIFO asks for data, and how much one request moves: 4 words (GBATEK) or 1 (gbadoc) | contradiction on the size; alyosha-tas fifo_4 (16 bytes loaded: the DMA comes at the second overflow) and fifo_5 (32 bytes loaded: a DMA at the first overflow) (`TEST ROM`) | 4 words; a request when the FIFO held fewer than 16 bytes before the overflow's move, a full FIFO counting as 0 (sound.py `REQUEST_BELOW`, `% FIFO_BYTES`; the wrap's mechanism, and whether the 32 bytes still play, HYPOTHESIS) (2026-11-23) | a recording of a full FIFO's output; fifo.gba test 4 ("unexpected results on hardware" in its own source) | | U-SND-7 | Which DMA serves which FIFO: by destination address, or fixed A to DMA1, B to DMA2 | gbadoc unverified belief | by destination address (HYPOTHESIS) | a test pointing DMA2 at FIFO_A | | U-SND-8 | The sample played when a FIFO is empty | none | the last sample popped (HYPOTHESIS) | a hardware recording | | U-SND-9 | The PSG's contribution to the 10-bit sum (DAC centre, NR50 scaling, rounding) | GBATEK's ±80h range only | linear map of the 0-15 DAC value centred at 7.5, NR50 as (v+1)/8 (HYPOTHESIS) | a hardware recording of a known PSG setting through the headphone socket | | U-SND-10 | Whether FIFO and PSG outputs are sampled at the SOUNDBIAS rate (sample and hold) or with a finer timing | GBATEK's resampling description | sample-and-hold at the SOUNDBIAS period (HYPOTHESIS) | a high-rate recording of the PWM pin | ## Cartridge | ID | Open question | Evidence now | Board's provisional choice | What would settle it | | --- | --- | --- | --- | --- | | U-CART-1 | The save type of ROMs without an ID string, and of the 46 with two | census | none / the first ID in census order; per-game override | per-game behaviour on the board (rung 7 games list) | | U-CART-2 | Flash erase and write durations; which ID to report | GBATEK's timeouts, timings "unknown?"; rung 2: Nintendo's Backup LIB sample passes with instant completion on five chips (its library polls, so it cannot tell durations apart) | instant completion; chip as a setting, Panasonic / Sanyo by default (HYPOTHESIS) | a logic-analyser capture of a real chip | | U-CART-3 | Do CPU (non-DMA) accesses to EEPROM fail on hardware, and why? | GBATEK's hedged "probably because they don't keep /CS=LOW"; rung 2: the Backup LIB sample's library makes four single CPU accesses before its first DMA request and fails unless they are dropped | a write with a fresh /CS (a non-sequential access) starts a new request, so single CPU stores never complete one (HYPOTHESIS, docs/cartridge.md "EEPROM") | a hardware test doing LDRH/STRH sequences, and an STM burst (sequential) | | U-CART-4 | GPIO STRB writes ignored "only in DS mode?"; what an input pin reads | GBATEK's question; no read-back rule | byte writes take effect; output pins read back the written level, SIO as input reads the RTC, other inputs 0 (HYPOTHESIS) | a hardware test | | U-CART-5 | S-3511 behaviour beyond GBATEK's comparison with the DS chip (invalid BCD, IRQ pulse, control bits 1 and 5, a command without the fixed code, SIO when not driven) | GBATEK | the DS chip's documented behaviour for shared registers; an impossible date or time write ignored whole; a bad command ignores the transfer; SIO high when idle; IRQs not modelled (HYPOTHESIS) | the Seiko S-3511A data sheet (not yet in the pins; check its terms first) | ## What the board's judges settled (rungs 0-1, 2026-11-19) Each row: what a hardware-calibrated judge required where a document said otherwise or said nothing. Values and the alternatives tried are in [timing.md](timing.md) "The board as built". | ID | Document | What the judge requires | Judge | | --- | --- | --- | --- | | U-SYS-6 | GBATEK: HALTCNT halts on any write | only writes made while the CPU runs in the BIOS halt | hw-test `haltcnt` "HALTCNT DIRECT" (`TEST ROM`) | | U-TIM-2 | GBATEK: the cartridge latches on N, counts on S | confirmed, including writes moving the counter: an S read returns the halfword after the last one served, whatever address is driven | hw-test `dma/burst-into-tears` (`TEST ROM`) | | U-TIM-5 (new) | GBATEK: N "at the beginning of each 128K-block" | for DMA, the access after a halfword driven at a block's last halfword is N in any direction, and an access at a block start is not N by itself (burst-into-tears' DMA read at `08000000` is S); a DMA run's first cartridge access is N | hw-test `bus/128kb-boundary` 18/18, `dma/burst-into-tears`, alyosha-tas `DMA/DMA_ROM_Fixed` and its readme (`TEST ROM`) | | U-DMA-1 | GBATEK: "2N+2(n-1)S+xI ... 4I if both source and destination are in gamepak memory" | ROM-to-ROM: one N (the run's first cartridge access), the rest S, and 2I, not 4I; the CPU keeps running for 3 cycles after the enable write before the DMA takes the bus | the mGBA suite's DMA timing rows (`TEST ROM`, calibration not stated: H?), hw-test `dma/start-delay`, `force-nseq-access` | | U-TIM-3 | GBATEK, the alyosha-tas readme | a data access to the cartridge empties the buffer (a fetch in its last cycle finishes first); the fetch after a write continues the stream although the core marks it N. **The readme's "When the prefetcher encounters a 0x20000 boundary, it stops and behaves as though it is full", read as a pause until the buffer empties, fails the same suite's `prefetcher_boundary_1` and `_3`; with the unit running on across the boundary all four boundary ROMs pass: the ROMs overrule this reading of the prose** (another reading may reconcile them) | the mGBA suite's timing table 2,020/2,020 (H?), alyosha-tas `prefetcher/*` 12/18 | | U-IRQ-1 | none | IME and IE reach the CPU's line 4 cycles after a write, IF 3 cycles after it is set (a timer sets it 2 cycles after its overflow tick); falling edges are delayed too | mGBA suite Timer IRQ (H?), hw-test `irq/irq-delay`, alyosha-tas `irq/IE`, `irq/IF` | ## What rung 4's judges settled (2026-11-21) | ID | Document | What the judge requires | Judge | | --- | --- | --- | --- | | U-VID-1 | GBATEK: the H-blank flag is 0 for 1,006 cycles | from the cycle VCOUNT changes: V-count flag +1, IF V-blank +2, IF V-count +3, H-blank flag +1,007 (0 for 1,007 cycles, one more than GBATEK), H-blank DMA +1,008, IF H-blank +1,009, V-blank DMA +1, video capture +4 from line 2 | hw-test `ppu/status-irq-dma` 12/12 (`TEST ROM`; it was 2/12 at rung 3) | | U-VID-14 | GBATEK's cycle counts only | an OBJ only part of which fits is still read until the budget runs out (its dots shown: HYPOTHESIS, as NBA shows them) | alyosha-tas `ppu/Sprite_Last_VRAM_Access_Free` (free BIOS; `TEST ROM`), with U-VID-16's caveat | | U-VID-8 | GBATEK: Y1>Y2 means Y2=160 | provisional: a vertical flag per window, set at Y1 and cleared at Y2 at each line origin, in V-blank too, so a window set in V-blank shows at the top of the next frame | destoer `window_midframe`'s expected screenshot (origin not stated, H?), matched dot for dot; the author's model in its source. Not a hardware photograph: kept open in substance, and GBATEK's rule is the alternative (it differs only on lines 0..Y2-1 after a Y1>Y2 or V-blank set) | **U-TIM-5** (new): the exact 128 KB rule. Evidence and choice above; open: whether the CPU's own accesses follow the same "after the block's last halfword" rule as DMA (the board keeps GBATEK's block-start rule for the CPU as well, which hw-test `bus/128kb-boundary` "LDM 07FFFFF8" needs, since that LDM's third word follows two OAM words). What would settle it: a hardware test of an LDM decrementing across a block boundary (STMDB/LDMDB from ROM). **Differences from the detectors (closed boxes; written down, not fixed).** On the 137 screen-verdict ROMs with the retail BIOS ([validation.md](validation.md) "The board"), the board and NanoBoyAdvance 1.8.3 disagree on 34: the board passes 15 that NBA fails (alyosha-tas `Bus/DMA_OAM_Bus`, `Bus/LDRSH_misaligned`, `DMA/DMA_ROM_Fixed`, four `LDM/*`, `Serial/serial_read_data`, `prefetcher/prefetcher_branch_thumb_2`, `_6`, `_arm`, `timing/dma_long`, `timing/prefetch_enable`, and both suites' `unsafe`), and fails 19 that NBA passes (six `DMA/DMA_pause_timing_*`, four `Interactions/Internal_Cycle_DMA_*`, `fifo_dma/fifo_5`, `irq/IF`, `irq/IRQ_sub_2`, three `ppu/*`, `prefetcher/prefetcher_boundary_1`, `_3`, `prefetcher_dma`). None of these was changed toward NBA. The two `unsafe` ROMs pass on the board because it follows GBATEK's SRAM mirror and ROM out-of-bounds rules (U-MEM-2, U-MEM-3), which jsmolka's README says fail on real hardware (from a flash cart): a passing `unsafe` is not evidence of hardware accuracy. ## Contradictions found between permitted sources (summary) 1. H-blank IRQ in V-blank: GBATEK against itself (U-VID-2). 2. FIFO size and DMA burst: GBATEK against gbadoc (U-SND-4, U-SND-6). 3. H-draw length: GBATEK 1,006 cycles of flag-0 versus 960 drawing cycles; CowBite ~1,004 (U-VID-1). 4. SRAM mirroring and ROM out-of-bounds reads: GBATEK and the mGBA suite against jsmolka's hardware notes (U-MEM-2, U-MEM-3). 5. `04000800` bit 0: two descriptions in GBATEK (U-SYS-4). 6. hw-test `sprite-hmosaic`'s "expected" picture is an emulator screenshot (U-VID-10). 7. The r12 "protocol" used for jsmolka's and alyosha-tas's ROMs is not a verdict ([validation.md](validation.md) "Reading the library ROMs").