The MOS Technology 6581/8580 SID (Sound Interface Device) is the built-in programmable sound generator chip of the Commodore 64, Commodore CBM-II, Commodore 128, and MAX Machine home computers. Together with the VIC-II graphics chip, the SID was instrumental in making the C64 the best-selling home computer in history, and is partly credited for initiating the demoscene. The SID was an advanced design for the era, compared to competing sound chips like Atari's POKEY or the widely used General Instrument AY-3-8910 and Texas Instruments SN76489. In contrast to those chips, which were aimed at producing simple sound effects and music for games and similar purposes, the SID is better described as a single-chip music synthesizer. It included common synthesizer features like ADSR envelope controls, the ability to modulate channels with each other, and filters. These features allowed the SID to produce more complex sounds and music than other home computers of the time. The original version of the SID, the 6581, was introduced with the C64 in 1982. It had a number of design features that were not well implemented due to time constraints, which resulted in various oddities in the output. Many of these were addressed in the later 8580 revision (sometimes labelled 6582), which took over from the original 6581 around 1986 and was used in later machines. The 8580 was produced until around 1992. In the spring of 1983, the designer of the SID, Bob Yannes, left Commodore and would later go on to produce digital synthesizers at his new company, Ensoniq.
History The SID was devised by engineer Bob Yannes, who later co-founded the Ensoniq digital synthesizer and sampler company. Yannes headed a team that included himself, two technicians and a CAD operator, who designed and completed the chip in five months in the latter half of 1981. Yannes was inspired by previous work in the synthesizer industry and was not impressed by the current state of computer sound chips. Instead, he wanted a high-quality instrument chip, which is the reason why the SID has features like the envelope generator.
I thought the sound chips on the market, including those in the Atari computers, were primitive and obviously had been designed by people who knew nothing about music. Emphasis during chip design was on high-precision frequency control. The SID was originally designed to have 32 independent voices, sharing a common wavetable lookup scheme that would be time multiplexed. However, these features could not be finished in time, so instead the mask work for a single oscillator was simply replicated three times across the chip's surface, creating three voices each with its own oscillator. Another feature that was not incorporated in the final design was a frequency look-up table for the most common musical notes, a feature that was dropped because of space limitations. The support for an audio input pin was a feature Yannes added without asking, which in theory would have allowed the chip to be used as a simple effect processor. The masks were produced in 7-micrometer technology to gain a high yield; the state of the art at the time was 6-micrometer technologies. The chip, like the first product using it (the Commodore 64), was finished in time for the Consumer Electronics Show in the first weekend of January 1982. Even though Yannes was partly displeased with the result, his colleague Charles Winterble said: "This thing is already 10 times better than anything out there and 20 times better than it needs to be." The specifications for the chip were not used as a blueprint. Rather, they were written as the development work progressed, and not all planned features made it into the final product. Yannes claims he had a feature list of which three quarters made it into the final design. The later 8580 revision was revised to more closely match the specifications for existing features. The most notable changes between the 6581 and 8580 are the behavior of the filter and the result of selecting multiple waveform types on a single voice.
Design
The SID is a mixed-signal integrated circuit, featuring both digital and analog circuitry. All control ports are digital, while the output ports are analog. The system is programmed using a 5-bit address bus that selects a processor register, and then reading or writing that register over an 8-bit data bus. The SID features three voices, each with an ADSR envelope for volume control and four basic waveform types selectable: triangle, sawtooth, pulse (with variable duty cycle), and pseudorandom noise. Various complex waveforms can be produced by selecting multiple waveform types (other than noise) at the same time. Voices may also be ring modulated or hard synced with each other. Each voice may be routed into an analog filter with digitally controlled cutoff and resonance, which is constructed with aid of external capacitors to the chip. The filter has low-pass, band-pass, and high-pass modes which may be individually selected or combined. An external audio-in port enables external audio to be passed through the filter. Since the SID's release, programmers have discovered various ways to precisely manipulate the SID at very high speeds via software to make it do things it was not designed to do, such as produce additional voices and play back digital samples. These techniques come at the cost of vastly increased CPU and memory usage, and some are incompatible with the 8580 model, so they are not often used.
… excerpt ends here. Continue reading the full article.





