General Instrument
General Instrument (GI) was an American electronics manufacturer based in Horsham, Pennsylvania, specializing in semiconductors and cable television equipment. They formed in New York City in 1923 as an electronics manufacturer. During the 1950s ...
in 1978, initially for use with their 16-bit CP1610 or one of the PIC1650 series of 8-bit microcomputers. The AY-3-8910 and its variants were used in many arcade games—Konami's '' Gyruss'' contains five—and
pinball
Pinball games are a family of games in which a ball is propelled into a specially designed table where it bounces off various obstacles, scoring points either en route or when it comes to rest. Historically the board was studded with nails call ...
machines as well as being the sound chip in the
Intellivision
The Intellivision is a home video game console released by Mattel Electronics in 1979. The name is a portmanteau of "intelligent television". Development began in 1977, the same year as the launch of its main competitor, the Atari 2600. In 1984, ...
and
Vectrex
The Vectrex is a vector display-based home video game console–the only one ever designed and released for the home market, developed by Smith Engineering. It was first released for the North America market in November 1982 and then Europe an ...
video
game console
A video game console is an electronic device that outputs a video signal or image to display a video game that can be played with a game controller. These may be home consoles, which are generally placed in a permanent location connected to ...
s, and the
Amstrad CPC
The Amstrad CPC (short for ''Colour Personal Computer'') is a series of 8-bit home computers produced by Amstrad between 1984 and 1990. It was designed to compete in the mid-1980s home computer market dominated by the Commodore 64 and the S ...
,
Oric-1
Oric was the name used by UK-based Tangerine Computer Systems for a series of 6502-based home computers sold in the 1980s, primarily in Europe.
With the success of the ZX Spectrum from Sinclair Research, Tangerine's backers suggested a h ...
ZX Spectrum
The ZX Spectrum () is an 8-bit home computer that was developed by Sinclair Research. It was released in the United Kingdom on 23 April 1982, and became Britain's best-selling microcomputer.
Referred to during development as the ''ZX81 Colou ...
home computers. It was also used in the
Mockingboard
The Mockingboard (a pun on "Mockingbird") is a sound card for the Apple II series of microcomputers built by Sweet Micro Systems, which improve on the Apple II's limited sound capabilities.
In 1981, Sweet Micro Systems began designing products ...
and Cricket sound cards for the
Apple II
The Apple II (stylized as ) is an 8-bit home computer and one of the world's first highly successful mass-produced microcomputer products. It was designed primarily by Steve Wozniak; Jerry Manock developed the design of Apple II's foam-mold ...
and the Speech/Sound Cartridge for the
TRS-80 Color Computer
The RadioShack TRS-80 Color Computer, later marketed as the Tandy Color Computer and sometimes nicknamed the CoCo, is a line of home computers developed and sold by Tandy Corporation. Despite sharing a name with the earlier TRS-80, the Color Co ...
.
After
General Instrument
General Instrument (GI) was an American electronics manufacturer based in Horsham, Pennsylvania, specializing in semiconductors and cable television equipment. They formed in New York City in 1923 as an electronics manufacturer. During the 1950s ...
's spinoff of
Microchip Technology
Microchip Technology Inc. is a publicly-listed American corporation that manufactures microcontroller, mixed-signal, analog and Flash-IP integrated circuits. Its products include microcontrollers ( PIC, dsPIC, AVR and SAM), Serial EEPROM dev ...
in 1987, the chip was sold for a few years under the Microchip brand. It was also manufactured under license by
Yamaha Yamaha may refer to:
* Yamaha Corporation, a Japanese company with a wide range of products and services, established in 1887. The company is the largest shareholder of Yamaha Motor Company (below).
** Yamaha Music Foundation, an organization estab ...
(with a selectable clock divider pin and a double-resolution and double-rate volume envelope table) as the YM2149F; the Atari ST uses this version. It produces very similar results to the Texas Instruments SN76489 and was on the market for a similar period.
The chips are no longer made, but functionally-identical clones are still in active production. An unofficial
VHDL
The VHSIC Hardware Description Language (VHDL) is a hardware description language (HDL) that can model the behavior and structure of digital systems at multiple levels of abstraction, ranging from the system level down to that of logic gat ...
description is freely available for use with
FPGA
A field-programmable gate array (FPGA) is an integrated circuit designed to be configured by a customer or a designer after manufacturinghence the term ''Field-programmability, field-programmable''. The FPGA configuration is generally specifi ...
s.
Description
The AY-3-8910 was essentially a
state machine
A finite-state machine (FSM) or finite-state automaton (FSA, plural: ''automata''), finite automaton, or simply a state machine, is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number o ...
, with the state being set up in a series of sixteen
8-bit
In computer architecture, 8-bit integers or other data units are those that are 8 bits wide (1 octet). Also, 8-bit central processing unit (CPU) and arithmetic logic unit (ALU) architectures are those that are based on registers or data buses of ...
registers. These were programmed over an 8-bit bus that was used both for addressing and data by toggling one of the external pins. For instance, a typical setup cycle would put the bus into "address mode" to select a register, and then switch to "data mode" to set the contents of that register. This bus was implemented natively on GI's own CPUs, but it had to be recreated in
glue logic
In electronics, glue logic is the custom logic circuitry used to interface a number of off-the-shelf integrated circuits. This is often achieved using common, inexpensive 7400- or 4000-series components. In more complex cases, a programmable lo ...
or with the help of an additional interface adapter such as the
MOS Technology 6522
The 6522 Versatile Interface Adapter (VIA) is an integrated circuit that was designed and manufactured by MOS Technology as an I/O port controller for the 6502 family of microprocessors. It provides two bidirectional 8-bit parallel I/O ports, tw ...
when the chip was used with the much more common
MOS Technology 6502
The MOS Technology 6502 (typically pronounced "sixty-five-oh-two" or "six-five-oh-two") William Mensch and the moderator both pronounce the 6502 microprocessor as ''"sixty-five-oh-two"''. is an 8-bit microprocessor that was designed by a small te ...
or
Zilog Z80
The Z80 is an 8-bit computing, 8-bit microprocessor introduced by Zilog as the startup company's first product. The Z80 was conceived by Federico Faggin in late 1974 and developed by him and his 11 employees starting in early 1975. The first wor ...
CPUs.
Six registers controlled the pitches produced in the three primary channels. The wavelength to generate was held in two eight-bit registers dedicated to each channel, but the value was limited to 12-bits for other reasons, for a total of 4095 (the register value is used as the frequency divider and 0 is treated as 1) different pitches. Another register controlled the period of a pseudo-random noise generator (a total of 31 different cycle times), while another controlled the mixing of this noise into the three primary channels.
Three additional registers controlled the volume of the channels, as well as turning on or off the optional envelope controls on them. Finally the last three registers controlled the times of the
envelope
An envelope is a common packaging item, usually made of thin, flat material. It is designed to contain a flat object, such as a letter or card.
Traditional envelopes are made from sheets of paper cut to one of three shapes: a rhombus, a ...
controller, by setting the envelope type and envelope cycle time. A total of eight envelope types include sawtooth shape or triangle shape, starting on either maximum or minimum. The shape can also be set to repeat for a cycling effect. A total of 65535 different cycle times can be set. As there was only one envelope shared between all three channels, many programmers ignored it and programmed their own envelope controllers in software (controlling volume directly). A well known trick was to run the hardware envelope at cycle times above 20Hz to produce sawtooth or pulse-wave like bass sounds.
Although there are only 16 registers, the four MSB bits of the 8-bit bus must be set to the factory default '0000' value when selecting a register. Incorrectly setting the MSB bits causes the chip to ignore the register change. General Instruments did take orders for customized MSB bits (factory set to other than '0000'). The chips made with customize-set MSB register bits allow the same processor to control more than one AY chip on the same bus (e.g.
Mockingboard
The Mockingboard (a pun on "Mockingbird") is a sound card for the Apple II series of microcomputers built by Sweet Micro Systems, which improve on the Apple II's limited sound capabilities.
In 1981, Sweet Micro Systems began designing products ...
sound card for Apple or TurboSound for ZX Spectrum). There are many new-old-stock (NOS) chips on the secondary market with MSB bits factory set to a non-'0000' value. The non-0000 value can cause significant developmental troubles for designers and repair technicians. Software must be written to identify the correct value of the MSB bits on any given chip. Also, software must be changed or hardware added to allow these factory set MSB chips to be used in place of the default '0000' chips.
The AY-3-8910 generates tones with base frequencies of up to 125 kHz (4 MHz input clock, or 6 MHz with the YM2149F), well beyond human perception and into the ultrasonic range. The existence of ultrasonic values is a consequence of the frequency-divider design; in order to have adequate resolution at audible frequencies it is necessary for the overall clock rate (and thus the output at small divisors) to be considerably higher than the audible range. Only divisors below 5 give entirely-ultrasonic output frequencies. Frequencies equivalent to the top octave of a piano keyboard can be defined with reasonable accuracy versus the accepted note values for the even-tempered scale, to nearly 1 Hz precision in the A440 range and even more finely at lower pitches. Despite the high maximum frequency, the ability to divide that figure by 4096 means the lowest directly definable output frequency is 30.6 Hz, roughly equal to B0, the third lowest note on a normal 88-key piano, and as good as subsonic with everyday speaker systems. In essence, the chip is able to produce decently musical output at all reasonable pitches found in most compositions.
By contrast, the SN76489 only has 10 bits of precision for its frequency dividers. Having the same base frequency of 125 kHz, it should in theory lack the two lowest octaves of the PSG. To get around this, the SN76489 plays its tone generators one octave lower than their calculated frequency, giving it one octave less in the bass and one octave less in the top compared to the PSG.
Variants
The 8910 silicon chip was sold in three different packages.
The AY-3-8910 has two general-purpose 8-bit parallel I/O ports, A and B, and these are available in the 40-pin package of the same name.
The AY-3-8912 is the same chip in a 28-pin package, with parallel port B simply not connected to any pins. Smaller packages save cost and board space. The 8912 was the most widely used variant.
The AY-3-8913 is the same chip in a 24-pin package, with both parallel ports not connected. Some users thought the small reduction in pin count over the 8912 made it less interesting; however, the I/O registers were rarely used by designers so General Instruments created this fully functional 24 pin alternative and released it approximately 6 months after the 8910 and 8912 chips. The goal was to reduce complexity for the designer and reduce the foot print on the PCB.
The
Yamaha Yamaha may refer to:
* Yamaha Corporation, a Japanese company with a wide range of products and services, established in 1887. The company is the largest shareholder of Yamaha Motor Company (below).
** Yamaha Music Foundation, an organization estab ...
YM2149F SSG (Software-controlled Sound Generator) chip has the same pinout as the AY-3-8910, with the minor difference that pin 26 could halve the master clock if pulled low. If left unconnected, as it would be if replacing an AY-3-8910 chip, an internal resistor pulls the pin high, so the master clock is not halved.
The Yamaha YM3439 is a CMOS version of the YM2149F. It is available in two packages: 40-pin DIP (YM3439-D) and 44-pin QFP (YM3439-F).
The Yamaha YMZ294 is one of the newest variants of the YM2149, but in an 18-pin package. Has no parallel ports and only one sound output with the three channels mixed.
The Yamaha YMZ284 is an even smaller variation of the YM2149, in a 16-pin package. It's basically YMZ294 without the 4/6 MHz selection pin and the /TEST pin.
The Yamaha YMZ285 has a 28-pin package and features a built-in PCM. Has no parallel ports and two sound outputs: one with the three SSG channels mixed, other with the PCM output.
The Toshiba T7766A is a compatible chip that has the same pinout as the AY-3-8910 and was used in some MSX models.
The Winbond WF19054, JFC 95101 and the File KC89C72 have the same pinout as the AY-3-8910 and are also 100% software compatible. They're still in production and used on many
slot machine
A slot machine (American English), fruit machine (British English) or poker machine ( Australian English and New Zealand English) is a gambling machine that creates a game of chance for its customers. Slot machines are also known pejoratively ...
s.
The AY-3-8914 has the same pinout and is in the same 40-pin package as the AY-3-8910, except the control registers on the chip are shuffled around, and the 'expected input' on the A9 pin may be different. It was used in
Mattel
Mattel, Inc. ( ) is an American multinational toy manufacturing and entertainment company founded in January 1945 and headquartered in El Segundo, California. The company has presence in 35 countries and territories and sells products in more ...
's
Intellivision
The Intellivision is a home video game console released by Mattel Electronics in 1979. The name is a portmanteau of "intelligent television". Development began in 1977, the same year as the launch of its main competitor, the Atari 2600. In 1984, ...
console and Aquarius computer.
The AY-3-8930, also known as AY8930, is an enhanced but mostly-backwards-compatible version of the AY-3-8910. The function of the BC2 pin is changed (it is ignored and assumed to be 0 regardless of the pin state), otherwise the pinout is the same as the AY-3-8910. This variant of the chip adds a number of major enhancements, such as separate envelopes for the three channels (as opposed to one shared envelope), variable duty-cycles, more bits of precision for note frequency, volume, and envelope frequency, and a much more configurable noise generator. It was used on the
Covox
The Covox Speech Thing is an external audio device attached to the computer to output digital sound. It was composed of a primitive 8-bit DAC using a resistor ladder and an analogue signal output, and plugged into the printer port of the PC.
T ...
Sound Master sound card for the IBM-PC. Very few games took advantage of it beyond the normal AY-3-8910 features. This chip may have only been produced by
Microchip Technology
Microchip Technology Inc. is a publicly-listed American corporation that manufactures microcontroller, mixed-signal, analog and Flash-IP integrated circuits. Its products include microcontrollers ( PIC, dsPIC, AVR and SAM), Serial EEPROM dev ...
.
Related chips
Yamaha used the YM2149 core to produce a whole family of music chips which were used in mobile phones, home computers, home and arcade video game systems, etc. For example, the
YM2203
The YM2203, a.k.a. OPN (FM Operator Type-N), is a six-channel (3 FM and 3 SSG) sound chip developed by Yamaha. It was the progenitor of Yamaha's OPN family of FM synthesis chips used in many video game and computer systems throughout the 1980s and ...
(also known as OPN) is basically a YM2149 with
FM synthesis
Frequency modulation synthesis (or FM synthesis) is a form of sound synthesis whereby the frequency of a waveform is changed by modulating its frequency with a modulator. The frequency of an oscillator is altered "in accordance with the amplitud ...
added in, as well as its far more advanced successors: the YM2608 (also known as OPNA) which retained all previous features and greatly expanded upon those, the YM2610 (OPNB) which added other features and retained the YM2149 sound channels but not the I/O ports, and the YM2612 (also known as OPN2) which added some features but removed all other ones including the YM2149 sound channels and I/O ports.
Usage
Arcade games
* ''
1942
Events
Below, the events of World War II have the "WWII" prefix.
January
* January 1 – WWII: The Declaration by United Nations is signed by China, the United Kingdom, the United States, the Soviet Union, and 22 other nations, in wh ...
''
* ''
Anteater
Anteater is a common name for the four extant mammal species of the suborder Vermilingua (meaning "worm tongue") commonly known for eating ants and termites. The individual species have other names in English and other languages. Together wi ...
''
* ''
Bagman
The term bagman (or bag man) has different meanings in different countries.
One group of definitions centers on the idea of traveling. In British usage, "bagman" is a term for a traveling salesman, first known from 1808.
In Australian usage, ...
BurgerTime
originally released as in Japan, is a 1982 arcade game developed by Data East initially for its DECO Cassette System. The player is chef Peter Pepper, who must walk over hamburger ingredients located across a maze of platforms while avoiding c ...
''
* ''
Dragon's Lair
''Dragon's Lair'' is a video game franchise created by Rick Dyer and Don Bluth. The series is famous for its Western animation-style graphics and complex decades-long history of being ported to many platforms and being remade into television a ...
''
* ''
Elevator Action
is a platform shooter game released in arcades by Taito in 1983. The player assumes the role of Agent 17, a spy infiltrating a 30-story building filled with elevators and enemy agents who emerge from closed doors. The goal is to collect secret ...
''
* ''
Frogger
is a 1981 arcade action game developed by Konami and manufactured by Sega. In North America, it was released by Sega/Gremlin. The object of the game is to direct a series of frogs to their homes by crossing a busy road and a hazardous ri ...
Kangaroo
Kangaroos are four marsupials from the family Macropodidae (macropods, meaning "large foot"). In common use the term is used to describe the largest species from this family, the red kangaroo, as well as the antilopine kangaroo, eastern ...
Omega Race
''Omega Race'' is a shoot 'em up arcade game designed by Ron Haliburton and released in 1981 by Midway. It is the only arcade game with vector graphics that Midway created.
''Omega Race'' was ported to the VIC-20 and Commodore 64 and published ...
Popeye
Popeye the Sailor Man is a fictional cartoon character created by E. C. Segar, Elzie Crisler Segar.Scramble''
* '' Super Cobra''
* '' Roc'n Rope''
* '' Time Pilot''
* ''
Tutankham
is a 1982 arcade video game developed and released by Konami and released by Stern in North America. Named after the Egyptian pharaoh Tutankhamun, the game combines a maze shoot 'em up with light puzzle-solving elements. It debuted at the Eur ...
''
* Bally Midway MCR system
** '' Discs of Tron''
** ''
Kick
A kick is a physical strike using the leg, in unison usually with an area of the knee or lower using the foot, heel, tibia (shin), ball of the foot, blade of the foot, toes or knee (the latter is also known as a knee strike). This type of a ...
Timber
Lumber is wood that has been processed into dimensional lumber, including Beam (structure), beams and plank (wood), planks or boards, a stage in the process of wood production. Lumber is mainly used for construction framing, as well as fini ...
''
** ''
Tron
''Tron'' (stylized as ''TRON'') is a 1982 American science fiction action-adventure film written and directed by Steven Lisberger from a story by Lisberger and Bonnie MacBird. The film stars Jeff Bridges as Kevin Flynn, a computer programme ...
''
*
DECO Cassette System 240px, DECO Cassette System loading screen
The DECO Cassette System was introduced by Data East in October 1980. It was the first standardised arcade system that allowed arcade owners to change games. Developed in 1979, it was released in Japan i ...
Home hardware
*
Amstrad CPC
The Amstrad CPC (short for ''Colour Personal Computer'') is a series of 8-bit home computers produced by Amstrad between 1984 and 1990. It was designed to compete in the mid-1980s home computer market dominated by the Commodore 64 and the S ...
Fujitsu FM-7
The FM-7 ("Fujitsu Micro 7") is a home computer created by Fujitsu. It was first released in 1982 and was sold in Japan and Spain. It is a stripped-down version of Fujitsu's earlier FM-8 computer, and during development it was referred to as th ...
Intellivision
The Intellivision is a home video game console released by Mattel Electronics in 1979. The name is a portmanteau of "intelligent television". Development began in 1977, the same year as the launch of its main competitor, the Atari 2600. In 1984, ...
NEC PC-8801
The , commonly shortened to PC-88, are a brand of Zilog Z80-based 8-bit home computers released by Nippon Electric Company (NEC) in 1981 and primarily sold in Japan.
The PC-8800 series sold extremely well and became one of the three major Japa ...
(Yamaha OPN, models PC8801mkII SR models and newer. / Yamaha OPNA, models PC8801 FA and newer.)
*
NEC PC-9801
The , commonly shortened to PC-98 or , is a lineup of Japanese 16-bit and 32-bit personal computers manufactured by NEC from 1982 to 2000. The platform established NEC's dominance in the Japanese personal computer market, and, by 1999, more ...
Oric-1
Oric was the name used by UK-based Tangerine Computer Systems for a series of 6502-based home computers sold in the 1980s, primarily in Europe.
With the success of the ZX Spectrum from Sinclair Research, Tangerine's backers suggested a h ...
*
Sharp X1
The , sometimes called the Sharp X1 or CZ-800C, is a series of home computers released by Sharp Corporation from 1982 to 1988. It is based on a Zilog Z80 CPU.
The RGB display monitor for the X1 had a television tuner, and a computer screen ...
(GI AY-3-8910 / Yamaha YM2149F)
*
Timex Sinclair 2068
The Timex Sinclair 2068 (T/S 2068), released in November 1983, was Timex Sinclair's third and last home computer for the United States market. It was also marketed in Canada, Argentina, Portugal and Poland, as Timex Computer 2068 (TC 2068).
H ...
(GI AY-3-8912)
*
Vectrex
The Vectrex is a vector display-based home video game console–the only one ever designed and released for the home market, developed by Smith Engineering. It was first released for the North America market in November 1982 and then Europe an ...
(GI AY-3-8912)
*
ZX Spectrum
The ZX Spectrum () is an 8-bit home computer that was developed by Sinclair Research. It was released in the United Kingdom on 23 April 1982, and became Britain's best-selling microcomputer.
Referred to during development as the ''ZX81 Colou ...
128/+2/+3 (GI AY-3-8912)
* Cricket sound card for Apple II
*
Mockingboard
The Mockingboard (a pun on "Mockingbird") is a sound card for the Apple II series of microcomputers built by Sweet Micro Systems, which improve on the Apple II's limited sound capabilities.
In 1981, Sweet Micro Systems began designing products ...
sound card for
Apple II
The Apple II (stylized as ) is an 8-bit home computer and one of the world's first highly successful mass-produced microcomputer products. It was designed primarily by Steve Wozniak; Jerry Manock developed the design of Apple II's foam-mold ...
* Mini-Expander for Mattel Aquarius
* Speech/Sound Cartridge for
TRS-80 Color Computer
The RadioShack TRS-80 Color Computer, later marketed as the Tandy Color Computer and sometimes nicknamed the CoCo, is a line of home computers developed and sold by Tandy Corporation. Despite sharing a name with the earlier TRS-80, the Color Co ...