# The oracle ladder for ngp-python Tiers: 1 hardware-captured, 2 manufacturer documents, 3 hardware-corrected community documents and tests run on real hardware, 4 HDL reimplementations, 5 emulators. A low tier is a detector, never a judge. **Plainly: there is no tier-1 and no tier-2 oracle for any NGP-specific chip in hand.** No SNK hardware manual, no Toshiba T6W28 data sheet, no K1GE/K2GE document, no hardware test ROM suite with captured verdicts, no die study. The CPU has tier 2 (Toshiba's 900/H book, in tlcs900h-python). ares's comments refer to an SNK "dev manual" (U1): it exists somewhere and was not found. The family owns no NGP (Aubrey's hardware list), so no probes either. Everything below the CPU starts as tier 3 at best. | # | Oracle | Tier | Terms | Pin | Decides | Cannot decide | | --- | --- | --- | --- | --- | --- | --- | | O1 | Toshiba TLCS-900/H book and data sheets | 2 | facts only | tlcs900h-python pins | the CPU, and what a 900/H part's peripherals look like | the NGP SoC's peripheral map (U3 there) | | O2 | Judge's ngpctech.txt (c. 2000) | 3 at best | no licence; facts only | SHA-256, Wayback copy of devrs.com | the memory map, the Z80 control ports as observed, the header layout, the BIOS vector table | anything it marks "?" or "unknown" (most of it) | | O3 | Gollum's tech-11.txt (Emu5ever, 2000) | 3 at best | "(c) 2000 Emu5ever"; facts only | SHA-256, emu-docs archive | register addresses, palette and sprite layouts as an emulator team found them | timing; its sprite flag layout disagrees with ares (C5) | | O4 | Mackintosh's NGPC Sound Tutorial (2001) | 3 | no licence; facts only | SHA-256 | the PSG command format and the driver protocol a homebrew author used on hardware | per-side behaviour, noise details | | O5 | ares NGP and T6W28 (`6e67c8b`) | 5 | ISC: readable, notice kept if anything is taken | sparse checkout | a readable, complete model: K2GE rendering, flash, RTC, T6W28; its comments mark its unknowns | hardware truth | | O6 | MAME 0.285 `ngp`/`ngpc` | 5 | GPL as a whole: closed box | the installed binary | channel write logs, pictures, a BIOS instruction stream | as O5; its NGPC run stays white under our recipe (U13) | | O7 | Mednafen NGP (NeoPop lineage; RACE is a NeoPop fork too) | 5 | GPL-2.0: closed box, built in emu-tools-gpl2 if needed | not built | a third opinion; NeoPop is the oldest lineage | as O5 | | O8 | NGP FPGA cores (e.g. a MiSTer/Analogue Pocket NGP core) | 4 | typically GPL: closed box; lineage to be checked before any use | not pinned | timing of an independent reimplementation | hardware truth | | O9 | Commercial games and the real BIOS (bring your own) | the programs themselves | firmware, never shipped | SHA-1 (census.md) | what software expects: the BIOS boot, setup screens, games reaching gameplay | how the hardware does it | ## What ran in this phase - `python -I scripts/fetch_references.py --verify`: 4 files and 1 repository, 0 problems. - `scripts/census.py carts` and `bios`: 141 zips, 137 cartridge images, 4 BIOS images held (see [census.md](census.md)). - `scripts/mame_run.py`: four runs (see [mame-oracle.md](mame-oracle.md)); the NGP BIOS reached its language screen; the NGPC stayed white. - tlcs900h-python's MAME trace of the NGPC BIOS: 66,779 instructions in 3 frames. ## The ladder (board rungs) | Rung | Content | Judge | Detector | | --- | --- | --- | --- | | B0 | memory map, SoC register file, the cartridge header, the BIOS mapped | O2, O3 where they agree; O5 for gaps, tagged OBSERVED | O6 write log | | B1 | the BIOS boots from reset: CPU stream equal to MAME's trace for N frames, the power button, the first K2GE writes | O9 (the BIOS's own behaviour) | O6 trace and write log | | B2 | K1GE/K2GE pictures: the NGP BIOS's language screen, then games' title screens | none above 5; pictures compared with O5 and O6 | O5, O6 | | B3 | the Z80, shared RAM, NMI/IRQ, the T6W28 and DACs | O4 for the command format; O5 for structure (OBSERVED) | O6 write log, O5 audio | | B4 | flash writing (saves), the RTC, power down/resume | O2 vectors; O5 | O6 | | B5 | smoke list of games to gameplay (problem games and well-behaved ones) | O9 | O5, O6 | | B6 | timing questions (state rate U2, sprite line buffer U2-video, shared-RAM arbitration U5) | **a probe ROM on a real NGPC** (none available) | the three emulators disagreeing | Seeded faults for the gate: tone periods accepted on the right port; noise rate 3 taking tone 2's period; the colour byte ignored (monochrome games in colour mode); one RTC BCD carry wrong; the flash ID returning a wrong vendor.