Date: Sat, 18 Aug 2001 10:26:28 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: jp_prongs AT yahoo DOT com (Nick) Message-Id: <1438-Sat18Aug2001102628+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (jp_prongs AT yahoo DOT com) Subject: Re: Thoughts on physical address and DMA References: Reply-To: djgpp AT delorie 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 > From: jp_prongs AT yahoo DOT com (Nick) > Newsgroups: comp.os.msdos.djgpp > Date: 17 Aug 2001 15:12:58 -0700 > > Since you add `__djgpp_conventional_base' to a physical address to > convert it to a linear address, could you possibly _subtract_ it from > a linear address to convert it to a physical address? If so, could the > physical address be used for DMA? No and no. You are mixing linear and physical addresses, which are two different things. Also, __djgpp_conventional_base is a negative value; see section 18.6 of the DJGPP FAQ for more about that.