# Claims Each claim the repository makes, with the evidence for it and the tier of that evidence. Tiers are [phase0.md](phase0.md)'s: 1 a capture from hardware, 2 the manufacturer, 3 a community document checked on hardware, 5 an emulator. Section numbers are [spec.md](spec.md)'s. "Checked by" names what was run on 2026-11-12; all of it passed on PyPy 3.11 unless a difference is stated. **Not claimed anywhere:** that any variant is exact to a console; that the Sega variants' noise, volume curve, tone value 0, power-on state or test bits match hardware; that the core equals any other emulator. ## Claims with evidence above the emulator tier | # | Claim | Evidence | Tier | Checked by | |---|---|---|---|---| | 1 | `SN76489AN` white noise equals John Kortink's capture of a BBC Micro's chip: 32,767 of 32,767 bits, inverted, at rotation 20,863 | the capture itself (S9) | 1 | `tests/test_capture.py` | | 2 | Its noise register has 15 stages and its periodic noise pulses once in 15 shifts | S9 | 1 | `test_capture.py`, `test_manuals.py` | | 3 | The register map, the latch and data bytes, the two-byte tone load [2, 3] | TI data sheet, Sega's manuals | 2 | `test_manuals.py` | | 4 | A tone value n gives a cycle of exactly 32n input clocks, for all 51 notes of the Game Gear manual and for n = 1 [5.2, 5.5] | Sega's Game Gear manual, psg-6 and psg-7 | 2 | `test_manuals.py` | | 5 | Tones have a 50 % duty [5.3] | the same, psg-7 | 2 | `test_manuals.py` | | 6 | Sixteen attenuation steps of 2 dB, the last one off; channels are summed [7] | TI Table 1, Sega's tables | 2 (nominal: TI gives tolerances) | `test_manuals.py` | | 7 | Noise shifts at N/512, N/1024, N/2048, or once per cycle of the third tone's output [6.1] | TI Table 3 as S2 prints it, Sega's manual | 2 | `test_manuals.py` | | 8 | On Sega's parts periodic noise is one pulse in 16, matching all 33 rows of the manual's synchronous-noise table [6.2.1, 6.2.2] | Sega's Game Gear manual, psg-7 and psg-8 | 2 | `test_manuals.py` | | 9 | A write to the noise control clears the shift register [6.4.1] | TI data sheet, Sega's manual | 2 | `test_manuals.py` | | 10 | The Game Gear's stereo register: eight bits, each one channel to one side, all set at power-on [9] | Sega's Game Gear manual, main-4 | 2 | `test_manuals.py` | | 11 | The Game Gear is silent after power-on [10.1] | the same, psg-1 | 2 | `test_manuals.py` | | 12 | Maxim's worked write sequences; a latch byte alone moves a tone [3.2] | SMS Power wiki (S6) | 3 | `test_community.py` | | 13 | A data byte reaches the attenuation and noise registers on Sega's parts [3.6] | S6 | 3 | `test_community.py` | | 14 | Sega's white noise follows the rule "16 stages, taps 0 and 3, reset to the top bit" [6.2.4]. This is agreement with a rule; **no capture of a Sega part exists** | S6 | 3 | `test_community.py` | | 15 | Every noise write restarts the register, even an unchanged value [6.4.2] | S6, S24 | 3 | `test_community.py` | | 16 | Sega's Master System parts start silent with zeroed registers [10.2] | S6, hedged in the source | 3 | `test_community.py` | | 17 | The discrete chip is not silent at power-on [10.4] | MacDonald's SC-3000H notes (S10) | 3 | `test_community.py` | ## Provisional: decisions, not evidence Held as data on `PSGVariant`. The tests pin them so a change is seen; they prove nothing about hardware. | # | Behaviour | Basis | Tier | |---|---|---|---| | P1 | Tone value 0 on Sega's parts behaves as value 1 (D3) | MAME's note, "Verified on SMS hardware", against Maxim | 5 | | P2 | Tone value 0 on the discrete chip is a period of 1,024 (D4) | MAME's note; an inference from TI's description | 5 | | P3 | The discrete chip powers on at attenuation 0 with tone values 0 (D5) | that it sounds: S10, tier 3. The values: MAME | 5 | | P4 | Tone 0 is latched at power-on (D6) | Maxim's 2003 text; MAME says otherwise | 3, disputed | | P5 | A data byte reaches attenuation and noise on the discrete chip | MAME | 5 | | P6 | `write_test`: bit 9 enables, bits 11-10 choose the channel whose level replaces all four outputs (D7) | one paragraph on Plutiedev, hardware not named | 3, untested | | P7 | Sample playback (a channel at tone value 0 or 1) averages half the channel's level | follows from claim 4 and P1 | as those | ## Choices: nothing speaks to them Unsigned levels (polarity); a write takes effect at the next tick; the starting state of counters, flip-flops and divider; a new tone value waits for the next reload; noise at rate 3 shifts when the third tone rises; after a noise write the output is the register's last stage and the rate divider is not restarted; the fixed-rate divider stands still during rate 3; `write_stereo` does nothing off the Game Gear. Each is labelled CHOICE in the code and pinned in `tests/test_provisional.py` or `tests/test_manuals.py`. ## Claims about the checks themselves | # | Claim | Evidence | |---|---|---| | C1 | Each rung can fail: 22 deliberate faults, every one noticed; rung 0 notices 5, rung 1 5, rung 2 13, rung 3 13, the provisional tests 16 | `validation/faults.py`, run 2026-11-12 | | C2 | Against Nuked-PSG run as a closed box, `YM7101_PSG` is identical at every tick on 19 of 51 streams, and differs on the rest in the ways [validation.md](validation.md) lists | `validation/closed_box.py --sweeps`, run 2026-11-12. Tier 5: a detector | | C3 | Timing differences 2 to 5 of that list account for all of the difference on 24 more streams; 8 are left (4 test-override, 4 containing a noise-rate transition that was not characterised) | the same; `validation/as_observed.py` | | C4 | Nuked-PSG's source was not read; the harness uses only calls declared in its header | `nuked_harness.c`, now nuked-harness's `psg-stream` (a GPL tool outside this repository, `$EMU_TOOLS_GPL/tools/nuked/build/psg-stream`); the header's state structure was visible and is not used | | C5 | One value was chosen after seeing the closed box: the tone flip-flops start set (the seed's value), because the first comparison was inverted. It is a choice with no source either way. No other constant was tuned to a detector | git history: commit "Rung 5: Nuked-PSG as a closed box, and the starting state taken from the seed" | | C6 | MAME's device was read (BSD-3-Clause) and not run | validation.md | | C7 | The live SMS Power page equals the snapshot the spec was written from | fetched 2026-11-12, same SHA-256 | ## What has no evidence at all Rung 4 is empty: no recording of a Sega console's PSG exists here. Until one does, claims 12 to 16 and every provisional row stand at the tier shown and no higher.