Platform:Capcom CPS-1
| Vendor | Capcom |
|---|---|
| Endianness | big (68000), little (Z80) |
| On this wiki | Facts · Code · Notes · Topics |
Capcom Play System 1 (1988): a 68000 at 10 MHz main CPU, a Z80 at 3.58 MHz sound CPU with YM2151 and OKI M6295, and CPS-A/CPS-B custom video chips; game ROMs interleave bytes for code and 64-bit groups for graphics.
Hardware
Main CPU 68000 at 10 MHz (some boards 12 MHz), sound Z80 at 3.579545 MHz, YM2151 FM at 3.579545 MHz and an OKI M6295 ADPCM chip at 1 MHz (16 MHz/4/4). A later QSound variant replaces the audio section and uses a Z80 at 8 MHz. Source: src/mame/capcom/cps1.cpp machine configuration ("verified on pcb" comments).
68000 memory map
0x000000-0x3FFFFF program ROM; 0x800000 player inputs; 0x800018 system inputs/DIP switches; 0x800030 coin control; 0x800100-0x80013F CPS-A registers; 0x800140-0x80017F CPS-B registers (position set by a PAL on the B board; SF2 revision E differs); 0x800180 sound command latch, 0x800188 second latch (sound fade); 0x900000-0x92FFFF graphics RAM (also holds code in SF2CE); 0xFF0000-0xFFFFFF work RAM.
CPS-A registers
Word registers from 0x800100: 0x00 object (sprite) base, 0x02/0x04/0x06 scroll 1/2/3 bases, 0x08 other video base, 0x0A palette base, 0x0C-0x16 scroll X/Y for layers 1-3, 0x18-0x1E star layer scrolls, 0x20 row-scroll offset, 0x22 video control (flip screen, row scroll enable). Source: constants in cps1.h. The bases are addresses inside the 0x900000 graphics RAM: MAME's cps1_base() (cps1_v.cpp, commit d404316732) multiplies the register by 256, masks it to the layer's alignment (scroll RAM must start on a 0x4000 boundary) and indexes m_gfxram with base & 0x3ffff, and cps1.cpp maps that RAM at 0x900000-0x92FFFF. So a register value of 0x9000 means 0x900000; the reset defaults in the driver are 0x9200 (objects), 0x9000, 0x9040, 0x9080 (scroll 1-3) and 0x9100 (other).
Z80 memory map
0x0000-0x7FFF ROM, 0x8000-0xBFFF banked ROM (bit 0 of the write to 0xF004 selects one of two banks), 0xD000-0xD7FF RAM, 0xF000-0xF001 YM2151, 0xF002 OKI, 0xF006 OKI pin 7 (sample rate), 0xF008 sound command read, 0xF00A second latch read.
ROM set layout (example: Street Fighter II, sf2)
- Program: eight 128 KiB chips with
ROM_LOAD16_BYTE: pairs at 0x00000, 0x40000, 0x80000, 0xC0000, the even-byte chip at +0 and the odd-byte chip at +1 (sockets 11E/11F, 12E/12F, 9E/9F, 10E/10F). - Graphics: region "gfx" of 0x600000 filled with
ROM_LOAD64_WORD: four 512 KiB mask ROMs per 2 MiB group at word offsets 0, 2, 4, 6 (each 64-bit slice of graphics data spans four chips); groups at 0x000000, 0x200000, 0x400000. Chip names such as sf2-5m.4a give the PCB location. - Sound: Z80 program 32 KiB at 0 with
ROM_CONTINUEplacing a second 32 KiB bank at 0x10000; OKI samples 2 x 128 KiB. - The driver also lists the A-board and B-board PLDs ('aboardplds', 'bboardplds'). The per-game CPS-B layout ids and layer masks are not in
cps1.cppbut incps1_v.cpp(commit d404316732):cps1_config_table[]lists each game with aCPS_B_xxmacro (CPS-B register offsets for layer control, priority masks andlayer_enable_mask[5], for exampleCPS_B_01uses layer control at 0x26) and a graphics bank mapper such asmapper_RT24B; the table is selected by the driver name.
CPS-2 and CPS-3 are in cps2.cpp and cps3.cpp; not covered here.
Sources
mamedev/mame src/mame/capcom/cps1.cpp, cps1.h at d404316732fb5970cc0170aefc69ef1a85e14fce. See Tool:MAME.
Code & repositories
- https://github.com/mamedev/mame @
d404316732fb5970cc0170aefc69ef1a85e14fce· license: GPL-2.0-or-later AND BSD-3-Clause (declared by the contributor for the files used; GitHub reports Zlib (read from COPYING; GitHub's detector did not classify it) for the repository)
MAME emulator; src/mame/<maker>/*.cpp drivers document arcade memory maps and ROM sets
Tested on: source read, not run: read the driver sources · checked 2026-10-18; last activity 2026-10-18; Note: the latest release ships binaries; the wiki links only the source, never the binaries