YM2612

YM2612 is a 6 channel FM synthesis (Frequency Modulation) sound synthesizer IC produced by Yamaha. It belongs to a family of Yamaha FM synthesizer chips, and can be considered an ancestor to the OPL2 (YM3812) and OPL3 (YMF262) FM ICs that were used in the popular AdLib and Creative Labs SoundBlaster PC soundcards.

The YM2612 was notably used in the Sega Master System and Sega Megadrive game consoles and has the following features:

  • Six concurrent FM channels (or voices)
  • The sixth channel can be used as an FM or DAC channel (but not both)
  • Four operators per channel
  • Two timers
  • A low frequency oscillator
  • Stereo output

Each channel may be assigned to either left, right or both (centre) of the stereo output.

The special sixth channel can act as a DAC (Digital to Analogue Converter) by means of the 'DAC Enable' register, this allows the chip to play 8-bit PCM sound samples. Enabling the DAC disables the FM for that channel. Data is written to the DAC via an 8-bit register. The YM2612 does not provide any timing or buffering of the PCM samples, so all frequency control and buffering must be done in software by the host processor.