delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/17/16:15:19

Lines: 76
X-Admin: news AT aol DOT com
From: sterten AT aol DOT com (Sterten)
Newsgroups: comp.os.msdos.djgpp
Date: 17 Jul 2001 20:05:43 GMT
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010717130411 DOT 29833A AT is>
Organization: AOL http://www.aol.com
Subject: Re: memory under DOS
Message-ID: <20010717160543.05952.00000668@ng-ba1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

OK, thanks for posts and emails.
upgrading cwsdpmi from 4b to 5b  solved (some of) my problems



 >On 17 Jul 2001, Sterten wrote:
 >
 >> When I boot my old DOS6.2  , then  mem.exe /d  always only shows
 >> 64 MB of RAM , no matter how much RAM I actually installed.
 >> 
 >> When I make a boot-disk with WIN98 , and boot from that disk ,
 >> then mem.exe  shows  all installed RAM.
 >> 
 >> But my GCC203 programs still seem to use only 64MB  under DOS.
 >> While in a DOS window under WIN98 , they seem to make use of all
 >> installed  RAM.

to which Eli Zaretskii replied:

 >You don't say how much memory do you actually have installed.

16-528MB. I'm trying several variations on several computers.
512MB-stripes won't run on this mainboard , which also caused
me some confusion.

 >You also 
 >don't tell the contents of AUTOEXEC.BAT and CONFIG.SYS in both these 
 >configurations.

I forgot. I use himem.sys , and have 2 ramdrives installed
of varying size. Also (sometimes) smartdrive and/or EMM386 ,
but I didn't use these here. 
mem.exe reports XMS version 3.0

 >Anyway, I'm guessing that what you see is a limitation of some memory 
 >manager(s) you load in the plain DOS configuration.  See section 3.10 of 
 >the DJGPP FAQ list for more details and advice how to get more RAM for 
 >DJGPP programs.

yes, thanks. I could have done this before asking , but thought it could
be a DOS problem.
Now I suppose, that it was cwsdpmi , which I just upgraded from
version 4 to version 5. (only by overwriting the old cwsdpmi.exe without
reading the documentation)

It seems to work fine under Win98-DOS , which unfortunately 
isn't compatible with all my other older programs.

Is there a replacement for himem.sys , allowing me >64MB but working
under MSDOS6.2 ?

by looking into GCC.exe , I noticed that it has cwsdpmi.exe built in.
Which version ? Will it still use the version from my DOS-directory ?
Are there compatibility problems between different versions ?

Also , if I have few RAM , but disk-swap-space available  ,
the program in question is very slow and the computer hangs
when I press  crtl/break  .

BTW.,can I get more than 32MB for Ramdrives ?


>> When I boot my old DOS6.2  , then  mem.exe /d  always only shows
>> 64 MB of RAM , no matter how much RAM I actually installed.

DJ Delorie:
>That's the most the BIOS can report due to it's 16-bit nature.

now I discovered go32-v2.exe , but it doesn't report more RAM than DOS.
There should be a way around this. Why can't cwsdpmi  overwrite
the (wrong) DOS memory table  and use all RAM ?



Guenter

- Raw text -


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