Mail Archives: djgpp/1999/05/04/06:24:49
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 -