MOS TECHNOLOGY SID


The MOS Technology 6581/8580 'SID (Sound Interface Device)' was the built-in Programmable Sound Generator chip of Commodore's CBM-II, Commodore 64, Commodore 128 and Commodore MAX Machine home computers. It was one of the first sound chips of its kind to be included in a home computer prior to the digital sound revolution.
Together with the VIC-II graphics chip, the SID was instrumental in making the C64 the best-selling computer in history, and is partly credited for initiating the demoscene.
The SID has , which was filed on February 27, 1983 and issued on July 7, 1987. The patent expired on July 7, 2004.

Contents
Design process
Features
Technical details
Revisions
Game audio
Conventional Music
Modern developments
SID file format
References
See also
External links

Design process


The SID was devised by engineer Robert "Bob" Yannes, who later co-founded the Ensoniq digital synthesizer company. Yannes headed a team that included Yannes, two technicians and a CAD operator running ''Applicon'' (now a part of the UGS Corp.), who designed and completed the chip in five months' time 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, previously not found in home computer sound chips.
Emphasis during chip design was on high-precision frequency control, and the SID was originally designed to have 32 independent voices, sharing a common oscillator. However these features could not be finished in time, so instead the mask work for a certain working oscillator was simply replicated three times across the chip surface, creating three voices with a unique oscillator for each voice. 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, even though this had no practical use in a computer, although it enabled the chip to be used as a simple effect processor. The masks were produced in 7-micrometer technology in order to gain a high yield: the current 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. This is the reason why some of the specifications for the first version (6581) were accidentally incorrect. The later revision (8580) was revised to match the specification. For example, the 8580 can make a logical AND between two waveforms, something that the 6581 could never handle. Another feature that differs between the two revisions is the filter: the 6581 version is far away from the specification.

Features



★ three separately programmable independent audio oscillators (8 octave range, approximately 16 - 4000 Hz)

★ four different waveforms per audio oscillator (sawtooth, triangle, pulse, noise)

★ one multi mode filter featuring low-pass, high-pass and band-pass outputs with 6 dB/oct (bandpass) or 12 dB/octave (lowpass/highpass) rolloff. The different filter-modes are sometimes combined to produce additional timbres, for instance a notch-reject filter.

★ three attack/decay/sustain/release (ADSR) volume controls, one for each audio oscillator.

★ three ring modulators.

oscillator sync for each audio oscillator.

★ two 8-bit A/D converters (typically used for game control paddles, but later also used for a mouse)

★ external audio input (for sound mixing with external signal sources)

random number/modulation generator

Technical details


6581 Pin configuration

