Sound Blaster 16: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Line 60:
 
There are two modes for transfering data. First is single mode - data from buffer are played, interrupt is fired and playing is stopped. It make lower quality of sound. Second is auto mode - data from buffer are playing forever and interrupt is fired after play buffer. You should use interrupt for re-filling buffer.
 
==Detecting DSP==
Detecting DSP is really easy. You must send to DSP reset port 1, wait 3 microseconds, send to DSP reset 0 and read DSP read port. If in it is 0xAA, DSP exist. Some SB-compatible cards returned 0xAA on first check but on second check they reported their specific version.
 
==Playing sound==