# Validation: the oracle ladder Tiers (family method): 1 hardware-captured > 2 manufacturer documents > 3 hardware-corrected community documents and tests passing on hardware > 4 HDL reimplementations > 5 emulators. A low tier is a detector, never a judge. **No tier-1 or tier-2 oracle exists for the Mega Duck**, and there is no unit to probe. The ladder's top per part: | Part | Top judge today | Tier | What would raise it | | --- | --- | --- | --- | | CPU | sm83-python's DMG judges (Gekkio's VHDL, SingleStepTests, Mooneye/blargg on DMG), applied by HYPOTHESIS U1 | 1-3 for a DMG; 0 for the Duck | `cpu_instrs` and Mooneye HALT tests re-linked for the Duck, run on a unit (cpu.md) | | Register map and bit permutations | MDI + HWINC (homebrew built on them runs on units) | 3 | a register read-back probe on a unit | | PPU / APU behaviour | gameboy-python's DMG judges, by HYPOTHESIS | 1-3 for a DMG; 0 for the Duck | dmg-acid2 and blargg `dmg_sound` re-linked for the Duck, run on a unit | | Cartridge connector, bank latch | SR (traced a board) | 3 | a populated MD1/MD2 board traced | | Mapper behaviour per game | the 25 games (they run on units) + MDI | 3 (weak) | - | | Laptops | MDI's partial notes | 3 | the Spanish ROM's peripheral protocol documented (decision 5) | ## Oracles | Oracle | Tier | Licence, pin | Can decide | Cannot decide | | --- | --- | --- | --- | --- | | MDI, bbbbbr's megaduck-info | 3 | CC0-1.0, git `555c6fe` | register addresses and data changes, mappers, start-up conditions, laptop overview | timing; anything about the silicon | | HWINC, bbbbbr's hardware.inc | 3 (toolchain) | gbdev CC0 base, fork unlicensed: facts; SHA-256 `9712f281...` | which registers stay at DMG addresses | behaviour | | SR, Sean Riddle's page | 3 (traced, dumped) / 5 (bank lines from MESS) | none stated; SHA-256 `d808417c...` | connector, the latch design, dump integrity | mapper detail (his is MESS's) | | gameboy-python, sm83-python, gb-apu-python | their own ladders | MIT, `ff3c643`, `40c387f`, `d886019` | DMG behaviour | the Duck's (U1) | | The 25 NI games | 3 in the weak sense | read in place | that what they use exists (vectors, mapper registers, the register map) | anything they do not exercise | | MAME 0.285 binary | 5 | BSD-3-Clause files, run as a closed box | PC flow, I/O and bank writes, pictures | Duck timing (it runs DMG devices) | | SameDuck / Super Junior SameDuck (LIJI32's branch, bbbbbr's fork) | 5 | SameBoy is Expat (code OK with notice); the forks' Duck changes: licence per file not checked; GitHub reports "Other" | as MAME; MDI says its audio is "correct" | as MAME. Not fetched here (decision 6) | | MiSTer Gameboy core (`rtl/megaswizzle.sv`) | 4 | no LICENSE file in the repository (top-level listing, 2026-11-26) and no licence header in `megaswizzle.sv`: unlicensed, **closed box** (run only) | a second detector if simulated, built in emu-tools-gpl | it is a reimplementation | | Analogue Pocket openFPGA Mega Duck core (spiritualized1997) | 4 | not checked: closed box until checked | as MiSTer | - | ## The rung ladder (exit tests; carried out inside gameboy-python if decision 1 holds) | Rung | What | Judge | Exit | | --- | --- | --- | --- | | 0 | the `megaduck` row: power-on at `$0000`, no boot ROM, flat carts | MDI, census | all 9 flat NI images run to their main loop; DMG rows' traces unchanged (gameboy-python's suites as before) | | 1 | the I/O decode table and bit permutations | MDI, HWINC | unit tests per register and per LCDC/NR bit, writes and reads; identity table proven on the DMG rows | | 2 | MD1, MD2 cartridges, SHA-1 table | census, SR, MDI | all 25 NI images reach their main loop; the mapper is picked from the table; an unknown image needs `mapper=` | | 3 | MAME lockstep (detector) on 3-5 games: PC flow, I/O and bank writes for a few seconds | MAME | flows agree until a timing-dependent branch, each divergence explained | | 4 | pictures and sound against MAME (detector) at matching points | MAME | equal or explained | | 5 | Duck-linked test ROMs (blargg `cpu_instrs` over serial, dmg-acid2, `dmg_sound`) run on the board | the DMG verdicts, by HYPOTHESIS U1 | pass as on the DMG row; a unit run would make it a judge | | 6 | seeded faults (one permuted bit, one swapped address, MD2 bank 0 -> 0) | rungs above | each caught | | 7 | late: the laptop row (system ROM, MD0, serial peripherals) | MDI, the ROM's own behaviour | defined when decision 5 is taken | ## Proposed rows for emulator-lineage docs/sources.md (In this report only; the file is not edited here.) | Source | Terms | Verdict | Notes | | --- | --- | --- | --- | | bbbbbr, megaduck-info (github.com/bbbbbr/megaduck-info, `555c6fe`) | CC0-1.0 (its LICENSE, read 2026-11-26); no AI notice in README; bbbbbr.github.io serves no robots.txt (404) | code OK | megaduck-python's main document (tier 3, a compilation crediting Sean Riddle, Nitro2k, Toxa and others; cites MAME, MiSTer). Names none of the furrtek lineage (searched 2026-11-26) | | bbbbbr's Mega Duck `hardware.inc` (bbbbbr/hUGEDriver `07a5496`, `include/hardware.inc`) | gbdev hardware.inc is CC0-1.0; the fork's repository states no licence | facts only | every relocated register as RGBDS constants | | Sean Riddle, "Mega Duck Cart Dumping" (seanriddle.com/megaduck.html) | none stated; robots.txt allows all (2026-11-26); no AI notice on the page | facts only | cartridge connector and latch traced on a board (tier 3); his bank-switching lines came from MESS's source (tier 5) | | MAME Game Boy / Mega Duck files: `nintendo/gb.cpp`, `bus/gameboy/mdslot.cpp`, `bus/gameboy/rom.cpp`, `video/gb_lcd.cpp`, `sound/gb.cpp`, `cpu/lr35902/lr35902.cpp` | BSD-3-Clause by `license:` lines (read 2026-11-26, `mame0285`) | code OK (with notice) by licence; run as closed box by the 2026-11-26 Phase 0 brief | megaduck-python's detector | | MAME `hash/megaduck.xml` | CC0-1.0 | code OK (with attribution) | covered by the "MAME software lists" row | | bbbbbr/megaduck-quique-disasm | no licence stated (GitHub API, 2026-11-26); a disassembly of Cefa Toys' system ROM | excluded for code (firmware transcription, unlicensed); its prose notes facts only, if read | the laptop's peripheral protocol | | SameDuck (LIJI32/SameBoy branch `SameDuck`), Super Junior SameDuck (bbbbbr) | SameBoy Expat; the forks report "Other" (GitHub API): per-file check owed | closed box until checked | Duck detectors | | MiSTer-devel/Gameboy_MiSTer (incl. `rtl/megaswizzle.sv`) | no LICENSE file (top-level listing, 2026-11-26); `megaswizzle.sv` has no licence header | closed box only (unlicensed: run only, never redistributed) | tier 4; MDI cites `megaswizzle.sv` as a reference | | ManCloud/MegaDuck_SJC (laptop schematics) | GPL-3.0 (GitHub API) | facts only (schematics are hardware facts; files not copied) | Super Junior Computer schematics | | GBDK-2020 Mega Duck target | mixed (its `licenses/` folder; GitHub reports "Other") | facts only, not fetched | a toolchain for Duck probe programs |