delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/07/04:18:03

Date: Tue, 7 Aug 2001 11:18:23 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Problem using inline assembly
In-Reply-To: <9kn1l5$57rnq$1@ID-84876.news.dfncis.de>
Message-ID: <Pine.SUN.3.91.1010807111802.6564G@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 6 Aug 2001, dac wrote:

> I've tried to make this little program which uses BIOS service
> 0xe820 to get the memory map, but my structure isn't filled...

See sections 18.2 and 18.5 of the DJGPP FAQ list.  In a nutshell: your
structure lives in extended memory, but BIOS functions can only access
the first 1MB of the address space (a.k.a. conventional memory).  So
you need to move data to and from the conventional memory using the
transfer buffer.

- Raw text -


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