# Start here: the Mega Duck on one page ## Sources and their tiers | Short name | Source | Tier | Licence, verdict | | --- | --- | --- | --- | | **MDI** | bbbbbr, "Mega Duck / Cougar Boy Console Info" (`reference/src/megaduck-info/README.md`, git `555c6fe`, 2026-08-12) | 3 (a community compilation: "much of it researched by others, some by me"; its register tables are what homebrew runs on, its sound fixes are bbbbbr's own work) | CC0-1.0 (its LICENSE): usable; cited by section | | **HWINC** | bbbbbr's Mega Duck `hardware.inc` (hUGEDriver `07a5496`, `reference/docs/hugedriver-megaduck-hardware.inc`) | 3 (toolchain) | gbdev's hardware.inc is CC0-1.0; the fork states none: facts only | | **SR** | Sean Riddle, "Mega Duck Cart Dumping" (`reference/docs/seanriddle-megaduck.html`, SHA-256 `d808417c...`) | 3 for what he traced on a cartridge board and dumped; 5 for his bank-switching lines, which he took from MESS's source | none stated: facts only | | **MAME** | MAME 0.285 run as a binary: `megaduck`, `mduckspa` (`-listxml`, a trace) | 5 (detector) | `nintendo/gb.cpp`, `bus/gameboy/mdslot.cpp`, `rom.cpp`, `video/gb_lcd.cpp`, `sound/gb.cpp`, `cpu/lr35902/lr35902.cpp`: `license:BSD-3-Clause` (first lines read 2026-11-26). **Closed box** by the Phase 0 brief; bodies not opened | | **MAME-LIST** | MAME's `hash/megaduck.xml` at tag `mame0285` | (catalogue) | CC0-1.0 | | **NI** | No-Intro "Welback - Mega Duck" (`$NO_INTRO_DIR`), 25 ROMs | (catalogue) | the publishers' copyright: read in place | | **GB** | gameboy-python (`../gameboy-python` `ff3c643`), sm83-python (`40c387f`), gb-apu-python (`d886019`) | their own ladders (TEST ROM on DMG hardware results) | MIT, the family's | **No tier-1 or tier-2 judge exists for the Mega Duck.** No manufacturer document, no die study, no hardware-run test suite is known; we have no unit (Aubrey's hardware list has none). What the Mega Duck shares with the DMG is judged, if Decision 1 holds, by the DMG's judges, on the HYPOTHESIS that the Duck's silicon behaves as a DMG's; that hypothesis is the biggest unknown (U1). ## The machine (MDI "Porting from Game Boy"; MAME `-listxml`) | Part | What | Where it lives | | --- | --- | --- | | CPU | an SM83 (MAME: "Sharp LR35902" at 4,194,304 Hz); the chip under the epoxy is not identified | **sm83-python** (cpu.md) | | PPU | DMG-style 160 x 144, four greys; registers at `$FF10-$FF1B` in another order, LCDC bits permuted (registers.md) | gameboy-python's PPU (MAME uses its "DMG PPU" device) | | APU | DMG's four channels; registers at `$FF20-$FF2E` and `$FF40-$FF46`, four of them with changed data bits; wave RAM at `$FF30` as on the DMG (HWINC) | **gb-apu-python** behind a permutation (registers.md) | | Joypad, serial, timer, IF/IE, HRAM | at the Game Boy's addresses (HWINC; MDI: serial identical) | gameboy-python | | Cartridge | 36-contact 0.1" edge connector (SR); no header, no logo; entry at `$0000`; flat 32 KB, MD1 (32 KB banks, `$B000`), MD2 (16 KB banks at `$4000`, `$0001`) | board (cartridges.md) | | Boot ROM | **none** on the handheld (MDI); the laptops have a 512 KB system ROM (census.md) | - | | Laptops | Super Quique (Spanish), Super Junior Computer (German): system ROM, keyboard, RTC, speech, printer port, memory-card slot, peripherals on the serial port (MDI) | late milestone | ## Clocks 4,194,304 Hz (MAME); a frame of 70,224 dots at 59.73 Hz (MAME's screen `59.732155`, the DMG's rate). The MAME trace (mame-oracle.md) ran 12,639,332 T-cycles in 3 emulated seconds (4.21 M/s) and its OAM-DMA register `$FF1A` was written 170 times (56.7 a second, once a frame after start-up). No measurement of a real unit's crystal is known (U2). ## What to read next relation-to-gameboy.md (the decision), registers.md, memory-map.md, cartridges.md, cpu.md, census.md, domains.md, validation.md, mame-oracle.md, provenance.md, handoff-brief.md. ```sh python -I scripts/fetch_references.py # about 8 MB (megaduck-info's photos and WAVs) python -I scripts/fetch_references.py --verify NO_INTRO_DIR=... MAME_ROMPATH=... python -I scripts/census.py MAME_ROMPATH=... python -I scripts/mame_trace.py --cart "$NO_INTRO_DIR/Welback - Mega Duck/Armour Force (World).zip" --seconds 3 ```