Skip to content

Transform your RP2040 into a COM port passthrough for classic FM sound chips like the SN76489 and YM3812. Enjoy authentic retro audio from vintage computers and consoles using real sound chips using modern hardware.

Notifications You must be signed in to change notification settings

xrip/retro-sound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RP2040 Retro Sound

What is?

RP2040 Retro Sound is a project that enables the Raspberry Pi Pico (RP2040) to serve as a COM port passthrough for various FM retro sound chips like the SAA1099, YM2413, SN76489, YM3812, and YMF262. It achieves this with the help of two 74HC595 shift registers.

PCB would like to look like this:

PCB protype

With this setup, you can bring the authentic sound of classic gaming and computing systems to life using original sound chips. Enjoy the nostalgia of retro audio in a modern, convenient package!

Purpose

The goal of this project is to allow enthusiasts to listen to retro sound with real sound chips without needing any other retro hardware.

How to use

To use this project, you will need a modified version of DosBox-X(to be provided later) or a Sega Master System/Sega Genesis emulator that can passthrough sound data directly to the chips via a COM port.

The operation protocol is straightforward and consists of two-byte transfers. The first byte is the command byte:

/*
 * 76543210 - command byte
 * ||||||||
 * |||||||+-- chip 0 / chip 1
 * ||||||+--- address or data
 * ||||++---- reserved
 * ++++------ 0x0...0xE chip id:
 *
 *            0x0 - SN76489 (Tandy 3 voice)
 *            0x1 - YM2413 (OPLL)
 *            0x2 - YM3812 (OPL2)
 *            0x3 - SAA1099 (Creative Music System / GameBlaster)
 *            0x4 - YMF262 (OPL3)
 *            0x5 - YM2612, YM2203, YM2608, YM2610, YMF288 (OPN2 and OPN-compatible series)
 *            ...
 *            0xf - all chips reset/initialization
 */

The second byte is the data byte, which is routed directly to the chip.

Requirements

  1. PCB (to be provided later)
  2. RP2040: The microcontroller that powers the project.
  3. 2x 74HC595 Shift Registers: These are used to interface with the sound chips.
  4. Retro Sound Chips: Choose from SN76489, SAA1099, YM2413, YM3812, YMF262, or any OPN2 compatible chip. The YMF288 is recommended for its versatility.
  5. Capacitors and Resistors: A few passive components for stable operation.
  6. Basic Soldering Skills: Minimal soldering is required to assemble the hardware.

About

Transform your RP2040 into a COM port passthrough for classic FM sound chips like the SN76489 and YM3812. Enjoy authentic retro audio from vintage computers and consoles using real sound chips using modern hardware.

Resources

Stars

Watchers

Forks