Message-ID: From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: ES Segment Date: Tue, 14 Apr 1998 10:19:48 +0100 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk 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.