X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Interrupt handler question Date: 11 Apr 2004 12:37:00 GMT Organization: Aachen University of Technology (RWTH) Lines: 14 Message-ID: References: <84e4e2a9 DOT 0404102155 DOT 6533748 AT posting DOT google DOT com> NNTP-Posting-Host: accip02.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1081687020 26161 137.226.33.41 (11 Apr 2004 12:37:00 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 11 Apr 2004 12:37:00 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Joel wrote: > 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? I doubt it. The problem being that the end of an interrupt handler is signalled by a IRET instruction. The old routine will be ending in such an IRET. So at the minimum, you'ld have to use the DPMI simulate interrupt call method to call it, and I'm not sure that's allowed from inside an interrupt handler. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.