# Proposal: when real units overrule the die Status: **accepted** by Aubrey 2026-11-19 and written into the charter (axis A) and the methodology ("When real units overrule the die"), with one case he added: Breaknes' gate-level PPU model took our findings and rewrote them in its own style, so die models are corrected by evidence too. ## The question The charter ranks evidence, strongest first: measurements and captures; die-level analysis and models; test ROMs with verdicts captured on real units; documents; black-box emulators; fitted constants; hypotheses. Read as a strict order, a die reading beats a test ROM. Five times now the family has met a case where that order, applied blindly, would have chosen wrong or chosen too widely. Each time the work got the right answer by judgement, and the judgement was the same each time. This proposal writes it down. ## The cases | Case | Die evidence | Real-unit evidence | What we did | | --- | --- | --- | --- | | a2600-python C27, HMOVE on cycle 74 | Sim2600 netlist (transistor-level, run): the comb latch set on the wrap's own half clock is cleared | seven consoles (Mott's NTSC table; ale-79's six PAL/SECAM tables, #699): the next line gets the comb | followed the consoles on the tie; matched the die everywhere else; the departure is counted exactly in `tests/test_die_traces.py` (`KNOWN_DEPARTURES`) | | pokey-python U1, first 64 kHz IRQ after init | ijor's redrawn schematic, read by eye: init enters the 64 kHz divider at a phase-2 gate, giving +26 | Acid800 `pokey_inittiming` verdicts on real machines: the 3-cycle-IRQ count fails at +26, passes at +25 | kept +25 (TEST ROM), die reading recorded with what would settle it (2026-11-19, Aubrey) | | sm83-python HALT and STAT (gameboy-python) | die models settled "an IRQ raised in HALT's fetch is not seen", on timer interrupts | Gambatte `halt/late_m0i*`, AGE `halt-m0-interrupt`: a STAT interrupt raised then is seen | die rule kept for the source it was measured on; STAT marked `halt_sees=True`. The die was right, its scope was narrower than the rule we wrote from it | | Breaknes PPUSim (famicom-python's PPU judge) | a gate-level model built from the die; it evaluates its core once per PCLK phase, so mid-phase register writes lag | our board's findings, checked against Visual 2C02 and AccuracyCoin (#529; #535-#538 posted 2026-10-26) | the author took the finding and rewrote it in PPUSim's own gate-level style (#529). A die model is a model, corrected by evidence like any other | | megadrive-python `nuked-md` row | Nuked-MD (die-derived) shows artifacts, e.g. the OD2 junk frame | BlastEm and our own expectations show clean transitions | the die behaviour lives on its own machine row, `nuked-md`; hardware-backed defaults stay on the others | The opposite also happens and must stay possible: sm83's die models overruled the brief on JR's internal cycle and HALT's cycles, and the 2600's die traces settled a dozen places where Stella and Gopher2600 were late (C30-C39). This proposal does not demote the die. It says when the die is not the right witness for a particular observable. ## What the cases share 1. **The disagreement sits on a race.** C27 and U1 are both the same shape: two events on the same clock edge or within one clock phase, where the outcome depends on which settles first. A netlist simulation decides such races by its own delay model (zero or unit delay), not by the silicon's analogue timing; a redrawn schematic decides them by which phase label the redrawer wrote. Real units decide them by physics. Away from races the die is excellent; on races it is a model of the mechanism, not an observation of the outcome. 2. **The real-unit evidence observes the exact thing.** The consoles' tables and the test ROM's count measure the very observable in question, on several units. The die evidence reaches it by inference through a mechanism. 3. **Die evidence comes in grades.** A transistor netlist run in simulation (Sim2600, dmg-sim, Visual2C02) is not the same as a schematic redrawn from photographs and read by eye (ijor's), which its own author says is close to the die but not identical. 4. **Die evidence has a scope.** It holds for the conditions that were simulated or traced. A rule generalised beyond them (sm83's HALT rule to every interrupt source) is a hypothesis outside that scope. 5. **The overruled reading was never thrown away.** Each time it stayed as a counted departure, a switch, or a machine row, with what would settle it. ## Proposal Keep the charter's order as the default and add a rule for disagreements: - **Directness first.** When two pieces of evidence disagree about one observable, the one that observes it directly on real units outranks the one that reaches it by inference, whatever their kinds. Measurements and test-ROM verdicts on several units observe; a die reading of a mechanism infers. - **Races go to real units.** A die result that turns on the order of events within one edge or phase is decided by real-unit evidence on that observable when such evidence exists. Tag the behaviour `TEST ROM` or `MEASURED` with "over DIE (race)" and cite the die reading. - **Grade the die.** In comments and claims, say which kind: `DIE (netlist, simulated)` or `DIE (schematic, read)`. A read schematic sits below a simulated netlist, and on a race below a test ROM. - **Scope the die.** Write down the conditions a die result was taken under; applying it beyond them makes it a `HYPOTHESIS` until checked. - **Keep the loser.** The overruled reading stays as a counted departure in the die-trace test, a switch, or a machine row (`nuked-md`, `c23-mame`). It is never deleted, and the entry names the experiment that would settle it (a probe ROM on a real unit, a deeper die trace). - **Unit disagreement is a row, not a vote.** If real units disagree among themselves, the difference is a revision field on the machine row, and the die may well be the tie-breaker for which revision it shows. What this does not change: the die still beats documents, emulators and fits; where no real-unit evidence touches the observable, the die decides; and a test ROM whose verdicts were not captured on real units is only a document. ## Suggested text For the charter, axis A, after the ranked list: > The order is the default. When two pieces of evidence disagree about one observable, the > one that observes it directly on real units outranks one that infers it through a > mechanism; in particular a die result that turns on a race within one clock edge or > phase yields to real-unit measurements or test-ROM verdicts on that observable. The > overruled reading is kept and counted, never deleted. For the methodology, under the evidence tags: > `DIE` names its grade: a netlist run in simulation, or a schematic read by eye. It names > its scope (the conditions simulated or traced). When real units overrule it on a race, > the behaviour is tagged `TEST ROM` or `MEASURED` "over DIE (race)", the die reading is > kept as a counted departure, switch or machine row, and the entry names what would > settle it. Lesson (2026-11-19): POKEY's first 64 kHz interrupt; earlier the 2600's > HMOVE-on-cycle-74 tie (C27).