X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Tue, 15 May 2007 11:51:44 -0400 Message-Id: <200705151551.l4FFpix3017557@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <1179233938.968657.125170@q75g2000hsh.googlegroups.com> (pyzals AT gmail DOT com) Subject: Re: DMA and Soundblaster with DJGPP References: <1179198543 DOT 710532 DOT 156270 AT w5g2000hsg DOT googlegroups DOT com> <4649645d$0$20296$9b4e6d93 AT newsspool3 DOT arcor-online DOT net> <1179233938 DOT 968657 DOT 125170 AT q75g2000hsh DOT googlegroups DOT com> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > What DJ said makes perfect sense to me now, (Thanks DJ). What I still > don't understand is that there seems to be code out there that is > supposed to work with DJGPP, but doesn't take this into account. I didn't look at the examples, but some programs may take advantage of "near pointer" mode, where memory is linear mapped and locked down, so you can do DMA on local memory with a little pointer math. Note that you have to provide an alternative if near pointers can't be enabled; those sample programs may not be doing that.