delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/10/15:19:57

Date: Thu, 11 Jan 1996 09:07:35 +1200
From: Bill Currie <bill_currie AT MAIL DOT TAIT DOT CO DOT NZ>
To: djgpp AT delorie DOT com
Cc: sandmann AT clio DOT rice DOT edu
Subject: DPMI memory blocks

I was wanting to use "far" memory blocks (extended memory outside of the main pool)
under djgpp v2b3, but this seems to cause problems with malloc (seg fault).  What
seems to be happening is that when I have DPMI allocate a block for me, it seems to
prevent the program's block from expanding.

I was wandering if it is possible to controll where DPMI allocates these blocks,
similar to the way you can in DOS (bottom first, top first, etc).  I couldn't find any
references to this in the DPMI spec.  Have I missed something, or is it just not
possible.

The segfaults happen under both cwsdpmi b9 and win 3.11.

TIA
Bill


- Raw text -


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