Mail Archives: djgpp/1995/12/09/00:31:30
Hello all:
I'd like some help on calling a real-mode interrupt handler; normally,
one would do something like:
_go32_dpmi_simulate_int (vector, ®s);
However, the real-mode handler I'm calling is remarkably picky; it hates
being called by _go32_dpmi_simulate_int () if running under windoze (but
works fine under ms-dog).
I would like to know how I can call the handler _from real mode_. A rough
idea would be:
> install a real-mode function (maybe an interrupt handler?)
> the real-mode function calls the (ill-behaved) handler
> my PM program then calls the real-mode program which then passes control
to the ill-behaved handler
I'd like to know how this could be done (possibly in DJGPP v1 as I don't
have v2 yet...) and if it's possible to install a real-mode _function_
(not an interrupt handler) so that call overhead is minimized.
Thanks in advance, and thanks again to all the people who've answered my
posts!
---------------------------------------------------------------------------
Orly A. Andico Instrumentation, Control, and Robotics Lab
oandico AT gollum DOT eee DOT upd DOT edu DOT ph Dept of Electrical & Electronics Eng'g
University of the Philippines Diliman
---------------------------------------------------------------------------
- Raw text -