# Machine rows and their order MAME 0.285's MSX drivers: `msx1.cpp` 130 machines, `msx1_v9938.cpp` 14 (MSX1s with a V9938), `msx1_bruc100.cpp` 2, `msx2.cpp` 103, `msx2p.cpp` 13, `msxtr.cpp` 2: **264** (census.md). A row is data: generation, VDP part, PSG part, engine, slot layout (what sits in which primary/secondary slot and page), RAM size and slot, keyboard layout, region (video standard), ROM SHA-1s, the M1-wait and VDP-wait switches, and which built-in devices it has. ## Recommended order | Step | Rows | Why here | New pieces | | --- | --- | --- | --- | | 1 | **MSX1, NTSC, Japan**: National CF-2700 (`cf2700`: TMS9918A, AY-3-8910A) and a `cbios-msx1` row | the smallest complete MSX; every chip has a family core; VATT measured the CF-2700 (8 entries); MAME's trace already taken on it (mame-oracle.md); C-BIOS boots it without maker firmware | the board, slots, PPI, cartridge loader | | 2 | MSX1 Canon V-20 (`canonv20`, YM2149; its BIOS image is also the Hitachi MB-H1's); MSX1 PAL: Sony HB-75P (`hb75p`, TMS9929A, VATT "Add. waits 0") | the YM2149 row, the 50 Hz VDP row, a European keyboard | rows only | | 3 | Mappers and the SCC; MSX-MUSIC cartridge (FM-PAC) | 99 % of the No-Intro library is plain, ASCII, Konami or SCC (cartridges.md) | `Scc` in the board; ym2413-python pinned | | 4 | Cassette (`.wav`, `.cas`); disk (Philips-style WD2793 functional) | BASIC software and MSX-DOS; the disk is needed by MSX2 rows | tape device, FDC device | | 5 | **MSX2**: a Philips NMS 8245 or Sony HB-F1XD (V9938, S1985, mapper, RP5C01, sub-ROM, disk) | 198 No-Intro MSX2 images; MSX2 needs everything above plus a new VDP | `v9938-python` (own Phase 0), RP5C01, memory mapper | | 6 | **MSX2+**: Panasonic FS-A1WSX or Sony HB-F1XDJ (V9958, built-in MSX-MUSIC, Kanji) | small library (MAME's msx2p list: 3 cartridges), mostly MSX2 software with YJK | V9958 row of v9938-python; Kanji ROM device; switched I/O (port 40h) | | 7 | **turbo R**: Panasonic FS-A1ST / FS-A1GT (R800, S1990, PCM, TC8566AF disk) | two machines, a niche library | `r800-python` (new CPU core), `upd765-python` extraction, PCM | Reasons for MSX1 first and the turbo R last: each step reuses everything below it, the library is MSX1-heavy (945 + 7 MSX1 images against 198 + 3 MSX2), and the hardware-tier evidence (VATT, TDB) is richest for MSX1. The MSX2 is the big jump (a new VDP core); the MSX2+ is a row on top of it; the turbo R needs a new CPU and its timing is documented only by community measurement (GRAUW-Z80's R800 waits). ## Machine-row facts still to collect (per row, before its milestone) Slot layout and RAM size and slot (the service manual, or MAME's driver as a detector); whether the Z80 clock comes from the VDP's CPUCLK (U2); keyboard layout and ghosting (U11); the I/O mirrors decoded (U6); the PPI part (NMOS or CMOS: what port A reads before the BIOS's first write, U20); the M1 wait on acknowledges (U1); VDP I/O waits (U7).