Mail Archives: djgpp/1998/11/08/06:11:02
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 -