The SID is a mixed-mode integrated circuit, featuring both digital and analog circuitry. All control ports are digital, but the output ports are analog. The SID features three-voice synthesis, where each voice may use one of four different waveforms: square wave (with variable pulse width), triangle wave, sawtooth wave and a pseudo-random (but not white noise) wave. Each voice may be ring modulated with one of the other waves, i.e. the frequency spectrum is convoluted and output. The ring modulation, filter, and programming techniques for switching between different waveforms at high speed make up the characteristic sound of the SID.
Each voice may be passed through a common, digitally controlled analog filter with variable cut-off frequency and resonance, which is constructed with the aid of capacitors external to the circuit. An external audio in port enables external audio to be passed through the filter.
The 6581 had a quirk that caused changes in volume level on a channel to result in a slight "pop". Eventually this bug was found to be useful for producing a fourth voice of percussive sounds, digitized speech, and even short excerpts of digital recordings (the Commodore 64 lacked the memory capacity for full-length digital recordings of songs). Unfortunately, this "defect" was partially corrected in the 8580 used in the Commodore 64C and the Commodore 128DCR. This made digitized sound (samples) very quiet. Fortunately, the volume level could be mostly restored with either a hardware modification, or a software trick involving the Pulse waveform. The software trick generally renders one voice temporarily unusable, although clever musical compositions can make this problem less noticeable.
The 6581 and 8580 differ from each other in several ways. The original 6581 was manufactured using the older NMOS process, which used 12V DC to operate. The 8580 was made using the HMOS-II process, which required less power (9V DC), and therefore made the IC run cooler. The 8580 was thus far more durable than the 6581. Additionally, a better separation between the analog and the digital circuits made the 8580 chip's output less noisy and distorted. A simple hardware modification can be added to 6581-based computers to remove most of the noise, but this involves disabling the Audio-In function.
A HMOS-II version of the 6581 was produced, the 6582. Like the 8580, this chip used 5 volts and 9 volts for its power supplies. It was never shipped in new Commodore 64s, however due to its lower voltage requirement, Creative Micro Designs later used it in their SID Symphony expansion cartridge.
The original manual for the SID mentions that if several waveforms are enabled at the same time, the result will be a logical AND between them, but only the 8580 actually has this functionality: on the 6581 some waveform combinations will only yield silence or be close to inaudible, depending on the chip revision. One notable exception is that all 6581 revisions appear to be capable of using the Sawtooth + Pulse waveform combination, the output from which is actually a logical AND of the Sawtooth and Triangle waveform oscillator values, resulting in a very complex final waveform, even though the Triangle waveform was not explicitly requested. The filter is also different between the two models, with the 8580 being closer to the actual specification.
Despite its documented shortcomings, many SID musicians prefer the flawed 6581 chip over the corrected 8580 chip. The main reason for this is that the filter produces strong distortion that is sometimes used to produce simulation of instruments such as a distorted electric guitar. Also, the highpass component of the filter was mixed in 3 dB attenuated compared to the other outputs, making the sound more bassy. In addition to nonlinearities in filter, the D/A circuitry used in the waveform generators produced yet more additional distortion that made its sound softer and smoother.
Revisions

As far as anyone knows, the 6581 R1 never reached the market. Yannes has stated: "The SID chip came out pretty well the first time, it made sound. Everything we needed for the show was working after the second pass." This probably means that the R1 was the first round of chips and R2 actually the second mask produced. High-resolution photos of Charles Winterble's prototype C64 show the markings "MOS 6581 2082" (no R2 thus presumably an R1) which probably means that the first round of prototype SID chips were produced week 20, 1982.
These are the known revisions of the various SID chips:

★ 6581 R2 - Will say "6581" only on the package

★ 6581 R3 - Will say "6581 R3" or "6581 CBM" on the package. Produced until early 1986

★ 6581 R4 - Will say "6581 R4" on the package. Produced from early to mid 1986

★ 6581 R4 AR - Will say "6581 R4 AR" on the package. Produced from mid 1986 until at least 1990

★ 6582 A - Will say "6582 A" on the package. Typically produced around 1992

★ 8580 R5 - Will say "8580R5" on the package. Produced from 1987 to 1992
Some of these chips are marked "CSG" as in ''Commodore Semiconductor Group'' (and Commodore logo) rather than "MOS". This even goes for chips produced the same week, indicating that the printers painting figures on top of the chip packages must have been from different factory lines. Generally the chips are marked "MOS" until around mid 1989 where the "CSG" markings began.

Game audio


The Commodore 64 had slow tape and disk drive protocols (both serial), taking minutes to completely fill its 64K RAM. As a result, while the cassette tape or disk loaded it was common for game companies to either use a loader that used faster protocols, or put up a graphics display and play music and multitask (or even offer rudimentary interaction with a simple game, or a way to manipulate the tune playing), in what was sometimes called a "loader". The combination of slow loading and an excellent sound chip may be why composers for Commodore game music have received somewhat more attention compared to composers for other game platforms.
Well known composers of game music for this chip are Martin Galway, known for many titles, including ''Wizball'', and Rob Hubbard, known for titles such as ''ACE 2'', ''Delta'', ''International Karate'', ''IK+'', and ''Monty on the Run''. Other noteworthies include Jeroen Tel (''Cybernoid'' and ''Myth'') and Chris Hülsbeck, whose composition career started with the SID but has spanned nearly every kind of computer music and other synthesizers since.

