Date: Sun, 4 Apr 1999 09:34:15 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Niclas cc: djgpp AT delorie DOT com Subject: Re: DPMI function 800h, In-Reply-To: <7e4mju$3ri$1@cubacola.tninet.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 3 Apr 1999, Niclas wrote: > Is the linear adress that I'll get from the "Physical Address Mapping" DPMI > function 800h, ready to use as an offset. No. You need to create a selector which has that linear address as its base address. And *then* you can use e.g. _farptr functions to access the memory via the selector. Please read section 18.7 of the DJGPP FAQ list (v2/faq211b.zip from the same place you got DJGPP), it explains this issue and shows some code that you could use as an example.