How to write a simple soundblaster 16 driver using direct write mode for a hobby OS?
问题 I am developing a 32 bit, protected mode hobby operating system. At the moment, I am looking to add simple sound support. To do this, I'm looking to use the sound blaster 16 and use the direct mode to write to the DAC (I want to avoid DMA at all costs). However, when I output a simple square wave to the DAC (using command 0x10), no sound is output from my computer's speakers. I'm looking for a solution to this problem. I am trying to use the following algorithm to produce sound: 1. Reset DSP