Sound Blaster 16: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Brendan (talk | contribs)
m See also
Added command and port details
Line 5:
==Introduction==
The Sound Blaster 16 is the successor to the Sound Blaster Pro audio card found in many older computers. It was first brought out in 1992. The main improvement over the Pro is its 16-bit digital audio sampling (hence the name). Most SB16 cards are PCI compatible, as Creative made this improvement shortly after releasing the card, upgrading from ISA.
 
==Digital Signal Processor==
The DSP built into the Sound Blaster 16 supports playing and recording audio in 8-bit and 16-bit PCM encoded samples, along with playing several other formats (ADPCM, etc.). The base I/O register address can be found using the PCI bus for PCI models, or by detecting the presence of an older ISA Sound Blaster by issuing a Get Version command to one of several common I/O port addresses (0x220, 0x240, etc.) and waiting for a response.
To play audio, the ISA DMA controller must be programmed, then the DSP must be issued a Set Output Sample Rate command, and a Play command that includes the format of the audio (mono/stereo, signed, etc.) and a sample count.
 
{| {{wikitable}}
! Register
! Description
|-
| 0x05 || Interrupt Status
|-
| 0x0a || DSP Read
|-
| 0x0c || DSP Write (Read this port for Write Status)
|-
| 0x0f || DSP Read Status
|-
|}
 
{| {{wikitable}}
! Command
! Description
|-
| 0x41 || Set Output Sample Rate
|-
| 0xa6 || Play PCM (Auto Initialize DMA, FIFO Enabled)
|-
| 0xe1 || Get DSP Version
|-
|}
 
 
==See Also==