First post, by superfury
I'm trying to implement the Sound Blaster 1.0 DSP in UniPCemu, but so far the DMA 8-bit output doesn't work:
https://bitbucket.org/superfury/unipcemu/src/ … ter.c?at=master
I'm currently testing using Mike's 8088 version of Wolfenstein 3D. It detects the Sound Blaster without problems, but I don't hear the gun sound that I'm currently testing with.
I see it tries to write DMA samples while SOUNDBLASTER.DREQ is 3, which should mean that it's waiting for the sample to be rendered by updateSoundBlaster().
Seeing as DREQ is 3, but DMA is still transferring data(although DREQ bit 1 should cause the DMA DREQ to be lowered, effectively pausing Demand mode transfers), could this mean that rendering isn't done at the correct speed by toggling DREQ, but actually from an buffer in the Sound Blaster DSP? Anyone?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io