delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/31/18:30:42

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Accessing last KB of 4GB
Date: Tue, 31 Oct 2000 14:49:48
Organization: Aspen Technology, Inc.
Lines: 10
Message-ID: <39fedc0c.sandmann@clio.rice.edu>
References: <39FDADDB DOT FF78CF6E AT gtwparc DOT padova DOT ccr DOT it>
NNTP-Posting-Host: dcloan.hou.aspentech.com
X-Trace: selma.aspentech.com 973025501 32550 10.32.115.107 (31 Oct 2000 20:51:41 GMT)
X-Complaints-To: postmaster AT aspentech DOT com
NNTP-Posting-Date: 31 Oct 2000 20:51:41 GMT
X-NewsEditor: ED-1.5.8
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> For accensing last KB o 4GB addressing space I need a 32 bit compiler
> (like DJGPP) or I can use a 16 bit compiler in dos protect mode
> initializing correctly the GDT!!!!1

You can certainly do this in DJGPP (use CWSDPMI r5 under DOS to avoid
an r4 bug) - an example program snippet was provided on this forum
less than a month ago.

You could actually do this from any protected mode environment if you
had the ability to map the memory and set up an ldt to point to it.

- Raw text -


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