www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/09/03:50:14

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Organization: Materials Science Centre
To: djgpp AT delorie DOT com
Date: Wed, 9 Oct 1996 08:41:19 GMT
Subject: Re: Urgent Question: Interrupt handling
Message-ID: <78848518AA@fs2.mt.umist.ac.uk>

  Mike McDonald <kelek AT engin DOT umich DOT edu> wrote (Subject: Urgent Question:
Interrupt handling):-
> Am I missing something about programming interrupt handlers under djgpp? I
> need to finish this handler ASAP. Could anyone post or e-mail me some sample
> code for setting up a rudimentary interrupt handler?

Here be dragons. If the game/etc program aborts or crashes or exits, leaving
the interrupt vector entry pointing to where the program was, the interrupt
will after that always crash, until you reboot. What is needed is an easy way
for a user to write a TSR and then activate and deactivate it at will.

- Raw text -


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