www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/07/21:52:37

Xref: news2.mv.net comp.os.msdos.djgpp:2525
From: kwalker AT aros DOT net (Knight Walker)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Virtual memory in WIN95/DJGPP
Date: 7 Apr 1996 13:31:54 GMT
Organization: ArosNet
Lines: 34
Message-ID: <4k8g4a$iov@news.aros.net>
References: <4jbs8m$734 AT frontier DOT tno DOT nl> <4ju075$nfa AT news DOT aros DOT net>
NNTP-Posting-Host: anp5.aros.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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