# The Konami SCC (051649) and SCC-I (052539) The SCC is a 5-channel wavetable sound chip on 29 No-Intro Konami SCC cartridges (plus 3 guessed; census.md). It doubles as the cartridge's mapper. Konami also put it on arcade boards: Haunted Castle, City Bomber, Hexion, Nyan Nyan Panic [SCC-SY]; MAME calls it `k051649`. ## Programmer's model [SCC-SY, unless noted] Enabled by writing a value with bits 0-5 set (3Fh; bits 6-7 ignored) to the bank 3 register (9000-97FF); then 9800-9FFF is the SCC: | Address | Function | | --- | --- | | 9800-981F | channel 1 waveform: 32 signed bytes | | 9820-983F | channel 2 waveform | | 9840-985F | channel 3 waveform | | 9860-987F | channel 4 **and 5** waveform (shared) | | 9880-9889 | 12-bit periods of channels 1-5 (low byte, then bits 8-11 in the next byte's low nibble) | | 988A-988E | 4-bit volumes of channels 1-5 | | 988F | channel enable, bits 0-4 | | 9890-989F | a mirror of 9880-988F | | 98A0-98DF | no function | | 98E0-98FF | the "deformation" register (one register, any address in the range) | - Frequency f = fclock / (32 x (TP + 1)), fclock 3,579,545 Hz (the bus clock). - 9800-987F reads back as RAM; 9880-98FF is write-only and reads FFh. - A8-A10 are not decoded: 9900-99FF ... 9F00-9FFF mirror 9800-98FF. - 8000-97FF reads as ROM. - Young measured the deformation register by sampling a real SCC: bits 0-1 "pitch" (x16 or x256 periods), bits 6-7 noise-like behaviour on channels 4-5; "it probably isn't (completely) correct". He also reports that reading the waveform memory in a monitor made a real SCC behave erratically afterwards ("Weird Behaviour"), unexplained. ## SCC-I (the Snatcher / SD Snatcher Sound Cartridge, "SCC+") [SCCI-SY] Konami 052539: SCC-compatible, a fifth independent waveform (channel 5 no longer shares), 64 KB DRAM in the cartridge, its own register at BFFEh (all 16 address lines reach the chip), two incompatible memory layouts (Snatcher vs SD Snatcher). A later row, needed for those two disk games and Konami's Game Collections. ## Unknowns - **The waveform read/write timing against the channel's playback** (U15): what a write to the sample being played does, and how the output steps (sample-and-hold per period count, no interpolation, is the reading of every source met, HYPOTHESIS). - **The deformation register in full** (U16), and the "weird behaviour" after reads. - **The output DAC and mix level** against the PSG (U9). - **Very small periods** (U17): no source read says what the chip does at TP = 0 or a few counts (silence, a fixed tone, or the formula); emulators are said to differ. No permissive document beyond Young's has been found. openMSX has measured the SCC deeply, but its code is GPL (closed box only) and its write-ups live in its GPL repository; whether any of them is a hardware recording usable as data (as the `vdp-status-race` files are) was not checked in this phase. ## Chip rule Users in or near the family: MSX cartridges (this board); Konami arcade boards (none in the family yet). **Stays in the board** behind a pin-shaped class (`Scc`, clocked by the cartridge bus clock, `write(address, value)`, `read(address)`, `sample()`), extracted as `k051649-python` when a Konami arcade board arrives (decision 8).