Date: Wed, 17 Dec 1997 11:50:29 +0200 (IST) From: Eli Zaretskii To: GAMMELJL AT SLU DOT EDU cc: djgpp AT delorie DOT com Subject: Re: access to 128mb of RAM and virtual RAM In-Reply-To: <01IR8UNJLKN6BL2ZQD@SLU.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 16 Dec 1997 GAMMELJL AT SLU DOT EDU wrote: > djgpp runs fine. gxx runs fine. The problem is to make the parameter > zmaxsize above as large as possible. (Access to 128mb of physical RAM > plus 128mb of virtual RAM.) Windows 95 won't let you use more than 64MB total (physical + VM). You will have to boot into plain DOS to get 128+128. > I have read your FAQ. The answer may lie in the references to > "the DOS applications' properties sheet" and setting some variable to > 65535K. But I haven't any idea how to get at that properties sheet. Tell > me how. Your DOS box has the Properties button on its toolbar: that's the button with the icon that shows a hand pointing to a sheet of paper. Press on it, then click on the Memory tab. Click inside the DPMI memory window (the last setting) and manually type "65535" there (without the quotes), then click OK. That's it! To be sure this worked, run go32-v2: the sum of the two numbers it reports should be 64MB of memory. > In principle I would like to use "plain" DOS (press F8 as soon as the > "starting Windows95" message appears when booting and select "6" from the > menu which appears) but I can't get past zmaxsize=280 or 320 in that case > Watcom with any extenders or djgpp's gxx. The cause is no doubt "plain" > DOS' DPMI. Do you think of something I could do? You *must* go to plain DOS to get more than 64MB of DPMI memory. If you cannot get to the desired memory size, it might be because your program asks for the memory in a lot of small chunks, which exhausts the memory handles of CWSDPMI. To solve this, try bumping up the internal table size of CWSDPMI using the CWSPARAM program. This is explained in detail in section 15.4 of the DJGPP FAQ list.