Mail Archives: djgpp/1997/11/03/08:17:33
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
- Raw text -