delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/01/20/04:57:29

From: "Anthony.Appleyard" <MCLSSAA2 AT fs2 DOT mt DOT umist DOT ac DOT uk>
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>

> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019