Sound Blaster 16: Difference between revisions

[unchecked revision][unchecked revision]
Line 42:
 
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.
 
===Reading and writing===
Until you write to the DSP write port, check the DSP write port for 0x00. Until reading the DSP read port, check the DSP status port for 0x80.
 
==Detecting DSP==
Anonymous user