ViTi95 wrote on 2024-01-17, 17:39:
SBEMU compatibility is still an issue, Sound Blaster initialization is not working properly. For now I've discovered that the DSP version is read as FF.01 instead of 3.01, so I need more to time debug what's really happening. As always, any help is appreciated.
EDIT: DOS sound code is the worst nightmare a developer could have
Probably needless to say, but please report any of your findings and insights about SBEMU in the SBEMU thread here on Vogons or on the SBEMU GitHub issues page, instead of working around such issues in FastDoom. Of course, patches and Pull Requests for SBEMU are absolutely welcome!
Ultimately, we need SBEMU to be as compatible as possible with actual Sound Blaster cards. If your code works properly on the actual hardware, it should work just as well with SBEMU, or at least that's the goal. Thanks for your insights and help with this! 🙂
EDIT: DOS sound code is the worst nightmare a developer could have
Indeed. All the more reason to add a proper abstraction for it, in the form of a proper API and modern drivers. It's a shame that the VBE/AI standard never took off back in the day, and was never extended to support protected mode and DPMI.
I'm still hoping that the AIL/32 driver model can be resurrected, with added support for Intel HDA and other more modern sound devices. But that's another topic.