www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/12/01:09:34

Xref: news2.mv.net comp.os.msdos.djgpp:2626
From: lehmann AT mathematik DOT th-darmstadt DOT de (Alexander Lehmann)
Newsgroups: comp.os.msdos.djgpp
Subject: available DPMI swapspace in djgpp v1 and v2
Date: 10 Apr 1996 23:03:59 GMT
Organization: Technische Hochschule Darmstadt
Lines: 64
Message-ID: <4kheov$1e4p@rs18.hrz.th-darmstadt.de>
NNTP-Posting-Host: fb0408.mathematik.th-darmstadt.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello all,

I posted a question about available DPMI memory under Win95 a while back
and someone (Eli?) asked me to quote the exact results from go32/go32-v2,
which I will do now. After reading other posts in the group, I also tried
setting the DPMI memory from automatic to 64M, but this doesn't seem to
affect the values.

The following is in a Win95 DOS box

go32 version 1.12.maint3 Copyright (C) 1994 DJ Delorie
Lowest version I can run is 1.08
go32.exe usage: go32 [-d {debugger}] [{program} [{options} . . . ]]
go32.exe build time was Sun Dec 18 16:36:42 1994
DPMI memory available: 4948 Kb
Swap space available: 10968 Kb

(I think this corresponds with the default maximum size of the space space,
 which is 10MB on my machine)

With go32-v2, only a small amount of swap space is reported:

go32/v2 version 2.0 built Jan 23 1996 22:03:02
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your PATH.
DPMI memory available: 4948 Kb
DPMI swap space available: 1884 Kb


When using cwsdpmi and the dos mode without windows, the results are as
expected:

go32 version 1.12.maint3 Copyright (C) 1994 DJ Delorie
Lowest version I can run is 1.08
go32.exe usage: go32 [-d {debugger}] [{program} [{options} . . . ]]
go32.exe build time was Sun Dec 18 16:36:42 1994
DPMI memory available: 6636 Kb
Swap space available: 3748 Kb

go32/v2 version 2.0 built Jan 23 1996 22:03:02
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your PATH.
DPMI memory available: 6628 Kb
DPMI swap space available: 3748 Kb


(This is correct, there was only about 3.5MB of free space on drive c)


So either the detection of free space is broken in go32-v2 or there is less
space available to djgpp2 programs than there is to djgpp v1 programs
(I haven't tried actually allocation large chunks of space, this idea
 just occured to me and I don't have access to a Win95 box here).


bye, Alexander

--
Alexander Lehmann,                                  |  "On the Internet,
alex AT hal DOT rhein-main DOT de  (plain, MIME, NeXT)         |   nobody knows
lehmann AT mathematik DOT th-darmstadt DOT de (plain)          |   you're a dog."
<URL:http://www.student.informatik.th-darmstadt.de/~alexlehm/>

- Raw text -


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