Don't know of anything ready-made as such, but a Squeeker type generator would be trivial to implement. What language is your game written in? Simple (if slightly unsafe) C++ example:
uint16_t suma = 0;
uint16_t fdiva = 0;
uint16_t sumb = 0;
uint16_t fdivb = 0;
int16_t generate_pcm_sample() {
suma += fdiva;
sumb += fdivb;
return ((suma | sumb) < 0x2000) ? 0x7000 : 0;
}You'd just call this repeatedly to fill your sound buffer.
On the other hand, why not simply use some ZX Spectrum music? With an engine like Huby, you'd get some pretty authentic sound.
Example: https://irrlichtproject.bandcamp.com/tr … ny-fingers
I'd even make a track for you, though we'd need to talk about the budget in case you're planning for a commercial or ad-supported release.
Or you could use Shiru's PCSPE VSTi and whip up something in FL or Ableton.