delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/14/04:29:58

Date: Mon, 14 Oct 1996 10:09:04 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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?
In-Reply-To: <53j43r$dcq@oravannahka.Helsinki.FI>
Message-Id: <Pine.SUN.3.91.961014100656.17591B@is>
Mime-Version: 1.0

On 10 Oct 1996, 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...

Use either of the following library functions:

	`__dpmi_simulate_real_mode_procedure_retf' 
	`__dpmi_simulate_real_mode_procedure_retf_stack'
	`_go32_dpmi_simulate_fcall'

They are all documented in the libc on-line docs.

- Raw text -


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