Mail Archives: djgpp/1998/12/03/06:53:02
mark reed (marst96+@pitt.edu) wrote:
: Doesnt it say that number 3 is to restore the orignal handler and that you
: must use what you got from number 1 (not 2)? You may have misread it, or its
: a typo or error. You are right the first 2 steps are what you need. The
: third step would be restoring the original handler when you are done, but
: use the info you got from step 1.
No, step 2 is the part where a wrapper function is created for
your interrupt handler function. If you don't want to chain to the
interrupt, then you have to call a different function to
_go32_dpmi_chain_protected_mode_interrupt() (can't remember the name now)
and then you *do* have to call _go32_dpmi_set_protected_mode_interrupt().
My point was that _g_d_c_p_m_i() calls _g_d_set_p_m_i() for you, which
disagrees with the FAQ.
--
==============================================================================
Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==============================================================================
- Raw text -