delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/28/04:42:19

Date: Wed, 28 Oct 1998 11:41:27 +0200 (EET)
From: Toni Rasanen <torasane AT mail DOT student DOT oulu DOT fi>
X-Sender: torasane AT paju DOT oulu DOT fi
To: djgpp AT delorie DOT com
Subject: Re: VESA 1.2 banked - How do I call a far pointer function in DJGPP?
In-Reply-To: <dFwZ1.1786$iT1.2887@weber.videotron.net>
Message-ID: <Pine.SGI.3.95.981028113824.1710A-100000@paju.oulu.fi>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 27 Oct 1998, Jonathan Villani wrote:

> the interupt 0x10 for bank switching (slower than a simple call, in real
> mode...protected mode not sure but I suppose it's also faster with a call. I

Short answer: you CAN'T call that VESA (1.2) routine from pmode as 
pointer. You either have to do it with int 0x10 or use VESA 2.0
pmode-extensions (which btw is a lot faster in any case!).

Okay, there MAY be a way to do call that rmode-server, but why bother?
DJGPP has to switch in rmode to do so and later then back to pmode,
so any possible speed improvement is lost anyway.

 ///           Toni Räsänen
///       torasane AT mail DOT student DOT oulu DOT fi

- Raw text -


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