www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/08/06:11:02

Date: Sun, 8 Nov 1998 13:10:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: How to compile in different memory models
In-Reply-To: <721n4a$3rj$2@news.luth.se>
Message-ID: <Pine.SUN.3.91.981108131026.12632F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 7 Nov 1998, Martin Str|mberg wrote:

> Nate Eldredge (nate AT cartsys DOT com) wrote:
> : Bigger still; HUGE could only get you a theoretical max of 1MB (and
> : realistically not more than 512K).  Very small compared to DJGPP
> : possibilities!
> 
> I what environment? According to Microsnoft's manuals for MSC/C++ 7.0
> HUGE don't have any limit on code or data. Perhaps Microsnoft thought
> that 1MB == "no limit" in those days?

Any real-mode code is limited by 1MB, since real-mode addresses are
only 20-bit-wide.

As for the ``realistic'' limitation, I have managed in the past to
make a program that used 620K of data on a well-configured DOS
machine, using a 16-bit compiler in compact model.

But why do we even talk about this here?

- Raw text -


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