Date: Sun, 8 Nov 1998 13:10:53 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Str|mberg 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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?