Mail Archives: djgpp/1998/01/20/07:29:48
At 10:10 1/16/1998 -0200, Daniel TAUPIN wrote:
>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!
Because it deletes it when it finishes.
>
>> 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?
No. The old go32 used some other scheme to locate the swap file, and in fact
did almost everything, including memory allocation, differently.
>>
>> 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:?
C:, unless you have changed it.
>And how can I decide it on D: rather than C:?]
Use CWSPARAM.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -