Mail Archives: djgpp/1998/02/11/00:34:13
At 02:16 2/10/1998 +0300, Eugene N. Trofimov wrote:
> Could anybody point me all distinctions between following functions :
I think the docs tell it very well, but here's a summary.
>
> __dpmi_simulate_realmode_int(...)
Btw, it's spelled `__dpmi_simulate_real_mode_interrupt'.
Simulates a real-mode interrupt, filling in *all* the registers from the
register struct. This means that unless `ss', `sp' and `flags' are set to
appropriate values or zero (which makes them be set to "sensible defaults"),
bad things will happen.
> __dpmi_int(...)
Same as above, except it zeros `ss', `sp' and `flags' for you, yielding the
sensible defaults. That's why it's the one normally recommended to use.
> _go32_dpmi_simulate_int(...)
Same functionality as `__dpmi_simulate_real_mode_interrupt', just a
different (obsolete) name and interface. Kept for hysterical reasons. :) (It
was the standard method in DJGPP v1.)
Nate Eldredge
eldredge AT ap DOT net
- Raw text -