www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/14/19:16:25

Message-ID: <3262E12C.6720@gbrmpa.gov.au>
Date: Tue, 15 Oct 1996 08:56:12 +0800
From: Leath Muller <leathm AT gbrmpa DOT gov DOT au>
Reply-To: leathm AT gbrmpa DOT gov DOT au
Organization: Great Barrier Reef Marine Park Authority
MIME-Version: 1.0
To: Joonas W N Reynders <reynders AT cc DOT Helsinki DOT FI>
CC: djgpp AT delorie DOT com
Subject: Re: Directly calling bank switch function?
References: <53j43r$dcq AT oravannahka DOT Helsinki DOT FI>

Joonas W N Reynders wrote:
> 
>         If I have a segment:offset (16:16) pointer to a function (this
> case the bank switch function ptr returned by a VESA GetModeInfo function),
> how can I call it directly? The bank switch interrup is too slow...

If your using VBE 2.0, you can use the protected mode bank switching
functions. These reside in protected mode memory, and should run as
fast as any code in protected mode with the bonus of not having any
real mode overhead. 

Leathal.

- Raw text -


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