Mail Archives: djgpp/1996/05/15/01:08:45
On Tue, 14 May 1996, John Fortin wrote:
> mail archives in order to understand why we must use near or far pointers
> to gain access to the video buffer.
Far pointers are required to access portions of memory that aren't in the
application's address space. Near pointer method just makes all the
memory be inside your address space, which is bad memory-protection-wise,
but required if you need the speediest access. Without these methods,
you'd get GPF if you try to access those addresses.
> I don't understand why we can't use a function such as
> dpmi_segment_to_descriptor to map this to a linear address without
> the disadvantages of the 'fat ds' method. What am I missing here??
They get linear address, yes, but is that linear address inside your
program's address space? I think not.
- Raw text -