cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/28/19:12:18

Sender: nate AT cartsys DOT com
Message-ID: <35E735E6.97972D8@cartsys.com>
Date: Fri, 28 Aug 1998 15:57:42 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Endlisnis <s257m AT unb DOT ca>
CC: djgpp AT delorie DOT com
Subject: Re: Largest DJGPP project
References: <E0zC62r-0002u7-00 AT sable DOT ox DOT ac DOT uk> <35E5EB45 DOT 28C3061F AT unb DOT ca>

Endlisnis wrote:
> 
> George Foot wrote:
> 
> > "go32" is the DOS extender used by djgpp v1.  I don't remember
> > exactly, but IIRC you had to run go32 passing the name of your COFF
> > image to run it.  DJGPP v2 uses the stub instead, and no extender.
> 
>     What does IIRC stand for?

"If I Recall Correctly"
 
> > Did you adjust the DPMI memory provision in your DOS box settings?
> > Set it to 65535 and you should get more swap space.  Under djgpp v2
> > the amount of memory you get is entirely up to whatever DPMI server
> > you use.  On my system, in Windows 98 the two numbers add up to just
> > over 65000, which is what you would expect.
> 
>     No, I didn't adjust it, because I normally don't use that much RAM, and don't
> need it.  When I did set it to that value, it only gives me 31Megs. 

How did you test this?  I think Windows has another misfeature which
prevents you from allocating more than half of available memory at once,
so an algorithm like:

int x = 64 * 1024 * 1024;
while (malloc(x) == NULL) x -= 1024 * 1024;
printf("%d bytes available\n", x);

would show that.

> Does it put
> more strain on the system to set that higher if it is not used at all?

If implemented correctly: no.  In Windows: I have no idea. :)

-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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