Conventional Music


SID sounds and snippets of SID music has been introduced into mainstream music at several occasions:

★ In the spring of 1999 Zombie Nation released a remix of game musician David Whittaker's ''Lazy Jones'' (originally written for the SID in 1984) under the title ''Kernkraft 400''.

★ In Rollergirls 2000 hit ''Superstar'' a SID arpeggio can be clearly heard in the background, probably originating in a SidStation.

★ In 2001 Bas Bron sampled the drums from Jeroen Tels and Reyn Ouwehands song made for the Rubicon game in the song ''You've got my love''.

★ In 2004, Diplo extensively sampled the lead theme from Jonathan Dunns SID music for the game ''Platoon'' and used as a backdrop for their song ''Diplo Rhythm''.

★ In 2007 Timbaland's extensive use of the SidStation led to the 2007 Timbaland plagiarism controversy around his tracks ''Block Party'' and ''Do It'' (written for Nelly Furtado).

Modern developments



★ In 1989 on the Amiga computer, the demo "The 100 Most Remembered C64 Tunes" and later the PlaySID application was released, developed by Per Håkan Sundell and Ron Birk. This was one of the first attempts to emulate the SID in software only, and also introduced a fileformat for representing songs made on the C64 using the SID chip. This later spawned the creation of similar applications for other platforms as well as the creation of a community of people fascinated by SID music.

★ In 1997, an electronic musical instrument utilizing the SID chip as its synthesis engine was released. It is called the SidStation, and it's produced by Swedish company Elektron. As the SID chip had been discontinued for years, Elektron allegedly bought up almost all of the remaining stock. In 2004, Elektron released the Monomachine pattern-based sequencer with optional keyboard. The Monomachine contains several synthesis engines, including an emulated 6581 oscillator using a DSP.

★ In June 1998, a cycle-based SID emulator engine called reSID became available. The all-software emulator, available with C++ source code, is licensed under the GPL by the author, Dag Lem.

★ In 1999, a sound card for IBM PC compatibles called HardSID was released. The card uses from one to four SID chips and allows a PC to utilize the sound capabilities of the chip directly, instead of by emulation via generic sound cards (e.g. SoundBlaster).

★ The CatWeasel from German company Individual Computers, a PCI + Zorro multiformat floppy disk controller and digital joystick adapter for PCs, Macs, and Amigas, includes a hardware SID option, i.e. an option to insert a real SID chip in a socket for use when playing .MUS files.

★ The MIDIbox SID is a MIDI-controlled synthesizer which can contain up to four SID chips. It is a free open source project using a PIC microcontroller. Control of the synthesizer is realized with software or via a control panel with knobs, LEDs etc., which may optionally be mounted on a keyboardless Commodore 64 body.

★ The Prophet64 is a newly developed cartridge for the Commodore 64. It features four separate music applications, mimicing everything from modern sequencers to the Roland 303/909 series. With an optional User Port peripheral, the Prophet64 may synchronized to other equipment using DIN Sync standard (SYNC 24).

★ Artist/Hacker Paul Slocum developed the Cynthcart cartridge that enables you to turn your C64 into an analogue synthesizer. The Cynthcart is available through atariage.com.

★ The Parallel Port SID Interface allows those with very slim budgets to connect the SID chip to a PC.

★ The SwinSID emulation of SID on the Atmel AVR processor and real SID player using Atmel AVR processor.

