delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/21/11:49:02

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP MEM BUG?
Date: Sun, 15 Jun 1997 15:47:29 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 27
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33A446D1.5A8F@cornell.edu>
References: <33A36EAE DOT 17D4 AT tc DOT umn DOT edu> <5o00cp$82l AT freenet-news DOT carleton DOT ca> <5o00vt$89u AT freenet-news DOT carleton DOT ca>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0084.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Derbyshire wrote:
> 
> Paul Derbyshire (ao950 AT FreeNet DOT Carleton DOT CA) writes:
> 
> >>         Table thingy[255][128];
> 
> > That was about a megabyte of data pushed on the stack, which on DOS 
> > DJGPP,
> > only holds 256K.
> 
> Oops... actually, just under 512K. 256*256 is 64K, so 128*255 is just
> under 32K. That is times four ints per struct times four bytes per 
> int, gives 512K...

great! now we now you have been through elementary school.

-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 

Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************

- Raw text -


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