Date: Wed, 21 Jan 1998 15:48:13 +0200 (IST) From: Eli Zaretskii To: Anthony DOT Appleyard AT umist DOT ac DOT uk cc: djgpp-workers AT delorie DOT com Subject: Re: MCLSSAA2 : hooking interrupt 9 In-Reply-To: <741A416BE6@fs2.mt.umist.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 20 Jan 1998, Anthony.Appleyard wrote: > > The problem with CLI is that some DPMI servers trap it and emulate it with > > code that takes eons to execute. ... > > Sorry, I was unaware of this. I thought that CLI was just a single quick > instruction like POPF and RET etc. In real mode, yes. But in a multi-tasking environment such as Windows, it is unwise to let an application to disable interrupts, since this would prevent the OS itself from getting interrupts.