Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!hubcap!mikeoro From: mikeoro@hubcap.clemson.edu (Michael K O'Rourke) Newsgroups: comp.sys.mac.programmer Subject: Patching a trap question Message-ID: <6582@hubcap.clemson.edu> Date: 25 Sep 89 21:30:45 GMT Organization: Clemson University, Clemson, SC Lines: 24 I asked this question a few months ago, but thought i'd try it again to see if iget any more helpful answers this time. I know how to get a trap address and set a new address for the trap. However, how can i get it to jump to my routine first and then let my routine decide whether or not to pass the event or whatever on to the old routine that was originally pointed to by the trap? Now please keep in mind that i know absolutely no assembly language. Is it possible to do this in C or Pascal? The responses that i got last time said that assembly was the only way. Thanx, Michael O'Rourke Michael O'Rourke Clemson Unversity ========================================================================= | Disclaimer: I don't need one. Who'd sue a poor college student? | |-----------------------------------------------------------------------| | "If you're doing business with a religious son-of-a-bitch, get it in | | writing. His word ain't worth shit. Not with the good lord telling | | him how to fuck you on the deal." -- William S. Burroughs | =========================================================================