From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Swap memory available Date: Thu, 15 Jan 1998 23:06:26 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 31 Message-ID: <34BEDCC2.3342@cs.com> References: <34BE5340 DOT 15AAA2E3 AT lps DOT u-psud DOT fr> NNTP-Posting-Host: ppp235.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 | ---------------------------------------------------------------------