# Sound ## System 24: a YM2151 and a DAC, no sound CPU MAME fits a YM2151 (OPM) at 4 MHz and an 8-bit R-2R DAC on all 27 System 24 sets, and **no sound CPU** (OBSERVED, [census.md](census.md)): one of the 68000s writes the YM2151 and the DAC directly. Which CPU, at which addresses, and whether the YM2151's /IRQ is wired to a 68000 interrupt are U6 (no document in hand: MacDonald's s24tech.txt is set aside, decision 1). The DAC's sample rate is whatever the program's timing makes it (HYPOTHESIS: driven by a timer interrupt, U4). **Core**: `ym2151-python` (Phase 0 restarted 2026-11-19, `3207328`, no core yet; its referee is Nuked-OPM in emu-tools-gpl, LGPL, closed box). This board would be its third named consumer after cps1-python and system16-python, and the first where a 68000 drives it with no Z80 between (a timing difference for the chip's busy flag only). The DAC stays in the board. MAME's `src/devices/sound/ym2151.txt` (technical notes "found during my experiments with real chip") carries no `license:` line, so it is GPL-2.0+ under MAME's rule and is not used. ## System 32: a Z80 with two YM3438s and an RF5C68; Multi 32: a YM3438 and a MultiPCM | Board | Sound CPU | Chips (MAME) | | --- | --- | --- | | System 32 (48 sets) | Z80 @ 8.053975 MHz | two YM3438 (OPN2C) @ 8.05 MHz; Ricoh RF5C68 @ 12.5 MHz; CD audio on the 3 Soreike Kokology sets | | Multi 32 (15 sets) | Z80 @ 8 MHz | one YM3438 @ 8 MHz; Yamaha YMW-258-F (MultiPCM) @ 10 MHz; stereo | OBSERVED in MAME (`radm`, 60 frames): the sound Z80 runs 781,057 instructions in 7,922,504 cycles (10.1 cycles an instruction, 0.79 M instructions a second). Cores and the chip rule, in [cpu-cores.md](cpu-cores.md): the YM3438 is ym2612-python's `YM3438` row; the RF5C68 is in segacd-python's board (as its RF5C164) and System 18's (system16-python), so System 32 would make a third user; the MultiPCM is also on Model 1's and Model 2's sound board (model2-python), where its extraction is already proposed.