Article View: net.micro.atari16
Article #2478Re: Interrupt running programs
From: braner
Date: Mon, 20 Oct 1986 16:31
Date: Mon, 20 Oct 1986 16:31
30 lines
1851 bytes
1851 bytes
[] Reminder: after running this program ONCE, holding down Control, Alternate and BOTH Shift keys and pressing any other key will stop the program running at the time, as long as it is in user mode. Since programs call OS routines which execute in supervisor mode, and since this program will act only if the interrupted program is in user mode, you may have to repeat pressing the last key several times. The two bombs were due to the RTE to $FC0A5A in user mode, where a MOVE.L #$93A,$4A2 is attempted. Here is a corrected version with BSET #5,(A7) added before the RTE, to keep it in supervisor mode. (Hex dump of the complete program - 96 bytes): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 1A 00 00 00 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF 48 7A 00 18 3F 3C 00 26 4E 4E 5C 8F 42 67 2F 3C 00 00 02 00 3F 3C 00 31 4E 41 48 7A 00 08 21 DF 01 18 4E 75 08 17 00 05 66 14 0C 38 00 0F 0E 1B 65 0C 08 D7 00 05 2F 7C 00 FC 0A 5A 00 02 4E F9 00 FC 28 1C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Have a clean break! - Moshe Braner <braner@amvax.tn.cornell.edu>
Technical Details
Message-ID:
<1242@batcomputer.TN.CORNELL.EDU>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!husc6!seismo!rochester!cornell!batcomputer!branerReferences:
<14600008@uklirb.UUCP> <1230@batcomputer.TN.CORNELL.EDU> <1234@batcomputer.TN.CORNELL.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!husc6!seismo!rochester!cornell!batcomputer!braner From: braner@batcomputer.TN.CORNELL.EDU (braner) Newsgroups: net.micro.atari16 Subject: Re: Interrupt running programs Message-ID: <1242@batcomputer.TN.CORNELL.EDU> Date: Mon, 20-Oct-86 12:31:01 EDT Article-I.D.: batcompu.1242 Posted: Mon Oct 20 12:31:01 1986 Date-Received: Wed, 22-Oct-86 03:56:49 EDT References: <14600008@uklirb.UUCP> <1230@batcomputer.TN.CORNELL.EDU> <1234@batcomputer.TN.CORNELL.EDU> Reply-To: braner@batcomputer.UUCP (braner) Organization: Theory Center, Cornell University, Ithaca NY Lines: 30 Summary: Final version (hopefully)