cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/15/10:38:43

Message-ID: <D1FB30BBA491D1118E6D006097BCAE39261C34@Probe-nt-2a.Probe.co.uk>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: ES Segment
Date: Tue, 14 Apr 1998 10:19:48 +0100
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019