Mail Archives: djgpp/1998/10/19/04:20:25
I have two questions about interrupt handler.
First: it seems I can't hook the serial port interrupt when I run under
Windows95 (but it works well under plain DOS). Could someone explain me
why ?
Second: rather than using _go32_dpmi_chain_protected_mode_interrupt_vector
or _go32_dpmi_allocate_iret_wrapper, can I compile my interrupt handler
(wich is written in C) to an assembler file (with gcc -S) then edit the
relevant .s file and replace the final `ret' with a `iret' and just
register my interrupt handler with
_go32_dpmi_set_protected_mode_interrupt_vector ?
TIA,
Olivier.
- Raw text -