Mail Archives: djgpp/1998/01/16/00:46:03
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
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.
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. :-)
--
---------------------------------------------------------------------
| 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 |
---------------------------------------------------------------------
- Raw text -