Message-Id: <5.0.2.1.2.20020608134608.009e4050@pop.gmx.net> X-Sender: martinSteuer AT gmx DOT de@pop.gmx.net X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sat, 08 Jun 2002 14:25:28 +0200 To: djgpp AT delorie DOT com From: Martin Steuer Subject: Question about djgpp's int-wrapper Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Reply-To: djgpp AT delorie DOT com Hi folks, While examining the source of the wrapper in gopint.c I found that it does not issue a 'sti' before returning with 'iret'. So I wonder if this is ok, as the DPMI Spec. says that 'popf' and thus also 'iret' may not modify the interrupt flag, wouldn't this leave the interrupts disabled? I realize that the wrapper is also written for software interrupts where the interrupts aren't disabled. Then of course this is the right behaviour, but it would mean that one must issue a 'sti' within your interrupt handler if the wrapper is used for hardware interrupts. Is this right? Please tell me if i'm mistaken.