Date: Tue, 4 May 1999 11:22:24 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Francois cc: djgpp AT delorie DOT com Subject: Re: vesa 2.0 development In-Reply-To: <372E36D8.D046D9AA@nothingreal.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.