delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/25/06:36:30

Date: Mon, 25 Jan 1999 13:33:17 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Dirk Färber <faerber AT ant DOT uni-hannover DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: xms-memory
In-Reply-To: <78hhko$rg1$1@newsserver.rrzn.uni-hannover.de>
Message-ID: <Pine.SUN.3.91.990125133034.22761C-100000@is>
MIME-Version: 1.0
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id GAA22581
Reply-To: djgpp AT delorie DOT com

On 25 Jan 1999, Dirk Färber wrote:

> does anyone knows how to access the xms-memory?

If you compile your programs with DJGPP, you shouldn't normally need to 
access XMS memory as such.

> Does djgpp offers advantagous concepts?

Yes.  Just call malloc with the size that you need (could be many 
megabytes) and use whatever it returns as normal memory.  The DPMI
server will do the rest (access XMS, allocate a block, do the necessary 
bookkeeping etc.).

Isn't that what you want?  If not, please describe the details.

- Raw text -


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