Date: Mon, 3 Nov 1997 14:13:46 +0100 (MET) From: Michal Mertl To: Eli Zaretskii Cc: leger_v AT bluewin DOT ch, djgpp AT delorie DOT com Subject: Re: function pointer In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 2 Nov 1997, Eli Zaretskii wrote: > > Is that possible to take the pointer of the function bankswitch ? > > I've already taken the buffer with __tb. > > Perhaps the pointer is a pointer in the conventional memory but I don't > > know. Please help me ! > > You need to use the `_go32_dpmi_simulate_fcall' library function. It > allows you to call real-mode far functions from protected-mode > programs. Look it up in the library reference. > I my realmode library I used it too and it was faster than int 10h function, but Shawn said that he measured under protmode DJGPP and the int was lot faster. This of course may depend quite a lot on his card or configuration. May be the reflecting of ints is better in CWSDPMI? BTW I don't see any reason for writing just another library, maybe just to practice coding. Michal "MiMe" Mertl xmerm05 AT vse DOT cz