Skip to content

electrified/rc2014-ym2151

Repository files navigation

OPM Tone Generator (AKA YM2151 Sound card) for RC2014/RC40 bus computers

The board

RC40 bus OPM FM Sound card.

Features

  • FM Operator Type M (OPM)
  • 4 operators
  • 8 algorithms
  • 8 notes
  • Stereo output

History

The YM2151 tone generator and accompanying YM3012 stereo DAC have been used in several computer systems. Most notably the Sharp X68000 and Yamaha's CX5M MSX computer, along with a number of arcade boards. More recently the retro inspired Commander X16 currently has one in it's design.

Yamaha's DX21, DX27 and DX100 synthesisers used a derivative IC which is very similar.

What music files can be played back?

Bill Of Materials

Download the latest Documentation zip from the releases section. This contains a HTML iBOM in the BOM folder.

Gerbers

Download the latest JLCPCB zip from the releases section. This contains standard Gerbers.

Sources / attribution

Beep program modified from https://commander-cx16.fandom.com/wiki/Beep

vgmplayer modified from Marco's version at https://groups.google.com/g/rc2014-z80/c/9nHnETJzGKU/m/z1A33J_GBAAJ, in turn modified from jblang's version at https://github.com/jblang/SN76489/blob/master/examples/vgmplayer.asm

KiCad Github actions https://github.com/INTI-CMNB/kibot https://github.com/neilenns/KiBot-CICD-Template https://github.com/neilenns/CJ4-Electrical-Panel

Background reading/ viewing

https://ayce.dev/emptyx16.html#9f41h---ym2151-register-data-w--status-r

https://ayce.dev/emptyx16.html#ym2151-fm-operator-type-m-opm

https://www.youtube.com/watch?v=BG6q53p7Z10

https://www.youtube.com/watch?v=GnbT23wGcIA

https://www.youtube.com/watch?v=C8K_VtGyjHM

https://vgmrips.net/wiki/OPM_File_Format