Crossing another item off my to-do list, which has been on there for an awful long time.
This is just a little experiment to demonstrate that it can be done. I have no intentions of developing this into a full sound driver at the moment, mainly because I'm totally sick of writing these XM converters.
The beeper part is basically a simplified version of Squeeker with 3 channels and variable duty cylces. The AY part is very basic, just tones and software-generated envelopes. Noise is certainly possible, I was just too lazy to implement it. Perhaps buzzer could be done as well, after all it's just copying the values from the envelope register to a volume register, right? Anyway, check out the source code for inspiration, if you like.