First post, by dvwjr
DOSBOX v0.65 sets the environmental variable BLASTER= when a SoundBlaster is selected as the emulated sound card. Some games depend on the ability to read the BLASTER= variable string to configure for proper operation. I noticed that DOSBOX sets the SoundBlaster "T"ype variable a bit differently than some other information found on the Internet. Specifically that the "T"ype variable for the SoundBlaster Pro (v1) and SoundBlaster Pro (v2) appear to be different. Listed below is one source which has the SoundBlaster adapter "T"ypes listed with the SBpro1 as "T"ype 4 and the SBpro2 as "T"ype 5.
Which one is correct?
File: sblaster.cpp,v 1.53 2006/03/13 20:01:55 qbix79
Line 63: enum SB_TYPES {SBT_NONE=0,SBT_1=1,SBT_PRO1=2,SBT_2=3,SBT_PRO2=4,SBT_16=6};
SET BLASTER=A220 I5 D1 H5 T6 […]
SET BLASTER=A220 I5 D1 H5 T6
This sets an environment variable that describes the settings of the Sound Blaster to DOS programs, including games. Some games read this environment variable to get the settings of the sound card, so if it's missing on your system, you'll have to add it. Here's a breakdown:
A determines the value of the I/O port address. In the above example, it's 220.
I determines the value of the IRQ. In the above example, it's 5.
D determines the value of the DMA channel. In the above example, it's 1.
H determines the value of the 16-bit DMA channel. In the above example, it's 5. Only Sound Blaster 16s and higher use this.
T determines the type of Sound Blaster it is. In the above example, it's 6. The available types are:
1: Sound Blaster 1.0 (the original Sound Blaster)
2: Sound Blaster 1.5
3: Sound Blaster 2.0
4: Sound Blaster Pro
5: Sound Blaster Pro with OPL 3 FM chips
6: Sound Blaster 16
Source: The Oldskool PC: Sound Problems
dvwjr