# The Williams sound boards (6809-based) Three boards, each a self-contained computer with its own 6809E. The main board meets them only through a command latch (main to sound, with an interrupt), a status or talkback port (sound to main) and a reset line: they are their own **domain** (domains.md). ## The three boards (chips from MAME's machine list, OBSERVED; parts from the manuals, DOC) | Board | Games | CPU | Sound chips | Memory map of the 6809 (OBSERVED, `map-*.txt`) | | --- | --- | --- | --- | --- | | **Narc** (Z-unit) | `narc` | two MC6809E at 2 MHz ("master" and "slave") | YM2151 (3.579545 MHz), two AD7224 DACs, HC-55516 CVSD | master: RAM `0000-1FFF`, YM2151 `2000`, talkback `2800`, command to slave `2C00`, DAC `3000`, command `3400`, bank `3800`, sync `3C00`, banked ROM `4000-BFFF`, ROM `C000-FFFF`; slave: CVSD clock `2000`/`2400`, DAC `3000`, command `3400`, bank `3800`, the rest alike | | **CVSD** | Trog, Smash T.V., High Impact, Strike Force, Super High Impact, `yunittst` | MC6809E, 2 MHz | YM2151, MC1408 DAC, HC-55516, a 6821 PIA (the command port) | RAM `0000-07FF` (mirrored to `1FFF`), YM2151 `2000-2001`, PIA `4000-4003`, CVSD digit/clock clear `6000`, clock set `6800`, bank select `7800`, banked ROM `8000-FFFF` | | **ADPCM** | Terminator 2, Total Carnage, MK (Y and T), NBA Jam, NBA Jam T.E., Judge Dredd | MC6809E, 2 MHz | YM2151, AD7524 DAC, MSM6295 at 1 MHz | RAM `0000-1FFF`, bank select `2000`, YM2151 `2400-2401`, DAC `2800`, MSM6295 `2C00`, command `3000`, MSM6295 bank `3400`, talkback `3C00`, banked ROM `4000-BFFF`, ROM `C000-FFFF` | The ADPCM board's parts list (NBA Jam manual): "6809E MPU", "YM 2151 SNDGEN", "3.58Mhz Crystal", "8Mhz Oscillator", "AD7524 DAC", "OKI6295, 4 Chanel", "2064 Static RAM", "PLD Sound". An 8 MHz oscillator divided by 4 gives the 6809E's 2 MHz E clock (HYPOTHESIS until the sound schematic sheet is read; m6809-python: the 6809E takes E and Q as inputs). The CVSD board (Smash T.V. list): "Sound Processor, YM2151", "MC6809E", "D/A Convtr, MC1408", "RAM 5516-2 2K x 8", "Crystal, 3.58 MHz", "Oscillator, 8 MHz". On the main side: the Y-unit writes commands at `01E00000`; the T-unit writes at `01D01020-3F` and polls a status at `01D00000` (`mk`: about 2,450 status reads in 2,000 frames). OBSERVED. ## Reuse: the family's cores | Chip | Family core | State | What this board needs from it | | --- | --- | --- | --- | | MC6809E | `../m6809-python` | **Phase 0, no code** (README: "documents and oracles only"; states Python 3.12+, to bring to 3.11) | the core; IRQ and FIRQ lines (the command latch interrupts); E-cycle counts per instruction | | YM2151 | `../ym2151-python` | **Phase 0, restarted 2026-11-19, no core** | the core, its timer IRQ (the sound programs run off it, HYPOTHESIS), a 3.579545 MHz clock | | MSM6295 | `../msm6295-python` | **Phase 0 complete 2026-11-12, no core** | the core with the board's sample-ROM banking (the `3400` bank register); pin 7 (rate select) as wired here: to read from the sound schematic | | HC-55516 | none | | stays in this board (chip rule: one family board needs it today); see below | | MC6821 PIA | none | | stays in the board (only the CVSD board uses it in this family) | | AD7524, AD7224, MC1408 DACs | none | | trivial; in the board | ## The HC-55516 CVSD decoder A continuously-variable-slope delta demodulator: the 6809 feeds it one bit per clock it generates by writing two addresses (clock set, digit-and-clock clear), so its sample rate is whatever the sound program makes it (OBSERVED: the write handlers' names). **No HC-55516 data sheet was found** (bitsavers' 1984 Harris CMOS and 1991 Harris Linear and Telecom books list only the HC-55536 and HC-55564 among CVSD parts; U10). The 1991 book's **HC-55536** data sheet ("used to convert serial NRZ digital data to an analog (voice) signal ... by delta demodulation", pp. 9-129) is the nearest relative and the starting document, cited as DOC for the 55536 and HYPOTHESIS for the 55516 until a 55516 source or a measurement is found. Sound is the family's "good enough" domain (Aubrey, 2026-11-13); this chip is the place that rule applies most.