Sound Blaster 16: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
No edit summary |
|||
Line 51: | Line 51: | ||
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. |
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 |
===Reading or writing=== |
||
Until you write to the DSP write port, check the DSP write port is 0x00. Until reading the DSP read port, check the DSP status for 0x80. |
Until you write to the DSP write port, check the DSP write port is 0x00. Until reading the DSP read port, check the DSP status for 0x80. |
||