delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/15/15:41:10

Message-Id: <3.0.16.19971015213720.3997fd5a@hem1.passagen.se>
Date: Wed, 15 Oct 1997 21:37:24 -0400
To: Manuel Porras <excon AT colombianet DOT net>
From: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>
Subject: Re: How to alloc Extended memory
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0

At 09.57 1997-10-15 +0500, you wrote:
>
>How can i allocate Extended memory ?
>I use malloc but it works only on conventional.
>I saw __dpmi_allocate_memory but i dont know how to use it
>and if it is equivalent to malloc ().

Uhh... malloc() uses all memory supplied by the DPMI server, and not only
the conventional (if it even uses the conventional memory). It also uses
virtual memory, i.e. a swap-file, if your DPMI host supports it!

-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --

*****************************************************
* A brief description of DJGPP:                     *
* NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! *
*****************************************************

- Raw text -


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