Sound Blaster 16: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
No edit summary
Line 50:
 
Because you only have a single DMA buffer to transfer data, it is recommended that you issue the Play PCM command with a sample count of half of the data buffer. This will fire an interrupt when the buffer is half played, allowing you to refill the segment that was just played, while the DSP continues playing the other half, and so on.
 
==Checking ports==
Until you write to the DSP write port, check in the DSP write port is 0x00. While reading the information from the DSP read port, check the DSP status for the port is 0x80.
 
==Detecting DSP==