X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: jbs30000 AT aol DOT com (Joel) Newsgroups: comp.os.msdos.djgpp Subject: Interrupt handler question Date: 10 Apr 2004 22:55:09 -0700 Organization: http://groups.google.com Lines: 15 Message-ID: <84e4e2a9.0404102155.6533748@posting.google.com> NNTP-Posting-Host: 172.208.218.96 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1081662910 3017 127.0.0.1 (11 Apr 2004 05:55:10 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sun, 11 Apr 2004 05:55:10 +0000 (UTC) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have down all of the code to hook and restore interupt and far call handlers, and even how to chain (_go32_chain_protected_mode_interrupt_Vector) if need be. But one thing I can't find information on, unless it's not possible, is, how would I, if I wanted to, call the old handler in the middle of the new one. In other words, my new handler is called, I do some code, call the old routine, continue with my routine, and then either exit it, or chain to the real mode handler. Anyway, is it possible to call the old routine stored with _go32_dpmi_get_real_mode_interrupt_vector while in the middle of the new routine? Thanks.