Mail Archives: djgpp/1996/04/07/21:52:37
In article <4ju075$nfa AT news DOT aros DOT net>, kwalker AT aros DOT net says...
>
>In article <4jbs8m$734 AT frontier DOT tno DOT nl>, antwerp AT tpd DOT tno DOT nl says...
>>
>>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.
Figured it out. The main problem is not the DPMI, but the Win95 DPMI host.
You can get up to 64 megs under Windows 95, but you have to do one thing, and
remember one thing: Do this: Set the DPMI memory settings for your DOS
program to 65535 (You'll have to type it in manually). Remember this: Windows
won't let you allocate more than half of what's left (e.g, your largest memory
block is limited to 32 megs, and after that, things keep getting cut off at
the knees).
--
_ _ _ _ __________________________________
| |/ | | | _ | | | Knight Walker |
| / | \/ \/ | | |
| \ | ___ | | mailto:kwalker AT aros DOT net |
| |\ | | / \ | | http://www.aros.net/~kwalker |
|_| |_| |_| |_| \________________________________/
- Raw text -