delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/16/04:17:56

Message-Id: <34BF4E3E.7060@lps.u-psud.fr>
Date: Fri, 16 Jan 1998 10:10:38 -0200
From: Daniel TAUPIN <taupin AT lps DOT u-psud DOT fr>
Reply-To: taupin AT lps DOT u-psud DOT fr
Organization: CNRS
Mime-Version: 1.0
To: "John M. Aldrich" <fighteer AT cs DOT com>
Cc: DJGPP List <djgpp AT delorie DOT com>
Subject: Re: Swap memory available
References: <34BE5340 DOT 15AAA2E3 AT lps DOT u-psud DOT fr> <34BEDCC2 DOT 3342 AT cs DOT com>

John M. Aldrich wrote:
> 
> Daniel Taupin wrote:
> >
> > When running go32-v2 I get some value of SWAP available (i.e. 60mbyte), byt with the
> > old I get 200Mbyte.
> >
> > I suppose one has wap on one disk, i.e. C:, the other on D:
> >
> > But, where is the amount/location of swap memory set?
> 
> It's a runtime variable, determined by the amount of free physical
> memory and free disk space on your computer.  By default, the cwsdpmi
> DPMI host uses "c:\cwsdpmi.swp" for your swap file, so its value should

There is not cwsdpmi.swp in my computer!

> not depend on where you run go32-v2 from.  The total swap space
> available under cwsdpmi will be a number from 0 to 256 MB, depending on
> which version of cwspdmi you have and how much free disk space exists.
> However, this only applies if you run from plain DOS with no other DPMI
> host loaded.  If you run go32-v2 from a Windows DOS shell, or under
> QDPMI, 386MAX, 4DOS, OpenDOS, or some other environment that provides
> DPMI, DJGPP programs will use whatever memory those hosts provide.

Yes, but does this explain the difference between what is said by
GO32(v1) and GO32-V2?
> 
> Oh, and don't worry about losing the use of that disk space.  cwsdpmi
> only accesses swap space when it needs it; it leaves your hard drive
> alone otherwise.  :-)
> 
But the question is still: on which disk will cwsdpmi.swp be installed?
C: or D:?
And how can I decide it on D: rather than C:?
> --
> ---------------------------------------------------------------------
> |      John M. Aldrich       | "Be wary of strong drink.  It can    |
> |       aka Fighteer I       | make you shoot at tax collectors--   |
> |   mailto:fighteer AT cs DOT com   | and miss."                           |
> | http://www.cs.com/fighteer |                 - Lazarus Long       |
> ---------------------------------------------------------------------

-- 

------------------------------------------------------------------------
  Daniel Taupin, Physique des Solides, Univ. Paris-Sud, 91405 ORSAY
  E-mail= mailto:taupin AT lps DOT u-psud DOT fr
  Tél: (33)1.69.15.60.79, Fax: (33)1.69.15.60.86, home/fax:
(33)1.60.10.26.44

------------------------------------------------------------------------

- Raw text -


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