Date: Wed, 9 Nov 1994 01:18:03 -0800 (PST) From: Chih-Hao Tsai To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: A question about writing interrupt handler in gcc Hi, I have a question about writing 'real mode' interrupt handler in gcc. When writing protected mode interrupt handler, one can use _do32_dpmi_chain_protected_mode_interrupt_vector to call the old handler by the end of the new handler. However, there is no real mode counterparts for this function call. I tried to use _go32_dpmi_simulate_fcall_iret to call the old handler, but it didn't work. Can anybody tell me how to chain original hanlder in a real mode interrupt handler? I've tried a thousand times. By the way, I've read the file 'dpmi.c' and couldn't figure out why there isn't a _go32_dpmi_chain_real_mode_interrupt_vector. ^^^^ Because I haven't subscribed this discussion group, please send your answers to me via email. I really need help. Thanks a lot! :: Chih-Hao Tsai (c-tsai4 AT uiuc DOT edu) at Human Perception and Performance :: :: Group, Beckman Institute for Advanced Science and Technology and :: :: Division of Learning and Instruction, Dept of Educational Psychology :: :: ............ University of Illinois at Urbana-Champaign ............ :: > _go32_dpmi_simulate_fcall_iret(®s);