# The oracle ladder **There is no hardware-tier oracle for this board.** The CPU has hardware-captured oracles in z80-python (z80test, ZEXALL); nothing captured on a real Pac-Man board is known to us. | Tier | Oracle | Licence / pin | Decides | Cannot decide | | --- | --- | --- | --- | --- | | 1 | z80test, ZEXALL (in z80-python) | fetched there | the CPU | the board | | 2 | Midway and Sega manuals and schematics (PMM, PCS, MSS, PGS) | facts only; SHA-256 pins | clocks, parts, the NVC284/NVC285 TTL equivalents, the WSG's TTL, the latch, DIP and test meanings | Ms. Pac-Man's PAL logic; anything the scan leaves unreadable | | 2 | the board's own power-on test (RAM/ROM checks, the service-mode test screen and sound test, PMM) | the player's ROMs | that a model passes the maker's tests: a smoke row | timing | | 3 | LOM | facts only | nothing alone | | | 5 | MAME 0.285 traces, snapshots, audio | closed box | **detector** | who is right | | 5 | emu-galaga's WSG (Rust, MIT) | family | a second WSG detector on a shared register stream | Pac-Man's own wiring | ## Gate cases (proposed for milestone 1) 1. Lockstep of the Z80 instruction stream, every write to 5000-50FF and every I/O write against MAME's `pacman` trace: from reset for 30 frames, and 3 frames at frame 600 (attract), `0 unexplained` ([mame-oracle.md](mame-oracle.md)). 2. Interrupt entry lines (224) and vectors equal MAME's. 3. Unit tests of the map, the latch bits, the vector latch's refresh rule ([cpu-cores.md](cpu-cores.md)), the WSG register file. 4. Pictures at fixed frames against MAME snapshots (M2); WSG audio against MAME's and emu-galaga's on the same register stream (M4). 5. Seeded faults: tile address order, sprite flip, vector latch, WSG voice 2 low nibble, each caught.