Date: Tue, 7 Aug 2001 11:18:23 +0300 (IDT) From: Eli Zaretskii 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.