# CPU cores: what exists, what each board row needs | CPU | Rows | Clock (OBSERVED: MAME clock and trace cycle rate) | Family core | State of the core | | --- | --- | --- | --- | --- | | MC68000 | tmnt (8 MHz), punkshot (12), tmnt2 rows (12 or 16), xmen (16) | 8.0 / 12.0 / 16.0 MHz; the GX063/064 schematic shows a 32 MHz crystal divided by two (DOC) | `../m68000-python` | public, v0.1.0, six rungs; autovector, vectored and spurious acknowledges are in its claims (`docs/claims.md`) | | Z80 | every sound board | 3.58 or 8 MHz | `../z80-python` | public, v0.4.0 | | KONAMI CPU (a Konami custom 6809 derivative with its own opcode map) | simpsons, aliens | MAME clock 12 MHz, **3.0 MHz of cycles** in the trace (OBSERVED: 6,039,550 cycles in 118 frames) | none. `../m6809-python` lists "Konami-1 (052001)" as out of scope in its README | documents only (no 6809 core code yet) | The KONAMI CPU part numbers (052001 on early boards, 052526 on Aliens, 053248 on The Simpsons) are HYPOTHESIS: MAME's `-listxml` names them all "KONAMI CPU" and our schematic sheets are of a 68000 board. Thirteen MAME Konami drivers use it (88 Games, Ajax, Aliens, Block Hole, Chequered Flag, Crime Fighters, Haunted Castle, Parodius, Rollergames, The Simpsons, Surprise Attack, Thunder Cross, Vendetta: OBSERVED). ## What the board needs from each core **m68000-python** - Bus callbacks per access, so the board can add wait states (U9) and route the K052109's byte-wide window on the 16-bit bus. - Interrupt levels from the board with **autovectored acknowledge** (DOC: VPA from FC decode on GX063/064); levels 1, 4 and 5 only on that board (HYPOTHESIS from IPL wiring). - Reset held by the 051550 and released at power-on; RESET and HALT driven together. - Nothing new: all of this is in the core's claims. A board here is a good corner-finder for the **E-clock wait of an autovector acknowledge**, which the core's claims list as an item of its own (raise anything found on the core, not here). **z80-python** - IRQ (IM 1, HYPOTHESIS, to check in the sound traces) and NMI from board logic; the sound command latch or K053260/K054321 ports as I/O-free memory-mapped devices; the banked ROM window on xmen and simpsons (board side). **The KONAMI CPU** (simpsons and aliens rows only) - A 6809-family core with the Konami opcode map and its extra instructions (block moves, multi-bit shifts, the bank-select output line the boards use for ROM banking: HYPOTHESIS from the common description). Proposal: build it as a **mode of `m6809-python`** once that core exists, as m6809-python's own `docs/hd6309.md` proposes for the HD6309 (decision 3). The chip rule says CPUs get their own core; a mode inside the 6809 core keeps that rule (it is a CPU core, not board code) without duplicating the 6809's timing and addressing. - Its oracle ladder is thin: no manufacturer document (Konami never published one), no single-step corpus known, MAME `cpu/m6809/konami.cpp` (BSD-3-Clause line) as the detector. Say so in its claims. **ym2151-python** (Phase 0, restarted 2026-11-19; no core yet): the YM2151 at 3.58 MHz, and at 4 MHz on xmen (a clock parameter). The board's sound milestone waits for it, or runs without FM until it lands. ## The HD6309 is not on these boards The task named Aliens "a 6309 sibling row". MAME 0.285 says otherwise (OBSERVED, `-listxml`): Aliens and The Simpsons use the KONAMI CPU. The HD6309 (`hd6309e`) is on 12 other Konami drivers, several of which share this board's tilemap and sprite chips: The Main Event and Devastators (`mainevt`: HD6309 + K052109 + K051960 + K007232 + uPD7759) and Bottom of the Ninth (`bottom9`). Those are the natural HD6309 sibling rows (decision 2).