cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/05/07:18:38

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: memory under win95
Date: 4 Aug 1997 04:11:10 GMT
Organization: The National Capital FreeNet
Lines: 23
Message-ID: <5s3kou$nua@freenet-news.carleton.ca>
References: <33E3004E DOT 27A9 AT wanadoo DOT fr>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet5.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Alan Poppleton (Alan DOT Poppleton AT wanadoo DOT fr) writes:
> I am having problems using memory under windows 95.  Basically I have 
> 32MB of ram and when I use the go32_dpmi_remaining_physical_memory() it 
> only returns about 16MB of ram available.  Is this due to the windows 
> dpmi program? If so, is there any way I can force my program to use 
> cswdpmi? I have read that I can change the memory settings in windows in 
> the properties menu, but I am writing a game and it would be very 
> unproffessional to tell people that they must first alter the memory 
> settings.
> I know that there is also a lot of virtual memory, but isn't this slower 
> than the physical memory?

It's Windows. Windows won't give a DOS app the skin off a grape unless you
increase the memory in the Properties. Run your app, hit alt-enter if it's
in full screen (get it out of graphics onto text mode!), use the control
menu properties item, set DPMI memory to 65535 (type it in, M$ only put up
to 16384 in the list box as a predefined amount.)
--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


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