Mail Archives: djgpp/1998/04/15/10:38:43
Ice writes:
> I'm trying to make a VESA library. To get the VESA information, you
> need to assign a pointer to ES:DI, ax=0x4F00 and call interrupt 0x10.
> When I invoke the interrupt using int86() the memory is untouched.
You cannot pass protected mode pointers directly to real mode routines
like the VESA driver. Instead you must use a transfer buffer in
conventional memory, and do the call with the __dpmi_int() function.
See the djgpp FAQ or User's Guide for more information, or look at
the Allegro vesa.c file for a working example.
Shawn Hargreaves.
- Raw text -