# Census: MAME's System 1 / System 2 romsets Run 2026-11-26 with `scripts/census.py` (MAME 0.285 `-listsource`, `-listxml`; zips read in place from `$MAME_ROMPATH`, CRC-32s from the zip directories only). The table itself lands in `reference/census/machines.tsv` (git-ignored); the counts below are its summary. Names, sizes and hashes are MAME's data. ## Totals - **92 machines**, **28 parents**, all driven by MAME's `sega/system1.cpp`. Years 1983-1988, plus two 2009 sets (the Virtual Console release of Monster Land and its decrypted copy). - **All 92 zips complete** in `$MAME_ROMPATH` (every dumped ROM present by CRC-32). - MAME rates 90 machines "good" and 2 "imperfect" (`gardiab`, `gardiaj`). - Screens: 70 unrotated, 18 rotated 270 degrees, 4 rotated 90. ## Groups (this census's grouping, not board names) MAME's machine descriptions differ in two ways that sort the sets: the I/O chip (`z80pio` or `i8255` among the device references) and the tile ROM size. Which group is "System 2" is [boards.md](boards.md)'s question; MAME names only `wboysys2`/`wboysys2a` "system 2", and both are in `ppi-big`. | Group | Machines | I/O chip | Tile ROM | Colour PROMs | Examples | | --- | ---: | --- | --- | --- | --- | | `ppi-small` | 25 | 8255 PPI | 48 KB | 1 of 25 | Star Jacker, Regulus, Up'n Down, Mister Viking, Flicky (64k), Wonder Boy set 2 | | `pio-small` | 40 | Z80 PIO | 48 KB | 2 of 40 | Flicky (128k), Pitfall II, Sega Ninja, Wonder Boy set 1, Brain, Gardia | | `pio-big` | 1 | Z80 PIO | 96 KB | yes | Heavy Metal | | `ppi-big` | 26 | 8255 PPI | 96 KB | 26 of 26 | Choplifter, Shooting Master, Noboranka, Wonder Boy (system 2), Monster Land, Ufo Senshi, Dakko-Chan House, Toki no Senshi | ## Main CPU | Main CPU (MAME's device) | Machines | Parents | | --- | ---: | ---: | | plain Z80 | 33 | 6 | | Sega 315-xxxx / 317-xxxx encrypted Z80, 24 part numbers | 53 | 17 | | MC-8123 (with an 8 KB `maincpu:key` ROM) | 6 | 5 | The 24 part numbers and their machine counts: 315-5051 (9), 315-5135 (5), 315-5132, 315-5155, 315-5162, 315-5177 (3 each), 315-5033, 315-5041, 315-5065, 315-5093, 315-5096, 315-5098, 315-5102, 315-5110, 317-0006 (2 each), 315-5048, 315-5064, 315-5099, 315-5111, 315-5133, 315-5176, 315-5178, 315-5179, 317-0007 (1 each). They fall into **two observed classes** ([protection.md](protection.md)). **12 of the 28 titles have no plain, unprotected set** (`4dwarrio`, `bullfgt`, `dakkochn`, `gardia`, `hvymetal`, `imsorry`, `mrviking`, `shtngmst`, `spatter`, `swat`, `teddybb`, `wmatch`): unlike System 16 (58 of 63 titles on plain sets), the decryption is needed early for coverage (open decision 3). Three MAME descriptions disagree with MAME's own device for the same set (C3): `teddybb` and `teddybbo` say "315-5115" and fit a 315-5155; `seganinja` says "315-5113" and fits a 315-5133; `upndown` says "315-5030" and fits a 315-5098. ## MCU | MCU | Machines | ROM | | --- | ---: | --- | | Intel 8751 @ 8 MHz | 3 (`choplift`, `nob`, `shtngmst`), all `ppi-big` | dumped and good in all three (`315-5151.ic74`, `dm.bin`, `315-5159a.ic74`), 4 KB each | | none | 89 | | Each 8751 title has an unprotected sibling except Shooting Master (`chopliftu`, `chopliftbl`; `nobb`). ## Sound - Sound CPU: Z80 @ 4 MHz on 89 machines; @ 2.5 MHz on 3 (`starjack`, `starjacks`, `upndown`). - Two SN76489A PSGs on every machine. Clocks: 2 + 4 MHz on 84; 2 + 2 MHz on 5 (`gardia` and its clones, `nob`, `nobb`); 1.25 + 2.5 MHz on 2 (Star Jacker); 2.5 + 2.5 MHz on 1 (`upndown`). ## Firmware System 1 has no shared BIOS: every ROM belongs to its game. Nothing in this family is firmware in the charter's sense except the 8751 programs and the MC-8123 keys, which are game parts, identified by name and CRC/SHA-1 from MAME's list and never copied or committed. ## Reproduce ```sh MAME_ROMPATH=... python -I scripts/census.py # summary + reference/census/machines.tsv MAME_ROMPATH=... python -I scripts/census.py --group ppi-big ```