Mail Archives: djgpp/1999/04/04/03:36:19
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.
- Raw text -