Skip to contentSkip to conversation

Sound support (2), using hardware directly

DISCUSSION Stas Sergeev 2 participants 2 messages Jul 23, 2005 – Jul 24, 2005

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 1 line · Julius Schwartzenberg

Do you think it would be possible to allow complete direct access to the Sound Blaster card in Dosemu, so that I could set the mixer from Dosemu?

Yes, this must be possible. You won't hear any sound in most cases, but the mixer will work, and so will the OPL3. Just don't forget to tell your DOS programs that it is the Adlib, not SB, or the detection will fail. Actually, even the sound will work in some very old games like "Another World", which do not use the DMA.

#1 lore raw
Quoted 13 lines · Stas Sergeev
Quoted 1 line

Do you think it would be possible to allow complete direct access to the Sound Blaster card in Dosemu, so that I could set the mixer from Dosemu?

Yes, this must be possible. You won't hear any sound in most cases, but the mixer will work, and so will the OPL3. Just don't forget to tell your DOS programs that it is the Adlib, not SB, or the detection will fail. Actually, even the sound will work in some very old games like "Another World", which do not use the DMA.

I've been trying to get this to work, but I haven't succeded so far. I've added an extra $_ports line for the 0x220 range of ports and I'm passing IRQ 5. (At boot-up I see this one is assigned to the card.) It seems that the card still needs some extra initialization before it will work though. I've got the DOS driver working on a Dos partition, but loading Linux after that with linld (loadlin doesn't seems to work with my kernel), the sound is gone again in Dosemu. The mixer I'm using isn't able to detect the card anymore. I don't know if it would be possible to do the initialization from within Dosemu, but I think that would require to much direct hardware access.

Julius