Mail Archives: djgpp/1993/06/25/16:09:43
I apologize if this is a repeat message, but our mail has been down
for several days, so I don't know if anyone replied, or even if the
message was posted to begin with....
I am trying to port the DFLAT windowsing library described in Dr.
Dobbs Journal to DJGPP. This library was originally written in
Borland C. The library uses getvect() and setvect() to intercept the
keyboard and timer interrupts.
Getvect() and setvect() don't appear to be supported in djgpp,
apparently because the interrupts involve a task switch back to 16 bit
land. I've thought of a couple things that might get getvect() and
setvect() working, but they are all really ugly and might not work at all.
Has anyone tackled this problem? Is there an easy way to intercept
the keyboard & timer interrupts or should I just figure a way to
rewrite the code that avoids the need.
Dave Hayden
- Raw text -