Mail Archives: djgpp/1997/08/05/23:04:17
Alan Poppleton wrote:
>
> 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?
- yes it is because of windows dpmi.
- no you cannot force your program to use cwsdpmi under windows
- you should create a custom pif file for your program with the dpmi
memory set to 65536 by editing the properties. (you need to type
that in.) this should be professional and allow you program to use the
max
possible dpmi memory under windows.)
- note that even though your program might report 16 Mb remaining
physical memory, i don't think that really is not actual physical
memory. AFAIK it is the room remaining in the virtual address space
your program's physical memory is mapped into.
--
Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan DOT unur AT cornell DOT edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************
- Raw text -