www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/05/23:09:38

Date: Sat, 5 Apr 1997 23:03:44 -0500
Message-Id: <199704060403.XAA27408@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: SKTN78C AT prodigy DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <5i5vr8$4bra@newssvr02-int.news.prodigy.com>
(SKTN78C AT prodigy DOT com)
Subject: Re: newbie needs help

> hi, I'm new to C programming, and even newer to djgpp.  I have a 
> question concerning __djgpp_nearptr_enable(); from the sys\nearptr.h 
> file.  Does enableing the nearptr turn off access to the memory above 
> one meg?

Strictly speaking, you never have access to the memory about 1Mb
unless you explicitely ask DPMI to map it into your address space.
Only the first 1Mb is guaranteed to be available as the first 1Mb of
the linear address space (not to be confused with the virtual address
space of the program).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019