Thanks for breaking it down for me on the sound technicalities.rainwarrior wrote:Actually, they used it for 3 square channels in Gimmick!, and ignore the noise and envelope generators. The reasons are sensible, I think. The 2A03 already has noise. The envelope generator as an envelope is kind of made obsolete by volume macros. The envelope generator as bass is okay, though at the given clock rate it's really hard to tune. However, Sunsoft already had a strong tradition of DPCM bassline technology, so it wasn't needed anyway.
The other thing is it's a YM2149F, not an AY-3-8910, and the reason this is important is that the YM2149 has a pin setting that divides the input clock by half (which is how it is used in the Sunsoft 5B), so if you're using an AY-3-8910 you'll need to manually divide the clock if you want the correct pitch.
Yeah I actually have both a YM2149 and the AY8910 pictured, and tested both. For the AY8910 I'm dividing the clock within the CPLD to keep things proper. I also noticed the YM was significantly quieter than the AY which I brought up here. I should be able to tune it better to make up for the lack of volume but the 8910 will do fine. I had thought about configuring the CPLD so the YM was required since the clock wouldn't have to be divided. But it only saves a single macrocell, and 8910's are much easier to find and thus cheaper as well. I figure I'll just configure it to provide clock division so any chip will work including the smaller 8912. If there are volume issues just pick other values till you find what's best, or use a 10K pot for your audio mod.