www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/29/16:25:06

Date: Mon, 29 Apr 1996 16:11:04 -0400 (EDT)
From: Justin Ward <justin AT yoss DOT canweb DOT net>
To: djgpp AT delorie DOT com
Subject: Re: giving back dpmi memory??
In-Reply-To: <Pine.SUN.3.91.960429085108.472E-100000@is>
Message-ID: <Pine.BSF.3.91.960429160620.629C-100000@yoss.canweb.net>
MIME-Version: 1.0


> If by ``unused dpmi memory'' you mean the memory not used by the parent 
> DJGPP program, then that should be automatic: DPMI host usually only 
> takes what it currently needs and leaves the rest free.  If you want to 
> free *all* of the XMS (meaning to swap the parent completely out of RAM), 
> that could be harder and even depend on the particular DPMI host that you 
> use.  AFAIK, Windows will swap parts of the parent when it needs more 
> memory, but I'm unsure about other DPMI hosts.
> 

All I know is that other programs can't find free XMS/EMS memory. I'm using
cwsdpmi. When I spawn the dos program "mem", every byte of memory 
(conventional, upper, and extended) is counted as used. When I try to
run win (3.11) it swaps CONSTANTLY. When I try to run other programs
which are 16-bit real mode that don't swap, and do depend on XMS or EMS,
it complains that there isn't enough free memory and I should uninstall
some drivers or buy more ram.

Justin

- Raw text -


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