Mail Archives: djgpp/1997/08/05/07:18:38
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 -