# The Philips SAA1099 sound generator A new chip for the family: no core exists and no family board uses one yet. ## What it is (DOC: SAA-DS, November 1986) - Six frequency generators, each 8 octaves x 256 tones; 31 Hz to 7.81 kHz at the nominal 8 MHz clock (octave 0: 31-61 Hz ... octave 7: 3.91-7.81 kHz). - Two noise generators, each clocked at 31.3, 15.6 or 7.6 kHz or by a frequency generator (generator 0 for noise 0, generator 3 for noise 1: Table 3), the noise then based on double that generator's frequency (61 Hz to 15.6 kHz). Noise 0 mixes into channels 0-2, noise 1 into channels 3-5. - Six noise/frequency mixers (per channel FE and NE bits), twelve 4-bit amplitude controllers (left and right per channel). - Two envelope controllers, each on one tone channel (which two is drawn in Fig. 1, a block diagram the OCR cannot read: channels 2 and 5 by common report, HYPOTHESIS until the scan is read), eight shapes; under envelope the channel's amplitude drops from 16 to 8 levels; 4-bit or 3-bit envelope resolution (977 Hz or 1.95 kHz maximum rate), clocked internally by frequency generator 1 or 4, or externally by each write to the address register; the right side can carry the inverse of the left. - Output: two current-sink outputs; amplitude and envelope are applied by pulse-width modulation chopped at no less than 62.5 kHz, filtered externally. - Bus: write-only; A0 = 1 loads the address register, A0 = 0 writes data to the addressed register; several data writes can follow one address. DTACK (open drain) acknowledges at once except for some amplitude writes, which wait "depending on the time since the previous amplitude load". - Registers 00-1F (repeated eight times through 00-FF): 00-05 amplitudes (which nibble is left and which right: Table 2's first rows are illegible in the OCR, read the scan), 08-0D tone, 10-12 octave pairs, 14 frequency enables, 15 noise enables, 16 noise generator modes, 18-19 envelope controls, 1C bit 0 sound enable and bit 1 reset / sync of all generators. The OCR of the register table (Table 2) is legible; read the scan before transcribing any bit. ## On the SAM Coupé - Ports: `OUT (511)` (1FFh) selects the register, `OUT (255)` writes data (DOC: TECH p17). So A8 drives A0, inverted: the high byte's bit 0 = 1 means address (HYPOTHESIS: the exact decode of A8-A15 is not in the pinned documents, U9). - Clock: 8 MHz (DOC: SAA-DS nominal; TECH p11 shows an 8 MHz line on the drive connector; OBSERVED: MAME runs it at 8.00 MHz). - Whether DTACK is wired to the Z80's /WAIT on the SAM is unknown (U10). If it is, amplitude writes in quick succession could stall the CPU. - After reset the chip keeps playing until the ROM zeroes it late in the boot (DOC: Stefan Drissen's page on World of SAM, not pinned; cited as a pointer only). - Sampled sound on the SAM drives the amplitude registers or the envelope's external clock (UTM lists "Producing digital sound"; the pinned 41-page file stops before that part). ## Evidence ladder for this chip | Tier | Source | What it can decide | | --- | --- | --- | | 1 hardware | none in hand. Dave Hooper's SAASound README says its 2018 revision followed "reverse-engineering efforts of original hardware by the DosBox team" and "crowd-sourced test cases comparing emulated behaviour to real original devices"; those measurements and recordings are not pinned (U11: find them, check their terms) | - | | 2 manufacturer | SAA-DS (the Philips data sheet) | the register map, rates, envelope shapes, bus behaviour | | 3 community | TECH's SAA1099 supplement (Andy Graham); UTM's "known hardware bugs" (absent from the pinned file) | usage, quirks to test | | 5 emulators | SAASound (BSD-3-Clause, pinned: code OK with notice, used as a comparator); MAME `sound/saa1099.cpp` (BSD-3-Clause by its `license:` line, not fetched: see open decision on MAME's BSD files); DOSBox's SAA1099 (GPL: closed box) | detectors only | "Sound: good enough" (Aubrey, 2026-11-13) applies: the SAA1099 is judged by its register behaviour and by listening, not to the sample. ## The chip rule Other users of an SAA1099, from MAME 0.285's `-listxml` (OBSERVED, 476 machines and devices in 15 source files): the Creative Music System and Game Blaster ISA cards (`bus/isa/gblaster.cpp`) and the Sound Blaster 1.0's optional pair (`bus/isa/sblaster.cpp`), SGI IRIS workstations (`sgi/ip4.cpp`, `sgi/tt.cpp`), Gaelco's Master Boy and Xor World, Barcrest MPU4 video and JPM fruit machines, and others. No family board needs it today (ibmpc-python's Phase 0 does not plan a sound card). So the chip stays inside this board as `saa1099.py`, behind a pin-shaped interface (`write_address`, `write_data`, `tick`, `output`), ready to be extracted with history when a second family board (a PC sound card row, an arcade board) needs it. That is open decision 3.