braner@batcomputer.tn.cornell.edu (braner) (11/18/86)
[] If you've tried using KILLER.PRG (which I posted a while ago) you've probably noticed that pressing any key after setting caps-lock on, or using the mouse buttons, caused an unintentional kill. Here is a corrected version. In this version the shift status has to be exactly $0F, rather than greater or equal to $0F, as I mistakenly did before. 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, you may have repeat pressing the last key several times. Also, now, caps lock MUST be off for it to work. (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 66 0C 08 D7 00 05 2F 7C 00 FC 0A 5A 00 02 4E F9 00 FC 28 1C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Uuencoded: ---------- cut here ---------- begin 644 KILLER.PRG M8!H```!P``````````````````````````#__TAZ`!@_/``F3DY<CT)G+SP` M``(`/SP`,4Y!2'H`""'?`1A.=0@7``5F%`PX``\.&V8,"-<`!2]\`/P*6@`" &3OD`_"@< ` end --------- and here ----------- - Moshe Braner <braner@amvax.tn.cornell.edu>