I'm working on a music composing program for the ST and thought it would be a good opportunity to implement support for a better soundchip in an ST after remembering an old thread about the possibility some while ago:
https://www.atari-forum.com/viewtopic.php?f=15&t=6520
After looking at a load of datasheets I settled on using a YM2203 as it seems to be the closest to the YM2149 in terms of connections and operation, and I think I'm pretty much finished with the design of the PCB now. If anyone on here is experienced with this kind of thing I'd be very happy to hear any suggestions or criticisms.
The bus control pins were the biggest challenge as upon consulting The Bible (ST Internals) it appeared that the ST keeps one of the control pins on permanently and only adjusts 2 of them, so I had to use the 2 logic chips and some diodes to adapt that to the signals the YM2203 needed.
This is what I've come up with:
It has separate outputs for the SSG and FM outputs and connections for a double-pole switch to combine them as desired.
I should note that credit for the amplifier circuitry (and how to hook the DAC up) goes to Zenmai from his YM2203 Jukebox project:
https://github.com/zenmai/YM2203_JukeBox

