VOGONS


First post, by chickenpee

User metadata
Rank Newbie
Rank
Newbie

I am trying to get the Sound Blaster 2.0 drivers to work in Windows 3.1 under Dosbox, and am running into a problem. All sound works fine in general DOS applications. But once I start Windows 3.1, I can get MIDI but no WAV output. It insists that I have no sound driver installed.

I have the drivers installed in C:\SB, and the install program added the necessary files to my WINDOWS directory. Here are the relevant sections of my .conf file, WIN.BAT and SYSTEM.INI, respectively:

sbtype=sb2
sbbase=220
irq=7
dma=1
hdma=5
sbmixer=true
oplmode=auto
oplemu=default
oplrate=44100

@c:\windows\smartdrv.exe
@lh devlod C:\SB\DRV\CTSB2.SYS /UNIT=0 /BLASTER=A:220 I:7 D:1
@lh devlod C:\SB\DRV\CTMMSYS.SYS
@SET SOUND=C:\SB
@SET BLASTER=A220 I7 D1
@SET MIDI=SYNTH:1 MAP:E
@c:\windows\win

Midi=sbfm.drv
Midi1=sb20snd.drv
Wave=sb20snd.drv

I have verified that the Wave/MIDI driver in Control Panel is set to the correct address, IRQ and DMA. One clue is that when I run DIAGNOSE, the low DMA channel is failing. Is that the problem, or is it something else? What can I do?

Reply 1 of 3, by keropi

User metadata
Rank l33t++
Rank
l33t++

I seem to remember that I could not get SB2.0 to work with 3.1 with a 286 pc - only when I installed a 386sx upgrade the driver worked for me.
The driver definitely has some issues/bugs IMHO.

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 2 of 3, by chickenpee

User metadata
Rank Newbie
Rank
Newbie

That might be it, but I am also having trouble after installing the SB Pro 1330 drivers from Vogons (setting sound to SBPRO and the type to sbpro1 in .conf) Is this expected too? It may seem strange that I'm asking, but I greatly prefer the sound from the cards earlier than SB16, so that's why I'm trying to get one of them to work.

Reply 3 of 3, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Device drivers (.SYS) don't really work in DOSBox unless you're booting real DOS. Interrupt handlers installed by a driver will probably work, but stuff related to the device chain (character device names) and associated I/O functions won't work. So, if the Windows drivers rely on the DOS drivers then that may be what causes the problem.

That said, in DOSBox the difference in sound quality is probably not what you imagine. There is no emulation of noise or filtering characteristics of the various SB models. Sample rate and sample size tend to be the only significant difference, and the SB16 has advantages in that regard.