Article View: comp.sys.atari.st
Article #34987Restoring default trap handlers
From: Jeff Voskamp
Date: Fri, 11 Nov 1988 13:50
Date: Fri, 11 Nov 1988 13:50
20 lines
1502 bytes
1502 bytes
I have a program that takes over several interrupts, including 0x102.
Naturally enough I have to restore all the default vectors before
exiting since this is not a "Terminate and stay resident" program. My
program has two exits - the normal one and via interrupt 0x102. When I
exit normally everything works fine, everybody's happy and life goes on
as usual. However, when I type ^C the machine _seems_ happy until I
start up something else, at which point it locks up and the only thing
to do is power down. I've checked using db (from MWC) and when calling
Setexc from Supervisor mode the vectors aren't being reset properly.
The same clean-up routine is being called in all cases.
Any suggestions? Are there problems with using system traps from
Supervisor mode?
Jeff Voskamp
--
Views expressed are mine and do not necessarily reflect the views of the
Symbolic Computation Group or those of the University.
bang path: ...{!uunet}!watmath!watmum!javoskamp
domain : javoskamp@watmum.uwaterloo.ca or javoskamp@watmum.waterloo.cdn
Technical Details
Message-ID:
<6727@watcgl.waterloo.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!watmum!javoskampShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!watmum!javoskamp From: javoskamp@watmum.waterloo.edu (Jeff Voskamp) Newsgroups: comp.sys.atari.st Subject: Restoring default trap handlers Keywords: User/Supervisor modes Message-ID: <6727@watcgl.waterloo.edu> Date: 11 Nov 88 13:50:51 GMT Sender: daemon@watcgl.waterloo.edu Reply-To: javoskamp@watmum.waterloo.edu (Jeff Voskamp) Distribution: uw Organization: U. of Waterloo, Ontario Lines: 20