Date: Mon, 14 Oct 1996 10:09:04 +0200 (IST) From: Eli Zaretskii To: Joonas W N Reynders Cc: djgpp AT delorie DOT com Subject: Re: Directly calling bank switch function? In-Reply-To: <53j43r$dcq@oravannahka.Helsinki.FI> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.