www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/16/00:51:42

Date: Thu, 16 May 1996 07:44:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Piaw Na <piaw AT mpath DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: Help with DJGPP runtime
In-Reply-To: <2.2.32.19960515182333.008c3868@gateway.mpath.com>
Message-Id: <Pine.SUN.3.91.960516074212.4526B-100000@is>
Mime-Version: 1.0

On Wed, 15 May 1996, Piaw Na wrote:

> For some reason DJGPP's programs run in their own space, and have no access
> to that.  In fact, when you poke at the LDT for DJGPP programs, you see that
> the DJGPP program seems to have access only to about 400KB of memory, with a
> limit of 0x5ffff set.  I need a way to get DJGPP programs to share the full
> range of memory under Win95, either by having the compiler generate code

DJGPP has the nearptr facility which sets the segment limit to FFFFFFFFh. 
Check out the `__djgpp_nearptr_enable' function description in the libc
Info reference. 

- Raw text -


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