www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/04/09:10:58

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199604041347.AA079135651@relay1.geis.com>
Date: Thu, 4 Apr 96 13:42:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Virtual memory in WIN95/DJ

Reply to message 2543473    from KWALKER AT AROS. on 04/03/96  8:59AM


>>Hai folks,
>>Does anyone know wether it is possible to use more than the physical
>>available memory in the combination of DJGPP-2 and WIN95? My application
>>sometimes needs some more....
>
>Well (This may just be me), but my guess would be 'no'.  I wrote a program in
>DJGPP to allocate memory and was beta testing it under Windows 95.  The
>machine I was testing it on had 24-Meg RAM and a 545-Meg hard drive.  I was
>able to get up to 22 of the 24 meg before the program came back and said there
>was not enough DPMI memory.  It may be that I was allocating too fast, and the
>DPMI host had a fit, I don't know.

When run under WIN95, DJGPP uses the DPMI that Windows provides instead
of CWSDPMI.  If you have enabled virtual memory under Win95, then your progs
will get it.  If you haven't, they won't.  To see exactly how much memory you
have
available, simply run 'go32-v2' from a DOS shell.  Under Windows, it reports
the
sum of real and virtual memory as one lump sum under 'physical memory'.

John

- Raw text -


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