# The boards: families, crystals, clocks, the frame Data East's 16-bit arcade hardware is not one board but a run of related ones, 1987-1995, that share two generations of custom video chips. MAME's driver files follow those lines ([census.md](census.md)). Evidence tags as in [start-here.md](start-here.md). ## The families | Family | Years | Main CPU | Sound | Video customs | Protection | Examples | | --- | --- | --- | --- | --- | --- | --- | | **karnov** | 1987-88 | 68000 @ 10 MHz | 6502 @ 1.5 MHz, YM2203 + YM3526 | Karnov's own tilemap and sprite logic (MAME: `deco_karnovsprites`, `deco_rmc3`) | i8751 | Karnov, Chelnov, Wonder Planet | | **dec0** ("MEC-M1"; "HFT SYSTEM" in MBD) | 1987-90 | 68000 @ 10 MHz | 65C02 @ 1.5 MHz, or a HuC6280; YM2203 + YM3812 + MSM6295 | 3 x **BAC06** tilemap, **MXC06** sprites | i8751, or HuC6280 + MB8421, or none | Heavy Barrel, Bad Dudes, Robocop, Hippodrome, Sly Spy, Midnight Resistance, Boulder Dash | | **bac06** rows | 1988-89 | 68000 @ 10/12 MHz, or a **HuC6280 @ 7.16 MHz** (Act-Fancer, Trio the Punch) | 6502 or HuC6280 | 2-3 BAC06, MXC06 | none | Stadium Hero, Mad Motor, Act-Fancer | | **deco16** | 1989-95 | 68000 @ 10.7-16 MHz (two on Thunder Zone) | HuC6280 (most), Z80 or 6809E; YM2151 (+ YM2203) + 1-2 MSM6295 | 1-2 x **DECO 55** (or 56/74/141) tilemap generators, **DECO 52** sprites (MXC06 on Vapor Trail), DECO 99 "ace" on Boogie Wings | **DECO 104** or **DECO 146** I/O-protection chips, DECO 102 program encryption, encrypted graphics (all U) | Vapor Trail, Crude Buster, Dark Seal, Caveman Ninja, Robocop 2, Rohga, Wizard Fire, Boogie Wings, Tumble Pop | | bootleg | 1993-98 | 68000 @ 12-15 MHz | Z80 or none; YM2151, MSM6295 | DECO 52-style sprites only | MCS-51 or PIC on some | Tumble Pop bootlegs, SemiCom games | | out of scope | 1991-96 | ARM (Data East's encrypted DE102 and others), SH-2 | | DECO 55 + 52 again | 104/146 again | Captain America, Fighter's History, Joe & Mac Returns: a later sibling (decision 2) | ## The dec0 board as documents show it - **Two boards.** Bad Dudes ships as a DE-0295 Main CPU pcb and a DE-0293 Game Program pcb; "the Main CPU pcb utilizes a Motorola 68000 ... and a 65C02A Microprocessor to control the Yamaha Sound Generator circuit. The Game Program pcb contains all game specific program devices, and an OKI Voice generator circuit" (DOC: MBD p. 1). Sly Spy's board is DE-0322-3 (JTSLY title block), a later layout with a HuC6280 for sound. - **Crystals and clocks** (Sly Spy, JTSLY, a board trace): a 20 MHz oscillator halved to the 68000's 10 MHz; a 12 MHz oscillator for the three BAC06s and the MXC06 ("12MHz" on each sheet) and halved to the 6 MHz pixel clock (the colour-mixing sheet labels it "6.01MHz"; read as 6 MHz nominal, HYPOTHESIS); 3 MHz (YM3812, and MAME's HuC6280 clock on these sets) and 1.5 MHz (YM2203) on the sound sheet. MAME agrees: 68000 10 MHz, YM2203 1.5, YM3812 3, pixel clock 6.000 MHz (OBSERVED). - **The frame** (OBSERVED in MAME, no hardware measurement found): 384 dots x 272 lines at 6 MHz, 256 x 240 visible (lines 8-247), **57.444853 Hz**. The deco16 boards: 376 x 274, 58.238857 Hz on `cninja` (MAME), other deco16 drivers a plain 58 Hz. JTCOP measured nothing it reports; no capture of either frame is known (U1). - **RAM** (JTSLY, JTCOP): 68000 work RAM 16 KB (two 8K x 8 TMM2063); BAC06 #0 16 KB, #1 4 KB, #2 4 KB (JTCOP's table; CXK5816 2K x 8 parts on the sheets); sprite RAM 2 KB plus a 2 KB "obj table buffer" (JTCOP); palette 2 x 2 KB (TMM2018) feeding resistor ladders; a 2 KB sound RAM (CXK5816 beside the HuC6280). The 65C02 boards have 2 KB of sound RAM (JTCOP). - **The video path** (JTSLY): each BAC06 outputs an 8-bit colour code (GFX1/2/3_COL0-7 and a BLANK) and the MXC06 an object colour; a **MB7114H bipolar PROM** on the colour-mixing sheet sits where a priority decision would be made (HYPOTHESIS: the priority PROM; MAME's sets carry `mb7116e.12c` and `mb7122e.17e` on Robocop and Bad Dudes, `tb-7.22f` on Midnight Resistance). The MXC06 "must have had internal memory for line buffers": JTCOP found no line-buffer RAM on the schematics. - **Customs on the Sly Spy sheets** besides BAC06 and MXC06 (JTSLY symbol names, functions HYPOTHESIS): `SLY_SPY_49` among the 68000's decode PALs (the protection logic MAME models for Sly Spy), `368917K9` on the sprite-RAM sheet wired to a `DMADB` bus (the sprite-RAM copy into the buffer), a PST518A reset generator. ## The variants inside dec0 (from MAME's device lists; OBSERVED) | Variant | Sets | Second CPU | Third | Notes | | --- | --- | --- | --- | --- | | 65C02 + i8751 | `hbarrel`, `baddudes`, `drgninja`, `birdtry`, `bandit` | R65C02 @ 1.5 MHz (sound) | i8751 @ 8 MHz | JTCOP calls this core "jtninja"; its table lists Heavy Barrel under HuC6280 (C1) | | 65C02 + HuC6280 | `robocop`, `hippodrm`, `ffantasy` | R65C02 (sound) | HuC6280 @ 1.342 MHz (21.477 MHz / 16, HYPOTHESIS) as a protection CPU, running a 512-byte bipolar PROM, talking through an MB8421 dual-port RAM (MAME tag `dem01`) | [protection.md](protection.md) | | HuC6280 sound | `secretag`/`slyspy`, `midres`, `bouldash` | HuC6280 (sound) @ 3 MHz (2 MHz on `midres`: C4) | none | Sly Spy's protection is the `SLY_SPY_49` logic, not a CPU | | bootlegs | `robocopb`, `automat`, `drgninjab`, `drgninjab2`, `ffantasybl`, `midresb`, `midresbj`, `secretab`, `mastbond` | R65C02 or Z80 | 68705R3 or none | MSM5205 sound on three; out of the first milestones | ## The deco16 boards in brief All 68000; most use a HuC6280 sound CPU with YM2151 + one or two MSM6295 (the second at twice the first's clock, 2.014 vs 1.007 MHz), and 32 of 94 add a YM2203. Clocks spread: 10.7386 MHz (Super Burger Time, Tumble Pop: 21.477 MHz / 2), 12, 14, 14.161 and 16 MHz. Thunder Zone has two 68000s at 14 MHz. The video customs move to the DECO 55 tilemap generator (two playfields each) and the DECO 52 sprite generator; protection moves from MCUs to memory-mapped custom chips (104, 146) that also carry the sound latch (MAME's log: "LOAD SOUND LATCH"). See [video.md](video.md), [protection.md](protection.md). ## Chip users in or near the family | Chip | Users | Family core | | --- | --- | --- | | MC68000 | every row here, Mega Drive, System 16, CPS-1, X68000, Neo Geo ... | m68000-python | | HuC6280 (with its on-die timer, IRQ controller, PSG) | PC Engine line; here 106 of 175 machines | huc6280-python (CPU); the on-die parts live in pcengine-python (decision 4) | | 65C02 (R65C02?) | dec0; Lynx (65SC02 cell) | w65c02-python (`R65C02` row) | | NMOS 6502 | karnov, stadhero, actfancr | 6502-python | | i8751 | 16 of 175 here (dec0, karnov); System 16, System 1/2, Irem M72 | mcs51-python (proposed, not built) | | YM2203 | 94 of 175 here (dec0, karnov, deco16); PC-88, X1 ... | none (decision 6) | | YM3812 / YM3526 | 55 of 175 here: dec0 and bac06 (YM3812), karnov (YM3526) | none (decision 7) | | YM2151 | 101 of 175 here (deco16, bootlegs, madmotor); System 16, CPS-1, X68000 | ym2151-python (Phase 0) | | MSM6295 | 162 of 175 here; CPS-1 and many | msm6295-python (Phase 0) | | BAC06, MXC06, DECO 55/52/104/146 | this board and the out-of-scope ARM boards only | stay in the board |