Mail Archives: djgpp/1998/08/28/19:12:18
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 -