Mail Archives: djgpp/1999/05/04/05:36:44
Francois writes:
> 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 ????
This sort of code must be written very differently in protected mode,
because your program isn't using the same address space as the real
mode VESA BIOS. See the djgpp FAQ section 18.2 for details, and also
http://www.delorie.com/djgpp/doc/ug/.
Shawn Hargreaves.
- Raw text -