From: "Anthony.Appleyard" Organization: Materials Science Centre To: djgpp-workers AT delorie DOT com Date: Tue, 20 Jan 1998 08:23:45 GMT Subject: Re: MCLSSAA2 : hooking interrupt 9 Reply-to: Anthony DOT Appleyard AT umist DOT ac DOT uk Message-ID: <741A416BE6@fs2.mt.umist.ac.uk> Precedence: bulk > The callback needs to be simple and fast, or else bad things will happen.... When the hook routine calls the user function, should it save everything so that the user function can be a C/C++ function? Or should it save nothing and the user function must be in assembler and itself save and restore everything that it uses? > 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.