Date: Wed, 28 Oct 1998 11:41:27 +0200 (EET) From: Toni Rasanen 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: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT 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