delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/04/06:24:49

Date: Tue, 4 May 1999 11:22:24 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Francois <francois AT nothingreal DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: vesa 2.0 development
In-Reply-To: <372E36D8.D046D9AA@nothingreal.com>
Message-ID: <Pine.SUN.3.91.990504112156.16899T-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 3 May 1999, Francois wrote:

>     ax = 4f00h
>     es:di = ptr to buffer
>     int 10h
> 
> the int seems to works fine as at the end
> ax = 004fh
> but the buffer is not filled ...
> how to give the int the right es:di ????

The buffer needs to be in conventional memory.

I suggest to read section 18.2 of the DJGPP FAQ list which explain how
to do this.  You will also need to move data to and from the
conventional memory buffer; this is covered by section 18.4.  Finally,
section 18.5 discusses some pitfalls while using interrupts like the
VESA API that return pointers to buffers and functions.

- Raw text -


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