# Start here: the boards on one page Every TMS34010 address below is a **bit address** (the CPU addresses bits: byte = bit >> 3, 16-bit word = bit >> 4; tms34010-python `docs/mame-oracle.md` verified this). Facts are tagged; "OBSERVED" means MAME 0.285 run as a closed box (its address maps as it reports them through Lua, taps on its buses, its machine list), never its source. ## The family of boards | Row | Years | Board | CPU (INCLK) | Main RAM | VRAM | Palette | Blitter | Sound | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | Z | 1988 | Z-unit (Narc) | TMS34010, 48 MHz | | | | | Narc board: two 6809E, YM2151, HC-55516, two DACs | | Y | 1990-92 | Y-unit | TMS34010, 40 / 48 / 50 MHz by game (crystals: Smash T.V. 40, MK 48: manuals' parts lists, DOC) | 128 KB (map) | 256 KB: TMS4461 64K x 4 VRAMs (Smash T.V. parts list, DOC) | 8,192 x 16 bits (map) | the "Custom ASIC" (Smash T.V. parts list), 10 registers | CVSD board (6809E, YM2151, HC-55516, MC1408 DAC, 6821 PIA) or ADPCM board (6809E, YM2151, MSM6295, AD7524 DAC) | | T | 1992-94 | T-unit; MK II's "T-Unit 2 CPU w/ Memory Expansion" | TMS34010-50 (50 MHz oscillator, DOC) | 512 KB: four 44C256 (NBA Jam parts list) | 512 KB (map); eight "48121" 80 ns parts at UA11-14, UB11-14 (parts lists) | 32,768 x 16 (map) | **DMA2** (UE13, a 160-pin part; NBA Jam schematic, DOC), 16 registers, scaling | ADPCM board, or DCS (ADSP-2105 at 10 MHz crystal, DOC) | | W | 1994-97 | Wolf unit, later row | TMS34010, 50 MHz | 512 KB (map) | 512 KB (map) | 32,768 x 16 (map) | DMA2-style, 16 registers (OBSERVED: same register use as T) | DCS 8K | | X | 1994 | X-unit (Revolution X) | **TMS34020**, 40 MHz | | | | | DCS 2K UART | The X-unit is out of scope: its CPU is a TMS34020 (tms34010-python names that a later milestone). Narc is the Z-unit (Narc manual: "NARC and Z-UNIT are trademarks", DOC), though MAME files it in the Y-unit driver; its 512x400 picture at a 16 MHz dot clock is the odd one out. ## Video timing (OBSERVED: MAME's ``; DOC where noted) Every Y, T and Wolf set: **8 MHz dot clock** (the T-unit's 8 MHz oscillator, DOC; on the Y-unit HYPOTHESIS: the 24 MHz crystal divided by 3), **506 dots by 289 lines**, so 8,000,000 / (506 x 289) = **54.70684 Hz**. Visible: Y-unit 410 x 256 (dots 90-500, lines 20-276), T and Wolf 400 x 254 (dots 100-500, lines 20-274). The TMS34010's own video timing registers produce these (VCLK is the separate video clock input, User's Guide section 2, INCLK pin text, DOC); the board supplies VCLK and the VRAM serial clock. ## The main CPU's memory maps (OBSERVED, `scripts/mame/map.lua`, `tests/mame_traces/map-*.txt`) | Range (bit addresses) | Y-unit (`smashtv`, `term2`) | T-unit (`mk`, `mk2`) | Wolf (`umk3`) | | --- | --- | --- | --- | | `00000000-` | VRAM, to `001FFFFF` (256 KB) | VRAM, to `003FFFFF` (512 KB) | VRAM, to `003FFFFF` | | `01000000-` | RAM, to `010FFFFF` | RAM, to `013FFFFF` | RAM, to `013FFFFF` | | `01400000-` | CMOS (battery RAM), to `0140FFFF` | CMOS, to `0141FFFF`; `01480000-014FFFFF` CMOS write enable | CMOS to `0145FFFF`; write enable at `01480000` | | `01600000-` | | | security PIC port, `-0160001F` | | `01680000-` | | | sound (DCS) port | | `01800000-` | palette RAM, to `0181FFFF` | palette RAM, to `0187FFFF` | I/O (inputs) to `0187FFFF`; palette `01880000-018FFFFF` | | `01A00000-` | DMA, 10 registers, mirrored at `01A80000` (the games write the mirror) | DMA, 16 registers at `01A80000-01A800FF` | DMA, 16 registers at `01A00000`, mirrored at `01A80000` | | `01B00000-` | | video control `-01B0001F`; NBA Jam's protection reads at `01B14000-` (protection.md) | video control (read and write) | | `01C00000-` | inputs `-01C0005F`; protection read / CMOS enable `01C00060-7F` | | | | `01D00000-` | | sound status `01D00000`; sound data `01D01020-3F`; watchdog `01D81060-7F` | | | `01E00000-` | sound command (CVSD or ADPCM board) | | | | `01F00000-` | control register | control register (again) | | | `02000000-` | image ROMs read by the CPU, to `05FFFFFF` | to `07FFFFFF` | to `06FFFFFF` | | `C0000000-C00001FF` | TMS34010 I/O registers | same | same | | `FF800000-FFFFFFFF` | program ROM (`maindata`) | program ROM (also at `1F800000`) | program ROM | The image (graphics) ROMs are read by the DMA blitter, and the CPU can read them too (the ROM checksum tests do). ## What runs where - **Main CPU domain:** TMS34010; the DMA blitter, which takes the VRAM bus from the CPU by bus request (T-unit schematic: `DMA_HRQ`, `GSP_HAK`, `HLDA` routed through UF5; DOC, a schematic read by eye); VRAM and its serial side; palette; video timing and the display interrupt; CMOS, inputs, watchdog; protection. - **Sound domain:** one of the sound boards, met only through a command latch, a status or talkback port, and a reset line (sound-williams.md, sound-dcs.md). - **Wolf only:** the PIC16C57 security chip, met through a serial port (protection.md). Read next: [cpu-needs.md](cpu-needs.md), [dma-blitter.md](dma-blitter.md), [video-and-palette.md](video-and-palette.md), [protection.md](protection.md), [sound-williams.md](sound-williams.md), [sound-dcs.md](sound-dcs.md), [domains.md](domains.md), [validation.md](validation.md), [handoff-brief.md](handoff-brief.md).