delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/23/07:30:37

From: Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DPMI-Alloc with 192MB RAM - how ?
Date: 23 Jul 1999 10:39:54 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 32
Message-ID: <7n9gpq$5lf$1@antares.lu.erisoft.se>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990722195834 DOT 29776A-100000 AT is> <7n7si0$ae1$1 AT news DOT luth DOT se> <3797dc74 DOT sandmann AT clio DOT rice DOT edu>
NNTP-Posting-Host: propus-144.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Charles Sandmann (sandmann AT clio DOT rice DOT edu) wrote:
: 1) To provide more than 128Mb virtual memory you need to use CWSPARAM to 
:    increase the max swap file size.  This eats up DOS 640K memory - about
:    32 bytes for each 1 Mb maximum swap usage (for the bitmap).  This would
:    be an extra 4K of DOS memory to go from 128Mb virtual to 256Mb virtual.
: 2) To provide more than 64Mb physical memory, you need HIMEM.SYS from a
:    Win 9x release or a commercial memory manager.  The BIOS calls only 
:    support 64Mb max (best case) and only 16Mb max (worse case) - so this
:    might be all you see with an empty config.sys.  Adding EMM386 may 
:    decrease the amount of memory available, so if you need a lot of memory
:    and use EMM386 (for UMBs?) use NOVCPI and/or NOEMS.
: 3) There is a BUG in r4 which prevents usage of more than 255Mb total virtual
:    memory.  If you have 128Mb or more of physical memory you need to run 
:    CWSPARAM to decrease your swap file size so the total available is less
:    than 255Mb.  If you don't - then you can't even use all the physical
:    memory without page fault bugs!  (Example: 120Mb max on a 128Mb machine).
: 4) There is a BUG in r4 which prevents usage of more than 128Mb physical 
:    memory (even worse, any physical address above the 128Mb mark!)
: 5) I have fixed the bugs in 3 & 4 in a beta WIP r5.  The new release will
:    support 2Gb total memory - I have personally tested 1.2Gb of total memory
:    (1Gb physical, 200Mb virtual) on the WIP version.   I'm busy at work and
:    probably won't get it done for another month or two.
: 6) I'm considering low effort requests for r5.

Regarding 1): 

4KB is a small price to pay (IMHO). Why not set the maximum as default?


Right,

							MartinS

- Raw text -


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