# Start here: SNK's triple-Z80 boards on one page **Phase 0, 2026-11-26.** Evidence tags as in the family's methodology: MEASURED, DIE, TEST ROM, DOC, OBSERVED, FITTED, HYPOTHESIS. "MAME" below always means MAME 0.285 run as a closed box (tier 5): its address maps came from the Lua API of a running machine and its traces from the debugger, never from its source ([mame-oracle.md](mame-oracle.md)). ## The machine From 1983 to 1988 SNK built its arcade games on boards with **three Z80s**: - a **main** Z80 and a **sub** Z80 that share the video RAM, the sprite RAM and a block of work RAM, each with its own program ROM (three 27128s each on T.N.K III: DOC, SCH-TNK3 sheet "CPU", Z80s at 4D and 2D); they interrupt each other through one address each (OBSERVED in MAME: the main polls $C700 at boot, the sub's NMI handler at $0066 writes $C000 first); - a **sound** Z80 with its own ROM and RAM, fed by a command latch from the main CPU, driving one or two Yamaha OPL-family FM chips (YM3526, Y8950, YM3812) on the boards from 1985, or two AY-3-8910s (and on three games SNK's own wave generator) on the boards before ([boards.md](boards.md), [sound.md](sound.md)); - a tile-and-sprite video system built from TTL and RAM: a text layer, a scrolling background, and one or two sprite generators (16x16, and 32x32 on Ikari Warriors and later), each with its own palette PROMs ([video.md](video.md)); - for several games, SNK's **LS-30 rotary joystick**: a joystick whose knob turns through 12 positions so the player aims independently of walking ([inputs-rotary.md](inputs-rotary.md)). No MCU, no encrypted CPU and no protection device appears in any of MAME's 55 `snk.cpp` sets (OBSERVED, listxml device lists); what is unusual is hardware help for the game: the "collision" read ports of Ikari Warriors, Victory Road and Psycho Soldier ([protection.md](protection.md)). ## Generations (by MAME's clocks and maps; the schematics settle them later) | Generation | Games (MAME parents) | CPUs (MHz, MAME) | Sound | Screen (MAME) | | --- | --- | --- | --- | --- | | AY boards, 1983-1985 | marvins, vangrd2, madcrash, jcross, sgladiat, hal21 | 3.36 / 3.35, sound 4 | 2 x AY-3-8910A @ 2 (+ SNK wave @ 8 on three) | 288 x 216 | | A5001 (T.N.K III) family, 1985-1988 | tnk3, aso, athena, fitegolf, countryc | 3.35, 3.35, 4 | YM3526 (+ a second YM3526 on athena; YM3812 on fitegolf, countryc) | 288 x 216 | | Ikari family, 1986 | ikari, victroad | 3.35, 3.35, 4 | 2 x YM3526 (ikari); YM3526 + Y8950 (victroad) | 288 x 216 | | 400-wide family, 1987-1988 | psychos, bermudat, worldwar, gwar, chopper, tdfever, fsoccer | 4, 4, 4 | YM3526 / YM3812 + Y8950; Y8950 alone on fsoccer and tdfever2 | 400 x 224 | MAME's screens carry no raw timing (their pixel clocks are the visible area times 60 Hz: 288 x 224 x 60 = 3.87 MHz), so the real dot clock, line length and frame rate are unknown (U1 in the [handoff brief](handoff-brief.md)); SNK's T.N.K III schematics are the way to settle them. ## What the family already has | Part | Family core | Need | | --- | --- | --- | | three Z80s | [z80-python](../z80-python) `1302260` | interrupt lines (INT, NMI), and a way to stretch bus cycles if the shared RAM is arbitrated with WAIT (U2); z80-python states WAIT and BUSREQ are outside its scope (its README) | | YM3526, Y8950, YM3812 | none | **a new OPL core** (open decision 1); [ym2413-python](../ym2413-python) is a relative, not a base ([sound.md](sound.md)) | | AY-3-8910A | [ay8910-python](../ay8910-python) `76cace3` | as is, for the AY generation | | SNK wave generator | none | stays in the board (one family consumer) | | Y8950 ADPCM | [ym2610-python](../ym2610-python)'s ADPCM-B is a relative (HYPOTHESIS: the same Yamaha delta-T unit) | inside the OPL core | ## Where to read next [boards.md](boards.md) for which game is which board; [cpus-and-shared-ram.md](cpus-and-shared-ram.md) for the two CPUs and their RAM; [handoff-brief.md](handoff-brief.md) for the plan.