# The Model 3 board and its steps Sources: MAME 0.285's `model3.cpp`, `model3.h`, `model3_m.cpp`, `model3_v.cpp` (R. Belmont, Ville Linde; BSD-3-Clause, pinned; cited M3, **OBSERVED**, tier 5). M3's header credits "hardware info from Team Supermodel: Bart Trzynadlowski, Ville Linde, and Stefano Teso", and carries a "Guru-Readme" written from real boards (part numbers and markings: a tier-3-like observation of parts, not of behaviour). No manufacturer board documentation is in hand. ## The steps | Step | MAME config(s) | PowerPC | Bus | Notes (M3) | Sets | | --- | --- | --- | --- | --- | ---: | | 1.0 | `model3_10`, `getbass` | 603e @ 66 MHz (multiplier 1) | 66 MHz | MPC105 PCI bridge; LSI 53C810 SCSI used as a DMA engine to the Real3D; 2 MB of culling RAM | 8 | | 1.5 | `model3_15`, `scud`, `lostwsga` | 603e @ 100 MHz (x1.5) | 66 MHz | MPC105 (MAME switches to an MPC106 for the games whose init sets `m_step15_with_mpc106`: the Virtua Striker 2 and Bass Fishing inits); comm board; "faster 3D engine" | 15 | | 2.0 | `model3_20`, `model3_20_5881`, `srally2` | 603ev ("603R" in MAME) @ 166 MHz (x2.5) | 66 MHz | MPC106; no SCSI chip; 4 MB culling RAM; "even faster 3D engine"; Real3D PCI id 0x1786 (315-6022), or the older 0x16C3 (315-5827) for some games | 22 | | 2.1 | `model3_21`, `model3_21_5881`, `daytona2`, `spikeout`, `swtrilgy`, `swtrilgyp` | 603ev @ 166 MHz | 66 MHz | "same 3D engine as 2.0, differences unknown"; in MAME only the step value (0x21) differs, and nothing reads it beyond `>= 0x20` | 17 | Census totals: 62 sets, all `preliminary` in MAME 0.285; 30 carry a 315-5881 (all step 2.x games of the `_5881` configs plus Daytona USA 2, Spikeout, Star Wars Trilogy). **C1 (a conflict inside MAME's own file).** The step table says step 1.5 is 100 MHz, and MAME runs Scud Race and Le Mans 24 at 100 MHz. The Guru-Readme in the same file says: "Scud Race runs on the original Sega Model 3 hardware. It's the same PCB as Virtua Fighter 3, there is no mention of 'Step 1.5' or even 'Step 1.0' on any of the PCBs and there is no 50MHz or 100MHz OSC on the CPU board that would allow the CPU to run at 100MHz ... The CPU on Scud Race runs at 66MHz." It also lists distinct part numbers "837-12874 MODEL3 STEP 1.5 CPU BOARD" and "837-12875 MODEL3 STEP 1.5 VIDEO BOARD". A PLL multiplier inside the 603e could reach 100 MHz from a 66 MHz bus without a 100 MHz oscillator (603EHS documents the PLL configurations; HYPOTHESIS until read), so the two statements may both hold. To settle on a board (U1). **Step 2.0 vs 2.1.** Sega's part list in the Guru-Readme: "837-13368 MODEL3 STEP2.1 VIDEO BD (most manuals show this is interchangeable with 837-12716 STEP2 video board)". So 2.1 is a video-board revision; nobody has said what changed (U2). The specification keeps 2.1 as a machine row identical to 2.0 until a difference is shown. ## The JTAG/TAP chain The PowerPC reads the board's ASIC identification codes through a TAP. M3's `tap_reset` inserts six 32-bit ID codes per step (for example 0x116C7057 ... for 1.0, 0x316C7057 ... for 1.5, 0x416C7057 ... for 2.x) into a 197-bit chain. Games check them; a wrong ID is the "JUPITER ASIC HAS THE WRONG ID CODE" error the Guru-Readme reports when a VF3 video board is put under Scud Race. The board must reproduce the chain per step. Some games need a "JTAG patch" in MAME (Sega Rally 2), a sign the chain is not fully understood (U3). ## Memory map (the PowerPC's view; M3 `model3_10_mem`, `model3_mem`, `model3_5881_mem`) | Range | What | | --- | --- | | 0x00000000-0x007FFFFF | work RAM (8 MB) | | 0x84000000-0x8400003F | Real3D status | | 0x88000000-0x88000007 | Real3D command (flush) | | 0x8E000000-0x8E0FFFFF | Real3D display list / culling RAM window | | 0x98000000-0x980FFFFF | Real3D polygon RAM window | | 0xC0000000-0xC003FFFF | comm board (1.5 and later) | | 0xF0040000 | 315-5649 I/O chip (also on Model 2A-2C) | | 0xF0080000 | sound board link | | 0xF00C0000-0xF00DFFFF | backup SRAM | | 0xF0100000 | system registers | | 0xF0180000-0xF01A003F | 315-5881 RAM and registers (`_5881` configs) | | others | PCI configuration through the MPC105/106, tile generator VRAM (0xF1000000-), ROMs: installed per step (to be read from M3 in the build session) | ## Periphery (M3 configs and Guru-Readme) - **Sound:** a 68000 @ 11.2896 MHz with **two SCSPs**; DSB (Z80 + MPEG) on Scud Race, DSB2 (68000 + MPEG) on Sega Rally 2, Daytona USA 2, Spikeout, Star Wars Trilogy ([sound.md](sound.md)). - **I/O:** the 315-5649 I/O chip with eight analogue inputs, a 93C46 EEPROM, an RTC72421, the billboard (Z80, epr-18022). Get Bass has its own I/O CPU (a Kawasaki KL5C80A16, a Z80-compatible microcontroller) with a 315-5296 and a 315-5649. - **Drive boards:** racing and riding games carry a drive (force feedback) board ROM (MAME regions `drivecpu`/`drivebd`/`drive`; see census.md); MAME does not run their CPUs on Model 3 (not in `-listxml`). A Z80 board as on Model 2 is likely (HYPOTHESIS, U10). - **Comm board:** 68000 @ 10 MHz with Sega customs (315-5804, 315-5917) on 1.5 and 2.x. - **Video board** (Guru, step 1.0): Sega customs 315-5827 to 315-5831 (the Real3D ASICs; 315-5827 is also the PCI device id MAME reports for step 1.x), Mitsubishi 3D-RAM (M5M410092FP) as the frame buffer, cache DRAM, SDRAM, an ADV7120 DAC. - **Screen:** 496 x 384 visible in 656 x 424 from 16 MHz, "runs at 57.5 Hz-ish, same as Model 1/2/System 24?" (M3 `add_base_devices`, a TODO). ## Protection - **315-5881** on 30 sets (census.md): the same chip as Model 2's and NAOMI's; MAME holds a 32-bit key per game (counted, never printed; decision R8). - Real3D PCI device id per game (old 0x16C3 vs new 0x1786 on step 2): a compatibility check rather than protection, but a per-game row. ## How good the detector is All 62 sets are `preliminary`; M3's own status notes list crashes, hangs and graphics faults per game. `scud` runs at 120 % of real time in MAME on one core here **with MAME's PowerPC recompiler** (MEASURED, docs/mame-oracle.md).