Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: djgpp AT delorie DOT com Date: Tue, 4 Feb 1997 18:21:27 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: DMA problems under Win 3.1 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