# Census of the CPS-1 library Made by `scripts/census.py` from `mame -listxml` (MAME 0.285) and `cps1_config_table`, written to `tests/detectors/census-mame0285-sets.tsv` (every set) and `census-mame0285-summary.txt`. No emulator ran a game. Presence per tree is by file name; content was then **verified by `mame -verifyroms`** (hashing only) for the two trees the board will read. ## Sets | Class | Sets | Parents | Notes | | --- | --- | --- | --- | | Capcom (and Mitchell's Pang! 3) | 164 | 37 | in scope | | CPS Changer | 4 | 2 (`wofch`, `sfzch`) | in scope as a machine row ([sockets.md](sockets.md)) | | Bootlegs | 102 | (clones) | out of scope: 65 in `cps1.cpp`, 37 in `cps1bl_5205.cpp`, `cps1bl_pic.cpp`, `fcrash.cpp` | Ken Sei Mogura (`kenseim`, a CPS-1 board plus a whack-a-mole controller board) is in MAME's `kenseim.cpp`, not counted here; a later add-on if ever wanted. Of the 168 in-scope sets: | Property | Counts | | --- | --- | | Sound | YM2151 + MSM6295: 149; QSound: 19 (wof, dino, punisher, slammast, mbombrd and clones; wofch) | | 68000 clock (as MAME assigns) | 10 MHz: 110; 12 MHz: 58 | | CPS-B rows | 26 in use ([cps-b.md](cps-b.md) has the per-row counts); `CPS_B_21_DEF` the largest (39) | | Graphics mappers | 53 distinct ([gfx-mapping.md](gfx-mapping.md)) | | MAME status | good 166; imperfect 1 (`gulunpa`: one graphics ROM "NEEDS REDUMP"); preliminary 1 (`pmonster`: hopper) | | B-board PAL fuse map | 166 sets carry one; 8 list it undumped: `cworld2ja` `cworld2jb` `dynwarjr` `mercsj` `pnickj` `sf2en` `striderjr` `striderua` | Per parent (program / graphics / Z80 / OKI / QSound bytes, CPS-B, mapper, clock): the table at the end of `census-mame0285-summary.txt`. Ranges: program 256 KiB (gulunpa, pnickj) to 2 MiB (slammast, mbombrd, sfzch); graphics 1 MiB (qad) to 8 MiB (megaman, sfzch); Z80 64 KiB, 128 KiB on QSound sets and Pang! 3; OKI 256 KiB (128 KiB on unsquad; none on ghouls, whose sound is YM2151 only); QSound samples 2 or 4 MiB. ## Formats MAME zip sets: program ROMs byte- or word-interleaved (`ROM_LOAD16_BYTE`, `ROM_LOAD16_WORD_SWAP`), graphics four-way word-interleaved (`ROM_LOAD64_WORD`), Z80 ROM with the bank half loaded at `0x10000` (`ROM_CONTINUE`), PALs as 279-byte GAL16V8 fuse images. The board reads MAME's non-merged zips in place and takes the load layout from data it carries per set (generated once from `-listxml` with MAME as the source of the layout, checked by the CRC/SHA-1 of every file). FinalBurn Neo's sets use the same file names for most sets; not a target. ## Local copies | Tree | Capcom + Changer sets present | Verified | | --- | --- | --- | | `$MAME_ROMPATH` | **168 of 168** | `mame -verifyroms`: 168 found, 168 OK (the undumped PALs and gulunpa's redump report as "best available") | | `MAME/ROMs (merged)` | all 39 parents (clones inside) | not run | | `source/.../FBNeo` arcade tree | 166 (missing `cawingjr`, `pmonster`) | not run | | `roms-retrobat/mame` | 36 sets (16 parents) | `mame -verifyroms`: 36 OK | | `roms-retrobat/fbneo` | 39 sets, including `sfzch` and `wofch` | not run | `roms-retrobat/mame` holds (by name): 1941r1 wonder3 captcommjr1 cawingr1 cworld2j dino dynwarj ffightj forgottna ganbare ghoulsu gulunpa knights kodr2 mbombrd mercsur1 mpumpkin mswordr1 mtwins nemor1 pang3r1 pnickj pokonyan punisher qad qtono2j sf2j17 sf2ce sf2hf sf2hfj slammast striderj area88 varthr1 willowu wofr1. ## BIOS and device ROMs CPS-1 has no BIOS. The only device ROM is the QSound DSP program: | File | Size | SHA-1 | Where | | --- | --- | --- | --- | | `dl-1425.bin` | 24,576 | `555f50fe5cdf127619da7d854c03f4a244a0c501` (checked here) | `MAME/ROMs (bios-devices)/qsound.zip`; also inside the non-merged QSound sets | The CPS Changer needs nothing beyond its cartridge sets in MAME's model (U5).