# Romset census (MAME 0.285, run 2026-11-26) `MAME_ROMPATH=... python -I scripts/census.py` (10 s wall). MAME is used only as a list tool (`-listsource`, then `-listxml` for the machines the Data East driver files below declare); every zip in `$MAME_ROMPATH` (a non-merged set: one zip per machine) is checked by the CRC-32s of its directory against MAME's list. Nothing is decompressed, copied or kept. The full table is `reference/census/machines.tsv` (git-ignored). ## Scope: which MAME files MAME 0.285 has 67 source files under `dataeast/`. This board takes the 16-bit 68000 (and HuC6280-main) machines: 22 driver files. The ARM, SH-2 and 8-bit files are listed only to mark the boundary. | Family (docs/boards.md) | MAME driver files | Machines | Parents | Zips present and complete | | --- | --- | ---: | ---: | ---: | | `karnov` (1987-88): own sprite chip | `karnov.cpp` | 10 | 3 | 10 | | `dec0` (1987-90): BAC06 x3 + MXC06 | `dec0.cpp` | 39 | 9 | 39 | | `bac06`: single 68000 boards on the dec0 chips | `stadhero.cpp`, `madmotor.cpp` | 3 | 2 | 3 | | `bac06-huc`: the same chips, HuC6280 main CPU | `actfancr.cpp` | 6 | 2 | 6 | | `deco16` (1989-95): DECO 55 tilemaps + DECO 52 / MXC06 sprites | `vaportra`, `cbuster`, `darkseal`, `supbtime`, `funkyjet`, `cninja`, `dietgo`, `rohga`, `boogwing`, `dassault`, `pktgaldx`, `sshangha`, `dblewing`, `lemmings`, `mirage`, `dreambal` (`.cpp`) | 94 | 30 | 94 | | `bootleg`: Korean and bootleg boards on DECO 52-style sprites | `tumbleb.cpp` | 23 | 17 | 23 | | **in scope** | 22 files | **175** | **63** | **175** | | out: ARM (DE102 and others), SH-2 | `deco32`, `deco156`, `simpl156`, `backfire`, `deco_mlc` | 62 | 18 | 62 | | out: HuC6280 + HuC6270 (a PC Engine relative) | `battlera.cpp` | 4 | 1 | 4 | Years (all 241 rows): 1987 8, 1988 24, 1989 32, 1990 19, 1991 43, 1992 31, 1993 22, 1994 19, 1995 22, 1996 17, 1997 3, 1998 1. Parents in scope. **karnov**: Karnov, Atomic Runner Chelnov, Wonder Planet. **dec0**: Heavy Barrel, Bad Dudes vs. Dragonninja, Birdie Try, Robocop, Hippodrome (Fighting Fantasy), Secret Agent (Sly Spy), Midnight Resistance, Boulder Dash, Bandit (US prototype). **bac06**: Stadium Hero, Mad Motor (prototype). **bac06-huc**: Act-Fancer, Trio the Punch. **deco16**: Vapor Trail, Crude Buster (Two Crude), Dark Seal, Super Burger Time, China Town, Tumble Pop, Funky Jet, Sotsugyo Shousho, Caveman Ninja, The Cliffhanger: Edward Randy, Mutant Fighter, Robocop 2, Diet Go Go, Rohga, Wizard Fire, Nitro Ball, Hangzo, Schmeiser Robo, Boogie Wings, Thunder Zone (two 68000s), Pocket Gal Deluxe, Super Shanghai Dragon's Eye, Double Wings, Lemmings (prototype), Mirage Youjuu Mahjongden, Dream Ball. ## CPUs (MAME's declaration; OBSERVED, a detector's choice) | Family | Main | Second CPU | Third | Machines | | --- | --- | --- | --- | ---: | | karnov | 68000 @ 10 MHz | 6502 @ 1.5 MHz (sound) | i8751 @ 8 MHz (7), i8031 (2 bootlegs), none (1 bootleg) | 10 | | dec0 | 68000 @ 10 MHz | R65C02 @ 1.5 MHz (sound) | i8751 @ 8 MHz: `hbarrel`, `baddudes`, `birdtry`, `bandit` and clones (9) | 9 | | dec0 | 68000 @ 10 MHz | R65C02 @ 1.5 MHz | **HuC6280 @ 1.342 MHz as `sub`** beside an MB8421 (`robocop`, `hippodrm` and clones: 10) | 10 | | dec0 | 68000 @ 10 MHz | HuC6280 as the sound CPU: 3 MHz (`secretag`/`slyspy`, `bouldash`: 7), 2 MHz (`midres`: 4) | none | 11 | | dec0 bootlegs | 68000 @ 10 MHz | R65C02, or Z80 @ 3 or 5 MHz | 68705R3 (`midresb`) or none | 9 | | bac06 | 68000 @ 10 or 12 MHz | 6502 @ 1.5 MHz (`stadhero`) or HuC6280 @ 4.03 MHz (`madmotor`) | | 3 | | bac06-huc | **HuC6280 @ 7.16 MHz** | 6502 @ 1.5 MHz | | 6 | | deco16 | 68000 @ 10.74, 12, 14, 14.16 or 16 MHz | HuC6280 @ 2.685-8.055 MHz (71), Z80 (10), 6809E (`lemmings`), none (6) | a second 68000 @ 14 MHz (`thndzone` and clones: 6) | 94 | | bootleg | 68000 @ 12-15 MHz | Z80 (17) or none | AT89C52 / 87C52 (5), PIC16C57 (1) | 23 | **The dec0 sound CPU is a CMOS 65C02.** MAME declares a Rockwell R65C02; Data East's Bad Dudes manual (MBD p. 1) says "a 65C02A Microprocessor to control the Yamaha Sound Generator circuit" (DOC). The maker of the part (and so whether Rockwell's bit instructions exist on it) is U5. `karnov` and `stadhero` are an NMOS "MOS Technology 6502" in MAME. ## Sound chips | Family | Chips (MAME) | Machines | | --- | --- | ---: | | karnov | YM2203 @ 1.5 + **YM3526** @ 3 MHz (one bootleg YM3812) | 10 | | dec0, bac06(stadhero), bac06-huc | YM2203 @ 1.5 + **YM3812** @ 3 MHz + MSM6295 @ 1 or 1.056 MHz (+ the HuC6280's PSG where a HuC6280 is fitted) | 43 | | dec0 bootlegs | YM2203 (+YM3812) + two MSM5205 | 3 | | madmotor | YM2203 + YM2151 + two MSM6295 | 2 | | deco16 | YM2151 @ 3.58 MHz + one or two MSM6295 (1.007 and 2.014 MHz), plus a YM2203 @ 4.03 MHz on 32 machines; a few with MSM6295 only | 94 | ## Video and protection devices MAME instantiates | Family | Video | Protection / I/O | Machines | | --- | --- | --- | ---: | | karnov | `deco_karnovsprites`, `deco_rmc3` | the i8751 | 10 | | dec0, bac06, bac06-huc | 3 x `deco_bac06` (2 on `actfancr`, `stadhero`), `deco_mxc06` | i8751, or the HuC6280 sub + MB8421 | 48 | | deco16 | 1 or 2 x `deco16ic` ("DECO 55 / 56 / 74 / 141 Tilemap Generator") + `decospr` ("DECO 52 Sprite"); `vaportra` keeps the MXC06; `deco_ace` on `boogwing`; `decocomn` on the `rohga` file | `deco104` (36), `deco146` (28), `deco_irq` (15); none on `vaportra`, `cbuster`, `darkseal`, `supbtime`, `dassault`, `mirage` | 94 | | bootleg | `decospr` only | MCS-51 or PIC MCU on some | 23 | ## Dumps MAME marks missing or bad (in scope) - `nodump`: `drgninjab` i8751; `ffantasybl` 68705U3; `karnovjbl` MCU; `mastbond` a GAL; PALs on `dassault`/`thndzone` (7 each), `dblewing` (1), `dietgo` (3); the 87C52 of six `tumbleb` sets; `thndzonej`'s second sprite ROMs and an OKI ROM. - `baddump`: `funkyjet` (and clones) OKI ROM; `pangpang`'s PIC. - Every i8751 of the Data East originals is dumped (4 KB each), and Robocop's and Hippodrome's HuC6280 program is a dumped **512-byte bipolar PROM** (`en_24_mb7124e.a2`, region `sub`). ## Firmware These boards have no BIOS: every program, MCU and PROM dump is in the game's own set, read in place from `$MAME_ROMPATH` and never copied. No ROM content is identified or kept here beyond MAME's own CRC check. ## PAL dumps in the sets MAME's `midres` set carries the TB board's six PALs (`tb-1-1.19h` ... `tb-6.20h`, 260 bytes each) and its colour PROM `tb-7.22f`; `cninja` carries six (`tj-00` ... `tj-05`), `vaportra` five. `scripts/pal_compare.py` compares the `midres` six with MRPAL: four identical, `tb-3` differs in 1,068 of 2,048 AND-array fuses and `tb-4` in 252 (C2).