Sound Blaster Configuration Guide
When software uses Sound Blaster cards in DOS it usually reads resource information from the BLASTER environment variable. The BLASTER variable stores the information in the following scheme:
BLASTER=Axxx Iy Dz Hv Pwww Ekkk Tq
with
| Parameter | Description | Typical Values |
|---|---|---|
| xxx | I/O port address in hex | 220, 240 or 260 |
| y | IRQ | 5 or 7 |
| z | DMA for 8 bit transfers | 1, 0, 3 |
| v | DMA for 16 bit transfers | 5, 7 |
| www | port for external MPU-401 and wavetable at the waveblaster connector | 330, 300 |
| kkk | port of the EMU8000 chipset when using an SB 32/AWE32/64 card | 620 |
| q | type of Sound Blaster card | varies |
Standard Configuration Example
SET BLASTER=A220 I5 D1 H5 P330 T6
With the 16 bit DMA set to 1 (also called High DMA) and external MIDI port at 330. Note that H and P do not appear for earlier Sound Blasters.
AWE32 Configuration Example
For a Sound Blaster AWE32 the line would look like this:
BLASTER=A220 I5 D1 H5 P330 E620 T6
With the EMU8000 at port 620.
Full Configuration Types
Three types of Sound Blaster cards have to be considered:
CTCM Configuration
SET CTCM=C:\SB16 where CTPNP.CFG is
C:\SB16\CTCM.EXE /T configures card and sets BLASTER. /T skips DOS version check
C:\SB16\MIXERSET /P /Q setting up the cards volumes
Notes:
- CTCM checks the current DOS version and complains in DOS 7+ as it assumes you have always Win9x running as PnP capable OS. In this case it aborts. The /T parameter skips this detection.
- For ISA-PnP cards it is strongly recommended to set in mainboard BIOS the option 'PnP OS' to YES.
AWE32/64 Additional Lines
For AWE32/64 the following lines have to be added to the autoexec.bat additionally:
SET MIDI=SYNTH:1 MAP:E MODE:0 ; MIDI mode information
C:\SB16\AWEUTIL /S ; activates OPL3 output routing through the EMU8000
Semi-PnP Sound Blasters
Semi-PnP Sound Blasters have only jumpers for the base port with markings IOS0, IOS1. For example Sound Blaster 16 is of this type.
The autoexec.bat lines look like this:
SET BLASTER=A220 I5 D1 H5 P330 T6
After A the jumpered address should follow.
For IRQ, DMA the desired resources should be entered.
C:\SB16\DIAGNOSE /S ; Diagnose takes the desired setting from the BLASTER variable and configures the cards resources
C:\SB16\MIXERSET /P /Q ; setting up the cards volumes
Fully ISA-PnP Capable Sound Blasters
Fully ISA-PnP capable Sound Blasters do not have jumpers for base port resources such as this Sound Blaster 16. The configuration works slightly different here.
When you download the DOS drivers for PnP Sound Blasters you will find the two tools CTCM.EXE and CTCU.EXE. There is also a text file with the name CTPNP.CFG where resource settings are contained.