Need some help on sound drivers...
#1
Posted 19 July 2008 - 03:11 PM
Okay, back on topic. Under Windows Me DOS games have Soundblaster sound, more or less buggy but they have. For example Warcraft II sounds perfectly, while sound in Tetris Pro (i have to admit this one IS really fussy) stutters like crap. While under pure DOS there's no more soundblaster... And there are no DOS drivers available for this chip. What puzzles me is how soundblaster emulation is possible under Windows. The sound drivers are WDM, and from my past experience i know that if you want to play DOS games under Win9x you NEED VxD sound drivers. As you guessed already, there are no VxD sound drivers for this chip...
What i want to do is get sound under DOS, but obviously for this i'll have to port the drivers. And as i'm not much of a coder i don't think i could do it by myself, also, i don't think it's possible to make a WDM driver run under DOS.
I read around and found out that all that the DOS "drivers" do on modern cards is activate built-in Soundblaster emulation. As it is available under Windows, i think i may be able to enable it under DOS if i find out the right hardware programming routine - but how do i gain access to what the sound driver "talks" to the hardware?
Awaiting ideas...
#2
Posted 19 July 2008 - 03:14 PM
Th3_uN1Qu3, on Jul 19 2008, 04:11 PM, said:
Okay, back on topic. Under Windows Me DOS games have Soundblaster sound, more or less buggy but they have. For example Warcraft II sounds perfectly, while sound in Tetris Pro (i have to admit this one IS really fussy) stutters like crap. While under pure DOS there's no more soundblaster... And there are no DOS drivers available for this chip. What puzzles me is how soundblaster emulation is possible under Windows. The sound drivers are WDM, and from my past experience i know that if you want to play DOS games under Win9x you NEED VxD sound drivers. As you guessed already, there are no VxD sound drivers for this chip...
What i want to do is get sound under DOS, but obviously for this i'll have to port the drivers. And as i'm not much of a coder i don't think i could do it by myself, also, i don't think it's possible to make a WDM driver run under DOS.
I read around and found out that all that the DOS "drivers" do on modern cards is activate built-in Soundblaster emulation. As it is available under Windows, i think i may be able to enable it under DOS if i find out the right hardware programming routine - but how do i gain access to what the sound driver "talks" to the hardware?
Awaiting ideas...
Good luck i'd like some homemade dos drivers too.... Maybe somehow someone could port alsa from linux to dos
#3
Posted 19 July 2008 - 03:22 PM
togermano, on Jul 20 2008, 12:14 AM, said:
ALSA drivers for obscure soundcards are way too buggy, if i'd port something from Linux it'd be OSS drivers.
Edit: I checked Device Manager and there's nothing on port 220, irq 5, dma 1. So how the heck does Windoze do its soundblaster emulation? I removed the BLASTER variable and the sound is still fine and dandy, so it must be a driver thing. But how the heck could i intercept it...
This post has been edited by Th3_uN1Qu3: 19 July 2008 - 03:49 PM
#4
Posted 19 July 2008 - 11:23 PM
#5
Posted 20 July 2008 - 09:05 AM
thydreamwalker, on Jul 20 2008, 08:23 AM, said:
.INFs under DOS? Dream on.
#6
Posted 21 July 2008 - 02:41 AM
#7
Posted 21 July 2008 - 02:51 PM
Th3_uN1Qu3, on Jul 19 2008, 06:11 PM, said:
Windows 98SE and ME has its own generic SoundBlaster emulation WDM driver that can be used by any WDM sound driver that makes reference to it (SBEMU.SYS, if I recall correctly). The major problem here is that it emulates an SoundBlaster Pro, wich means 8-bit sound only. VXDs drivers, on the other hand, have to implement this manually. An easy way to spot this is to install both Win98se and WinME in a machine with a SB16 board. Windows 98 ships with a VXD driver which implements SB16 sound emulation for DOS boxes, Windows ME ships with a WDM one, so you'll only get 8-bit sound.
EDIT: typos xD
This post has been edited by alexanrs: 21 July 2008 - 02:54 PM
- ← Tihiy's Kernel Task Manager WinMe Edition
- Windows 9x Member Projects
- Skinning Task Bar in Iexplorer/Explorer →



Help

Back to top









