Mail Archives: djgpp/1995/11/08/01:37:46
On 7 Nov 1995, Brian Hook wrote:
> I need to map a region of physical memory into my program's
> linear address space. I don't know terribly much about DJGPP
[snip]
> To do the above I used standard DPMI int 31h functions to map
> my video card's address space from 0xA0000000 (physical
> address, default for ATI GPT) into a linear address space. The
> resulting pointer could be used normally. Not a lot to it.
The same can be done under v2.0, but you'll have to use either farptr or
nearptr functions to access the mapped device. They are documented on
the library reference Info file (info/libc.inf). The DPMI API calls are
also documented there.
- Raw text -