Texas Instruments SN76489
Encyclopedia
The SN76489 Digital Complex Sound Generator (DCSG) is a TTL
-compatible Programmable Sound Generator
chip from Texas Instruments
. It contains three square wave
tone generators and one white noise
generator, each of which can produce sounds at various frequencies and sixteen different volume levels. Its main application has been the generation of music and sound effects in game consoles, arcade game
s and home computers (such as the BBC Micro
and the IBM PCjr
), existing alongside the competing and similar General Instrument AY-3-8910
.
The SN76489 was originally designed to be used in the TI-99/4 computer, where it was first called the TMS9919 and later SN94624, and had a 500 kHz max clock input rate. Later, when it was sold outside of TI, it was renamed the SN76489, and a divide-by-8 was added to its clock input, increasing the max input clock rate to 4 MHz, to facilitate sharing a crystal for both NTSC colorburst and clocking the sound chip. A version of the chip without the divide-by-8 input was also sold outside of TI as the SN76494, which has a 500 kHz max clock input rate.
The frequency
of the square waves produced at each channel is derived by two factors: the speed of the external clock and a value provided in a control register for that channel (called N). Each channel's frequency is arrived at by dividing the clock by 32 and then dividing the result by N.
There are two versions of the SN76489: the SN76489 (Narrow DIP
version labeled SN76489N) and the SN76489A (Narrow DIP version labeled SN76489AN). The former was made around 1980-1982 and the latter from 1983 onward. They differ in that the output of the SN76489 is the inverse of the expected waveform (the waveform 'grows' towards 0 V from 2.5 V), while the SN76489A the waveform is not inverted. The pseudorandom noise feedback in the both versions is generated from an XNOR of bits 12 and 13 for feedback, and bit 13 being the noise output. The pseudorandom generator is cleared to 0s (with the feedback bit set to 1) on writes to chip register 6, the noise mode register.
Sega
used real SN76489 chips in their SG-series computers, but used SN76489A clones in their Master System, Game Gear, and Mega Drive/Sega Genesis game consoles. These modified sound chips were incorporated into the system's video display processor
. Although basic functionality is almost identical to that of the original SN76489A sound processor, a few small differences existed: the randomness for the noise channel is generated differently, and the Game Gear's version includes an extension for stereo audio output. The periodic noise is also 16 stages long on the Sega-made clones; this makes a significant difference for music/programs which use periodic noise, as sounds will play at 6.25% lower pitch than on the TI-made chips.
Another clone is the NCR 7496 or NCR 8496, used in the Tandy 1000
computer. It again has a different white noise pattern but is otherwise functionally identical to the SN76489.
It is worth noting that the SN76489A seems to be totally identical to the SN76496 in terms of the outputs produced, but the latter additionally features an "AUDIO IN" pin (on pin 9) for integrated audio mixing.
Transistor-transistor logic
Transistor–transistor logic is a class of digital circuits built from bipolar junction transistors and resistors. It is called transistor–transistor logic because both the logic gating function and the amplifying function are performed by transistors .TTL is notable for being a widespread...
-compatible Programmable Sound Generator
Programmable sound generator
A Programmable Sound Generator is a sound chip that generates sound waves by synthesizing multiple basic waveforms, and often some kind of noise generator, and combining and mixing these waveforms into a complex waveform, then shaping the amplitude of the resulting waveform using...
chip from Texas Instruments
Texas Instruments
Texas Instruments Inc. , widely known as TI, is an American company based in Dallas, Texas, United States, which develops and commercializes semiconductor and computer technology...
. It contains three square wave
Square wave
A square wave is a kind of non-sinusoidal waveform, most typically encountered in electronics and signal processing. An ideal square wave alternates regularly and instantaneously between two levels...
tone generators and one white noise
White noise
White noise is a random signal with a flat power spectral density. In other words, the signal contains equal power within a fixed bandwidth at any center frequency...
generator, each of which can produce sounds at various frequencies and sixteen different volume levels. Its main application has been the generation of music and sound effects in game consoles, arcade game
Arcade game
An arcade game is a coin-operated entertainment machine, usually installed in public businesses such as restaurants, bars, and amusement arcades. Most arcade games are video games, pinball machines, electro-mechanical games, redemption games, and merchandisers...
s and home computers (such as the BBC Micro
BBC Micro
The BBC Microcomputer System, or BBC Micro, was a series of microcomputers and associated peripherals designed and built by Acorn Computers for the BBC Computer Literacy Project, operated by the British Broadcasting Corporation...
and the IBM PCjr
IBM PCjr
The IBM PCjr was IBM's first attempt to enter the home computer market. The PCjr, IBM model number 4860, retained the IBM PC's 8088 CPU and BIOS interface for compatibility, but various design and implementation decisions led the PCjr to be a commercial failure.- Features :Announced November 1,...
), existing alongside the competing and similar General Instrument AY-3-8910
General Instrument AY-3-8910
The AY-3-8910 is a 3-voice Programmable Sound Generator designed by General Instrument, initially for use with their 16-bit CP1610 or one of the PIC1650 series of 8-bit microcomputers...
.
The SN76489 was originally designed to be used in the TI-99/4 computer, where it was first called the TMS9919 and later SN94624, and had a 500 kHz max clock input rate. Later, when it was sold outside of TI, it was renamed the SN76489, and a divide-by-8 was added to its clock input, increasing the max input clock rate to 4 MHz, to facilitate sharing a crystal for both NTSC colorburst and clocking the sound chip. A version of the chip without the divide-by-8 input was also sold outside of TI as the SN76494, which has a 500 kHz max clock input rate.
The frequency
Frequency
Frequency is the number of occurrences of a repeating event per unit time. It is also referred to as temporal frequency.The period is the duration of one cycle in a repeating event, so the period is the reciprocal of the frequency...
of the square waves produced at each channel is derived by two factors: the speed of the external clock and a value provided in a control register for that channel (called N). Each channel's frequency is arrived at by dividing the clock by 32 and then dividing the result by N.
There are two versions of the SN76489: the SN76489 (Narrow DIP
Dual in-line package
In microelectronics, a dual in-line package is an electronic device package with a rectangular housing and two parallel rows of electrical connecting pins. The package may be through-hole mounted to a printed circuit board or inserted in a socket.A DIP is usually referred to as a DIPn, where n is...
version labeled SN76489N) and the SN76489A (Narrow DIP version labeled SN76489AN). The former was made around 1980-1982 and the latter from 1983 onward. They differ in that the output of the SN76489 is the inverse of the expected waveform (the waveform 'grows' towards 0 V from 2.5 V), while the SN76489A the waveform is not inverted. The pseudorandom noise feedback in the both versions is generated from an XNOR of bits 12 and 13 for feedback, and bit 13 being the noise output. The pseudorandom generator is cleared to 0s (with the feedback bit set to 1) on writes to chip register 6, the noise mode register.
Sega
Sega
, usually styled as SEGA, is a multinational video game software developer and an arcade software and hardware development company headquartered in Ōta, Tokyo, Japan, with various offices around the world...
used real SN76489 chips in their SG-series computers, but used SN76489A clones in their Master System, Game Gear, and Mega Drive/Sega Genesis game consoles. These modified sound chips were incorporated into the system's video display processor
Texas Instruments TMS9918
thumb|VDP TMS9918Athumb|VDP TMS9918Athumb|VDP TMS9928AThe TMS9918 is a Video Display Controller manufactured by Texas Instruments.-General information:...
. Although basic functionality is almost identical to that of the original SN76489A sound processor, a few small differences existed: the randomness for the noise channel is generated differently, and the Game Gear's version includes an extension for stereo audio output. The periodic noise is also 16 stages long on the Sega-made clones; this makes a significant difference for music/programs which use periodic noise, as sounds will play at 6.25% lower pitch than on the TI-made chips.
Another clone is the NCR 7496 or NCR 8496, used in the Tandy 1000
Tandy 1000
The Tandy 1000 was the first in a line of more-or-less IBM PC compatible home computer systems produced by the Tandy Corporation for sale in its Radio Shack chain of stores.-Overview:...
computer. It again has a different white noise pattern but is otherwise functionally identical to the SN76489.
It is worth noting that the SN76489A seems to be totally identical to the SN76496 in terms of the outputs produced, but the latter additionally features an "AUDIO IN" pin (on pin 9) for integrated audio mixing.