www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/22/09:01:44

Xref: news2.mv.net comp.os.msdos.djgpp:2050
From: alexlehm AT rbg DOT informatik DOT th-darmstadt DOT de (Alexander Lehmann)
Newsgroups: comp.os.msdos.djgpp
Subject: DPMI in v2 vs. v1
Message-ID: <4ikv3b$1dmc@rs18.hrz.th-darmstadt.de>
Date: 19 Mar 96 00:28:27 GMT
Organization: Technische Hochschule Darmstadt
Lines: 25
NNTP-Posting-Host: hp62.rbg.informatik.th-darmstadt.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello all,

while preparing a set of Makefiles for Sam Leffler's TIFF library I noticed
a difference in the available virtual memory in v2 compared to v1.

One of the source files in the library contains very large arrays which made
gcc run out of memory in my environment (Win95 with 8MB), well Win95 has
a crummy DPMI and odd memory managment anyway, I thought, so I switched to the
DOS mode and compiled the one file with cwsdpmi, which makes enough virtual
memory available so that the file compiled.
However, when comparing the memory values with go32-v2 with the ones reported
with go32 from v1, it seems that the Win95 DPMI has more virtual memory
available, but it is not available to djgppv2 programs.

I have no idea what has changed in the DPMI handling of v2, but it seems
like something was broken.


bye, Alexander

--
Alexander Lehmann,                                  |  "On the Internet,
alex AT hal DOT rhein-main DOT de  (plain, MIME, NeXT)         |   nobody knows
alexlehm AT rbg DOT informatik 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