Mail Archives: djgpp/1995/06/30/13:42:07
Dear programmers,
I have the "Windows 95 beta final" installed on a Pentium-90, 32 Mbyte RAM, computer.
If I run go32 (v. 1.12.maint3) from a DOS box, it reports more than 21152 Kbyte of RAM
(DPMI) and a swap of near 1 Gbyte (the real disk free space). When I try to do a malloc
with less than 16 Mbyte, there is no problem but, when I try to do it with more than 16
Mbyte (for example 17 Mbyte), the program reports the following message on the screen:
"DPMI: not enough memory (0x02060000 bytes)"
and malloc returns a null pointer.
If I reboot the machine from the Windows 95 menu saying "DOS mode", it runs Ok.
The same code running on a DOS box on a machine very similar to the former but with
DOS 6.2 and Windows 3.11 runs Ok.
Windows 95 has a two configuration parameter for DOS boxes concerning XMS and DPMI.
These parameters allow to assign:
-up to 16 Mbyte of RAM,
-any other amount (edit box),
-"automatic" (help informs it means no limit).
I have tryed to configure for 20 Mbyte and for automatic, but it does not break the 16 Mbyte
limit.
Could you help me?
Thank you very much,
Xavier Pons
Centre de Recerca Ecologia i Aplicacions Forestals, CREAF.
Universitat Autonoma de Barcelona, UAB.
08193. Bellaterra. Catalonia. Spain
- Raw text -