Mail Archives: djgpp/1993/02/22/18:28:50
In general, you can't just redirect a hardware interrupt from inside
go32 applications since you can't guarantee that the interrupt happens
while you're in protected mode, and go32 doesn't know how to send real
mode interrupts into the application as needed.
Go32 would need to be told about the mouse callback interrupt and how
to transfer information and control back and forth between real mode
and protected mode if you really want to do that.
The lowest exit trapping you can do is overriding _exit(), but then
you must perform the correct int21 function yourself if you do.
The ability to register for interrupts from real mode (aka signals) is
on everyone's wish list.
DJ
- Raw text -