Mail Archives: djgpp/1999/12/12/09:47:45
On Fri, 10 Dec 1999, Frederico Jeronimo wrote:
> I'm having a little problem and I was wondering if you could help
> me out. I'm trying to map a range of physical memory over a set of
> addresses using '__djgpp_map_physical_memory()'.
This is a bad idea, IMHO. __djgpp_map_physical_memory only works with
DPMI servers which implement DPMI v1.0 spec; most of them don't.
Why can't you use the function __dpmi_physical_address_mapping, as
explained in section 18.7 of the FAQ.
> Ps: How can I check what DPMI host I'm using?
In general, you can't. Some hosts support the function
__dpmi_get_capabilities, which returns that info, but this, too, is a
DPMI 1.0 function.
- Raw text -