# CPU and chip cores: reuse first, then what is new Checked against each sibling's repository on 2026-11-26 (read-only). Boards pin cores by commit; nothing is copied between repositories. ## Reused | Core | State (HEAD) | Role here | What it needs (a socket, a variant, a fix) | | --- | --- | --- | --- | | **m68000-python** | PUBLIC, v0.1.0 line, `55d3d60`; 24.6 M instructions of MAME System 16B lockstep in its validation | main CPU, 10 MHz | nothing new for plain sets: bus callbacks per cycle, autovectored level-4 interrupt, prefetch-exact open bus (CM16B ยง2 needs the last bus word), function codes on request (`function_codes=True`) for a future FD1094 filter. To confirm when wiring: /HALT and /BERR driven by the 8751 (Pre-16), and a bus-request/grant path for the 8751's accesses (CMP16) | | **z80-python** | `1302260` on `main` | sound CPU, 4 or 5 MHz | the NMI line (16B: uPD7759 /DRQ; 16A: the PPI's /OBF), the INT line with a data byte (16B sound latch), I/O port callbacks. For MC-8123 sets only: an opcode-fetch hook (`read_m1`), which exists on branch `m1-fetch-hook-rebased`, not on `main` | | **ym2151-python** | Phase 0 (restarted 2026-11-19), no core yet, `3207328` | the FM chip, 4 MHz | the core itself (its rungs 0-6). From this board: /IRQ unconnected on 16B (timers polled), CT pins live and readable on 16A (they reset and start the uPD7751), and MacDonald's Body Slam test agreeing with IKAOPM's die trace on which register bit drives pin 8 (sound.md). This board is its second named consumer after cps1-python | | **mcs48-python** | Phase 0, no core yet, `03328ff` | the uPD7751 sample CPU of 16A (an 8048-class part with 1 KB mask ROM, `7751.bin` in MAME's sets) | the core; a `upd7751` row (MAME treats NEC's part as an MCS-48; mcs48-python's README lists the uPD7751 as a second source); T0 clock output (CMP16 notes Monster Bash's `ENT0 CLK` with T0 grounded); the 8243 protocol on P2 | ## New | Core | Why a core | Size | Judges | | --- | --- | --- | --- | | **mcs51-python** (Intel 8751 / MCS-51) | a CPU: the chip rule gives every CPU its own core; mcs48-python's README already says MCS-51 is a different architecture deserving its own repository | a one-byte opcode map (counted from MCS51's instruction tables at the core's own Phase 0), 12 oscillator periods a machine cycle (MCS51), SFRs, two timers, UART, external bus (P0/P2, ALE, /PSEN, /RD, /WR) | MCS51 (tier 2); MAME's 8751 (tier 5, traces: mame-oracle.md); no hardware-captured MCS-51 test suite found in this Phase 0 (to search before its rung ladder) | Users of an mcs51-python core in or near the family: this board (16A, 16B, System 18: 21 machines), CPS-2's `gigaman2` bootleg (an 8051, cps2-python's census). Recommendation: a separate Phase 0 for `mcs51-python` before this board's MCU milestone (open decision 5). ## Not cores (the chip rule) The 315-5195 mapper, the 315-5196/5197 video chips, the 315-5248/5250 math chips, the uPD7759, the 8255 PPI and the 8243 expander stay in the board behind pin-shaped classes; each has no second family consumer today ([sound.md](sound.md), [video.md](video.md)). The FD1089/FD1094 is a 68000 with a fetch filter: the 68000 is the core, the filter is board-side code behind a socket ([protection.md](protection.md)). The MC-8123 likewise on the Z80.