★ The V-SID 1.0 project (code name SID 6581D, 'D' for digital) from David Amoros was borned in 2005. This project is a hardware emulation of the SID chip from the Bob Yannes's interview, datasheets. The V-SID 1.0 engine had been implemented in a FPGA EP1C12 Cyclone from ALTERA, on an ALTIUM development board, and emulates all the characteristics of the original SID, except the filter which is a digital version (IIR filter controlled by a CPU).

★ The PhoenixSID 65X81 project (2006) aims to faithfully create the SID sound using modern hardware. The workings of a SID chip are recreated on an FPGA, based on interviews with the SID's creator, original datasheets, and comparisons with real SID chips. It is distinguished from similar attempts by its use of real analog circuitry instead of emulation for the legendary SID filter.

SID file format


A .SID file, colloquially known as "a SID" and also referred to as a PSID file, is a sound data file not only containing the note patterns, but also the 6502 program code - often called a "player" - needed to replay the music on the SID. All actual sound is produced by the SID chip, or a software emulator that emulates the SID chip. ''The High Voltage SID Collection'' contains over 30,000 SID tunes. The SID files have the MIME media type audio/prs.sid
The SID file format is not a native format used on the Commodore 64 or 128, but a format specifically created for emulator-assisted music players such as ''PlaySID ''and ''Sidplay''. However, there are loaders like ''RealSIDPlay'' and converters such as PSID64 that make it possible to play a substantial portion of SID files on original Commodore computers.

References



★ Appendix O, "6581 Sound Interface Device (SID) Chip Specifications", of the ''Commodore 64 Programmer's Reference Guide'' (see the C64 article).

Bagnall, Brian. '', pp.231–238,370–371. ISBN 0-9738649-0-7.

See also



MOS Technology VIC - the combined graphics and sound chip of the VIC-20

Atari POKEY

MOS Technology 8364 "Paula"

Chiptune

Sound chip

The High Voltage SID Collection

PPOT The C64 revival band, PRESS PLAY ON TAPE

Machinae Supremacy

External links


'SID information'

SID in-depth information page

The SID Homepage

The c64org portal


'Hardware'

Prophet 64 "The future of SID music"

Home of MIDIbox SID

Elektron Sidstation
'Software / emulators'

PlaySID - SID emulator for Amiga

PSID64 — Converts SID files to executables for playing SID music on a real C64

SIDplay2 - SID emulator for Windows and Linux

SIDPLAY - SID emulator for Mac OS X

JSIDplay Java based SID player (with HVSC on-line)

ACID64 Player [1]

unknown64 - a VSTi Commodore64/SID Chip emulator

QuadraSID - a commercial VST Commodore64/SID Chip emulator

Chipamp - Winamp plug-in bundle compiled by OverClocked ReMix allowing playback of over 40 chiptune and tracker formats

foo_sid - SID file plugin for foobar2000

Rockbox plays SID files
'Music'

The High Voltage SID Collection – The SID music preservation project

6581-8580 Project (SOASC) - The entire HVSC#46 recorded on both types of SID chips with real Commodore 64 computers.

Paulie's Ocean SID Page - Site discussing Ocean's SID player, the Ocean Loading Music and source code for Ocean's SID player.

Compute's Gazette SID Collection

remix.kwed.org – a collection of over 1800 C64 SID remixes

Remix64.com – Community for C64 SID and Amiga music remixes

C64 Music – Commodore 64 music in the real world and other SID related stories blog

SLAY Radio – Radio station that features remixed Commodore 64 music and live shows

Radio PARALAX - German-speaking Webradio station that features remixed Commodore 64 music and live shows

8Bit Mayhem C64 Scene Music Podcast, ''Obvious, not so obvious, forgotten and classic Commodore 64 scene music.''

Machinae Supremacy The Origin Of SID Metal

Mini Melodies SID meets female

PRESS PLAY ON TAPE The C64 revival band, PRESS PLAY ON TAPE

This article provided by Wikipedia. To edit the contents of this article, click here for original source.

psst.. try this: add to faves
Featured Companies
Vacation By VVacation By V