This is an OPL-compatible driver for Yamaha's YMF825 FM synthesizer chip (also known as SD-1). It allows playback of OPL2 or OPL3 music on SD-1 by translating OPL register writes to their SD-1 equivalents.
See this video for a demonstration of OPL PC game and tracker music played back on SD-1: https://youtu.be/BEgAx0jngKQ
This repository consists of:
hardware/
- breadboard wiring diagram and schematic for a USB to SD-1 interface based on Raspberry Pi Picofirmware/
- firmware for the above device
The firmware supports the RetroWave OPL3 serial protocol, allowing it to be used with software such as the RetroWave VGM player, https://www.scummvm.org/ and https://dosbox-x.com/ that supports the RetroWave OPL3 hardware.
The firmware is written in C++ using the Raspberry Pi Pico SDK. After installing, build the firmware as follows:
$ cd firmware
$ cmake -B build
$ make -C build
It's possible to use the RetroWave_Player tool to play back OPL2/3 VGM files using this device. For example:
RetroWave_Player -t tty -d /dev/cu.usbmodem1234561 HITECH3.vgm