delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/04/05:36:44

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3013661FF@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: vesa 2.0 development
Date: Tue, 4 May 1999 10:36:46 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

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 -


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