Mail Archives: djgpp/1997/02/04/16:24:04
Hello all:
I have the following problem:
Situation:
1) I'm runing in a Win3.1 DOS Box.
2) The Sound Blaster 16 drivers are installed in the Windows, so the DMA
channels used by the board are virtualized, to avoid conflicts with the driver,
by the SB drivers.
What I make?:
I touch the DMA registers to make a DMA transfer to the SB 16 from my DJGPP
program.
What happend?:
Windows says that I violated the OS integrity.
Why is that a problem?:
Because if I make the same from a 16-bits real mode program Windows doesn't
make that, the SB drivers just understand that I'm using the board (because the
DMA is virtualized) and if I try to reproduce sounds from Windows the drivers
says that the device is in use by other application.
So now the question is: Why in the hell I can do it from real mode and I
can't from PMode.
I know that I can workaround that calling to a real mode routine, but isn't
so good.
Any help (or explanation) will be appreciated.
SET
--------------- 0 --------------------------------
Salvador Eduardo Tropea (SET).
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -