Home » Archimedes archive » Acorn User » AU 1996-03 B.adf » Regulars » StarInfo/Fletcher/!TaskKill/!Help

StarInfo/Fletcher/!TaskKill/!Help

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1996-03 B.adf » Regulars
Filename: StarInfo/Fletcher/!TaskKill/!Help
Read OK:
File size: 09E6 bytes
Load address: 0000
Exec address: 0000
File contents
                                  TaskKiller
                                  ==========
Version 1.06 (08 Apr 1995)

Introduction
------------
  Sometimes�tasks get out of hand and need to be put down without resetting
the computer. On the RISC PC, this is easy, just press Alt-Break. However, on
the lower spec. machines this cannot be done and an application which has
hung needs to have the plug pulled by Ctrl-Break; rather drastic.
  So here is task killer, a simple easy to use program kill. A sort of
silicon version of a chain saw masacrist without the psychological
instability.

Usage
-----  
  Run the Basic file. This will produce the module.
  Run the module.
  The keys used are :
    Risc OS 3.11 :
     Press Right-Alt-Break to kill the current task
    Risc OS 3.00 :
     Press Right-Alt-Scroll-lock to kill the current task
    On either :
     Press Right-Alt-Escape to generate error
     Press Right-Alt-Keypad * to start a command prompt
  
KILLING TASKS
-------------
Use generate error first, this should exit most areas
Then if this doesn't work, killing should terminate the task
If you use either, then it is advised that you should reboot
                 ****** EXTREME WARNING *******
    DO NOT USE THIS IF THE DESKTOP IS FUNCTIONING NORMALLY!
      What will happen is that tasks will die randomly.

COMMAND PROMPTS
---------------
This will bring up the standard * prompt from anywhere, except in the
desktop. Do not use any commands which may seriously affect the top level
application.

Disclaimer
----------
  The author accepts no responsibility for any problems which this
application may cause or loss of data resulting in its use.
  

Source code
-----------
   This program requires the !JFPatch pre-assembler to make the code. This is
a simple text-to-basic assembler which takes a text assembler file, makes a
basic program from it to assemble, assembles it and returns any errors.
Currently, it is under development and requires a lot of work before it will
be released in any form. As such, the patch file is mostly useless, but must
be distributed with the resultant module.
   All source code an the resultant module must be distributed together.
        
Contact                
-------
Any comments, queries, donations or bug reports can be sent to :

Fidonet NetMail :  Justin Fletcher at Arcade (0181 655 4412) [2:254/27]
E-Mail : Gerph@arcade.demon.co.uk

Snail Mail :
    Justin Fletcher
    �Galadriel�
    17b Cromwell Road,
    Weeting,
    Brandon,
    Suffolk.
    IP27 0QT
00000000  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000020  20 20 54 61 73 6b 4b 69  6c 6c 65 72 0a 20 20 20  |  TaskKiller.   |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000040  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 3d  |               =|
00000050  3d 3d 3d 3d 3d 3d 3d 3d  3d 0a 56 65 72 73 69 6f  |=========.Versio|
00000060  6e 20 31 2e 30 36 20 28  30 38 20 41 70 72 20 31  |n 1.06 (08 Apr 1|
00000070  39 39 35 29 0a 0a 49 6e  74 72 6f 64 75 63 74 69  |995)..Introducti|
00000080  6f 6e 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |on.------------.|
00000090  20 20 53 6f 6d 65 74 69  6d 65 73 a0 74 61 73 6b  |  Sometimes.task|
000000a0  73 20 67 65 74 20 6f 75  74 20 6f 66 20 68 61 6e  |s get out of han|
000000b0  64 20 61 6e 64 20 6e 65  65 64 20 74 6f 20 62 65  |d and need to be|
000000c0  20 70 75 74 20 64 6f 77  6e 20 77 69 74 68 6f 75  | put down withou|
000000d0  74 20 72 65 73 65 74 74  69 6e 67 0a 74 68 65 20  |t resetting.the |
000000e0  63 6f 6d 70 75 74 65 72  2e 20 4f 6e 20 74 68 65  |computer. On the|
000000f0  20 52 49 53 43 20 50 43  2c 20 74 68 69 73 20 69  | RISC PC, this i|
00000100  73 20 65 61 73 79 2c 20  6a 75 73 74 20 70 72 65  |s easy, just pre|
00000110  73 73 20 41 6c 74 2d 42  72 65 61 6b 2e 20 48 6f  |ss Alt-Break. Ho|
00000120  77 65 76 65 72 2c 20 6f  6e 0a 74 68 65 20 6c 6f  |wever, on.the lo|
00000130  77 65 72 20 73 70 65 63  2e 20 6d 61 63 68 69 6e  |wer spec. machin|
00000140  65 73 20 74 68 69 73 20  63 61 6e 6e 6f 74 20 62  |es this cannot b|
00000150  65 20 64 6f 6e 65 20 61  6e 64 20 61 6e 20 61 70  |e done and an ap|
00000160  70 6c 69 63 61 74 69 6f  6e 20 77 68 69 63 68 20  |plication which |
00000170  68 61 73 0a 68 75 6e 67  20 6e 65 65 64 73 20 74  |has.hung needs t|
00000180  6f 20 68 61 76 65 20 74  68 65 20 70 6c 75 67 20  |o have the plug |
00000190  70 75 6c 6c 65 64 20 62  79 20 43 74 72 6c 2d 42  |pulled by Ctrl-B|
000001a0  72 65 61 6b 3b 20 72 61  74 68 65 72 20 64 72 61  |reak; rather dra|
000001b0  73 74 69 63 2e 0a 20 20  53 6f 20 68 65 72 65 20  |stic..  So here |
000001c0  69 73 20 74 61 73 6b 20  6b 69 6c 6c 65 72 2c 20  |is task killer, |
000001d0  61 20 73 69 6d 70 6c 65  20 65 61 73 79 20 74 6f  |a simple easy to|
000001e0  20 75 73 65 20 70 72 6f  67 72 61 6d 20 6b 69 6c  | use program kil|
000001f0  6c 2e 20 41 20 73 6f 72  74 20 6f 66 0a 73 69 6c  |l. A sort of.sil|
00000200  69 63 6f 6e 20 76 65 72  73 69 6f 6e 20 6f 66 20  |icon version of |
00000210  61 20 63 68 61 69 6e 20  73 61 77 20 6d 61 73 61  |a chain saw masa|
00000220  63 72 69 73 74 20 77 69  74 68 6f 75 74 20 74 68  |crist without th|
00000230  65 20 70 73 79 63 68 6f  6c 6f 67 69 63 61 6c 0a  |e psychological.|
00000240  69 6e 73 74 61 62 69 6c  69 74 79 2e 0a 0a 55 73  |instability...Us|
00000250  61 67 65 0a 2d 2d 2d 2d  2d 20 20 0a 20 20 52 75  |age.-----  .  Ru|
00000260  6e 20 74 68 65 20 42 61  73 69 63 20 66 69 6c 65  |n the Basic file|
00000270  2e 20 54 68 69 73 20 77  69 6c 6c 20 70 72 6f 64  |. This will prod|
00000280  75 63 65 20 74 68 65 20  6d 6f 64 75 6c 65 2e 0a  |uce the module..|
00000290  20 20 52 75 6e 20 74 68  65 20 6d 6f 64 75 6c 65  |  Run the module|
000002a0  2e 0a 20 20 54 68 65 20  6b 65 79 73 20 75 73 65  |..  The keys use|
000002b0  64 20 61 72 65 20 3a 0a  20 20 20 20 52 69 73 63  |d are :.    Risc|
000002c0  20 4f 53 20 33 2e 31 31  20 3a 0a 20 20 20 20 20  | OS 3.11 :.     |
000002d0  50 72 65 73 73 20 52 69  67 68 74 2d 41 6c 74 2d  |Press Right-Alt-|
000002e0  42 72 65 61 6b 20 74 6f  20 6b 69 6c 6c 20 74 68  |Break to kill th|
000002f0  65 20 63 75 72 72 65 6e  74 20 74 61 73 6b 0a 20  |e current task. |
00000300  20 20 20 52 69 73 63 20  4f 53 20 33 2e 30 30 20  |   Risc OS 3.00 |
00000310  3a 0a 20 20 20 20 20 50  72 65 73 73 20 52 69 67  |:.     Press Rig|
00000320  68 74 2d 41 6c 74 2d 53  63 72 6f 6c 6c 2d 6c 6f  |ht-Alt-Scroll-lo|
00000330  63 6b 20 74 6f 20 6b 69  6c 6c 20 74 68 65 20 63  |ck to kill the c|
00000340  75 72 72 65 6e 74 20 74  61 73 6b 0a 20 20 20 20  |urrent task.    |
00000350  4f 6e 20 65 69 74 68 65  72 20 3a 0a 20 20 20 20  |On either :.    |
00000360  20 50 72 65 73 73 20 52  69 67 68 74 2d 41 6c 74  | Press Right-Alt|
00000370  2d 45 73 63 61 70 65 20  74 6f 20 67 65 6e 65 72  |-Escape to gener|
00000380  61 74 65 20 65 72 72 6f  72 0a 20 20 20 20 20 50  |ate error.     P|
00000390  72 65 73 73 20 52 69 67  68 74 2d 41 6c 74 2d 4b  |ress Right-Alt-K|
000003a0  65 79 70 61 64 20 2a 20  74 6f 20 73 74 61 72 74  |eypad * to start|
000003b0  20 61 20 63 6f 6d 6d 61  6e 64 20 70 72 6f 6d 70  | a command promp|
000003c0  74 0a 20 20 0a 4b 49 4c  4c 49 4e 47 20 54 41 53  |t.  .KILLING TAS|
000003d0  4b 53 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |KS.-------------|
000003e0  0a 55 73 65 20 67 65 6e  65 72 61 74 65 20 65 72  |.Use generate er|
000003f0  72 6f 72 20 66 69 72 73  74 2c 20 74 68 69 73 20  |ror first, this |
00000400  73 68 6f 75 6c 64 20 65  78 69 74 20 6d 6f 73 74  |should exit most|
00000410  20 61 72 65 61 73 0a 54  68 65 6e 20 69 66 20 74  | areas.Then if t|
00000420  68 69 73 20 64 6f 65 73  6e 27 74 20 77 6f 72 6b  |his doesn't work|
00000430  2c 20 6b 69 6c 6c 69 6e  67 20 73 68 6f 75 6c 64  |, killing should|
00000440  20 74 65 72 6d 69 6e 61  74 65 20 74 68 65 20 74  | terminate the t|
00000450  61 73 6b 0a 49 66 20 79  6f 75 20 75 73 65 20 65  |ask.If you use e|
00000460  69 74 68 65 72 2c 20 74  68 65 6e 20 69 74 20 69  |ither, then it i|
00000470  73 20 61 64 76 69 73 65  64 20 74 68 61 74 20 79  |s advised that y|
00000480  6f 75 20 73 68 6f 75 6c  64 20 72 65 62 6f 6f 74  |ou should reboot|
00000490  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
000004a0  20 20 2a 2a 2a 2a 2a 2a  20 45 58 54 52 45 4d 45  |  ****** EXTREME|
000004b0  20 57 41 52 4e 49 4e 47  20 2a 2a 2a 2a 2a 2a 2a  | WARNING *******|
000004c0  0a 20 20 20 20 44 4f 20  4e 4f 54 20 55 53 45 20  |.    DO NOT USE |
000004d0  54 48 49 53 20 49 46 20  54 48 45 20 44 45 53 4b  |THIS IF THE DESK|
000004e0  54 4f 50 20 49 53 20 46  55 4e 43 54 49 4f 4e 49  |TOP IS FUNCTIONI|
000004f0  4e 47 20 4e 4f 52 4d 41  4c 4c 59 21 0a 20 20 20  |NG NORMALLY!.   |
00000500  20 20 20 57 68 61 74 20  77 69 6c 6c 20 68 61 70  |   What will hap|
00000510  70 65 6e 20 69 73 20 74  68 61 74 20 74 61 73 6b  |pen is that task|
00000520  73 20 77 69 6c 6c 20 64  69 65 20 72 61 6e 64 6f  |s will die rando|
00000530  6d 6c 79 2e 0a 0a 43 4f  4d 4d 41 4e 44 20 50 52  |mly...COMMAND PR|
00000540  4f 4d 50 54 53 0a 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |OMPTS.----------|
00000550  2d 2d 2d 2d 2d 0a 54 68  69 73 20 77 69 6c 6c 20  |-----.This will |
00000560  62 72 69 6e 67 20 75 70  20 74 68 65 20 73 74 61  |bring up the sta|
00000570  6e 64 61 72 64 20 2a 20  70 72 6f 6d 70 74 20 66  |ndard * prompt f|
00000580  72 6f 6d 20 61 6e 79 77  68 65 72 65 2c 20 65 78  |rom anywhere, ex|
00000590  63 65 70 74 20 69 6e 20  74 68 65 0a 64 65 73 6b  |cept in the.desk|
000005a0  74 6f 70 2e 20 44 6f 20  6e 6f 74 20 75 73 65 20  |top. Do not use |
000005b0  61 6e 79 20 63 6f 6d 6d  61 6e 64 73 20 77 68 69  |any commands whi|
000005c0  63 68 20 6d 61 79 20 73  65 72 69 6f 75 73 6c 79  |ch may seriously|
000005d0  20 61 66 66 65 63 74 20  74 68 65 20 74 6f 70 20  | affect the top |
000005e0  6c 65 76 65 6c 0a 61 70  70 6c 69 63 61 74 69 6f  |level.applicatio|
000005f0  6e 2e 0a 0a 44 69 73 63  6c 61 69 6d 65 72 0a 2d  |n...Disclaimer.-|
00000600  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 20 20 54 68 65 20  |---------.  The |
00000610  61 75 74 68 6f 72 20 61  63 63 65 70 74 73 20 6e  |author accepts n|
00000620  6f 20 72 65 73 70 6f 6e  73 69 62 69 6c 69 74 79  |o responsibility|
00000630  20 66 6f 72 20 61 6e 79  20 70 72 6f 62 6c 65 6d  | for any problem|
00000640  73 20 77 68 69 63 68 20  74 68 69 73 0a 61 70 70  |s which this.app|
00000650  6c 69 63 61 74 69 6f 6e  20 6d 61 79 20 63 61 75  |lication may cau|
00000660  73 65 20 6f 72 20 6c 6f  73 73 20 6f 66 20 64 61  |se or loss of da|
00000670  74 61 20 72 65 73 75 6c  74 69 6e 67 20 69 6e 20  |ta resulting in |
00000680  69 74 73 20 75 73 65 2e  0a 20 20 0a 0a 53 6f 75  |its use..  ..Sou|
00000690  72 63 65 20 63 6f 64 65  0a 2d 2d 2d 2d 2d 2d 2d  |rce code.-------|
000006a0  2d 2d 2d 2d 0a 20 20 20  54 68 69 73 20 70 72 6f  |----.   This pro|
000006b0  67 72 61 6d 20 72 65 71  75 69 72 65 73 20 74 68  |gram requires th|
000006c0  65 20 21 4a 46 50 61 74  63 68 20 70 72 65 2d 61  |e !JFPatch pre-a|
000006d0  73 73 65 6d 62 6c 65 72  20 74 6f 20 6d 61 6b 65  |ssembler to make|
000006e0  20 74 68 65 20 63 6f 64  65 2e 20 54 68 69 73 20  | the code. This |
000006f0  69 73 0a 61 20 73 69 6d  70 6c 65 20 74 65 78 74  |is.a simple text|
00000700  2d 74 6f 2d 62 61 73 69  63 20 61 73 73 65 6d 62  |-to-basic assemb|
00000710  6c 65 72 20 77 68 69 63  68 20 74 61 6b 65 73 20  |ler which takes |
00000720  61 20 74 65 78 74 20 61  73 73 65 6d 62 6c 65 72  |a text assembler|
00000730  20 66 69 6c 65 2c 20 6d  61 6b 65 73 20 61 0a 62  | file, makes a.b|
00000740  61 73 69 63 20 70 72 6f  67 72 61 6d 20 66 72 6f  |asic program fro|
00000750  6d 20 69 74 20 74 6f 20  61 73 73 65 6d 62 6c 65  |m it to assemble|
00000760  2c 20 61 73 73 65 6d 62  6c 65 73 20 69 74 20 61  |, assembles it a|
00000770  6e 64 20 72 65 74 75 72  6e 73 20 61 6e 79 20 65  |nd returns any e|
00000780  72 72 6f 72 73 2e 0a 43  75 72 72 65 6e 74 6c 79  |rrors..Currently|
00000790  2c 20 69 74 20 69 73 20  75 6e 64 65 72 20 64 65  |, it is under de|
000007a0  76 65 6c 6f 70 6d 65 6e  74 20 61 6e 64 20 72 65  |velopment and re|
000007b0  71 75 69 72 65 73 20 61  20 6c 6f 74 20 6f 66 20  |quires a lot of |
000007c0  77 6f 72 6b 20 62 65 66  6f 72 65 20 69 74 20 77  |work before it w|
000007d0  69 6c 6c 0a 62 65 20 72  65 6c 65 61 73 65 64 20  |ill.be released |
000007e0  69 6e 20 61 6e 79 20 66  6f 72 6d 2e 20 41 73 20  |in any form. As |
000007f0  73 75 63 68 2c 20 74 68  65 20 70 61 74 63 68 20  |such, the patch |
00000800  66 69 6c 65 20 69 73 20  6d 6f 73 74 6c 79 20 75  |file is mostly u|
00000810  73 65 6c 65 73 73 2c 20  62 75 74 20 6d 75 73 74  |seless, but must|
00000820  0a 62 65 20 64 69 73 74  72 69 62 75 74 65 64 20  |.be distributed |
00000830  77 69 74 68 20 74 68 65  20 72 65 73 75 6c 74 61  |with the resulta|
00000840  6e 74 20 6d 6f 64 75 6c  65 2e 0a 20 20 20 41 6c  |nt module..   Al|
00000850  6c 20 73 6f 75 72 63 65  20 63 6f 64 65 20 61 6e  |l source code an|
00000860  20 74 68 65 20 72 65 73  75 6c 74 61 6e 74 20 6d  | the resultant m|
00000870  6f 64 75 6c 65 20 6d 75  73 74 20 62 65 20 64 69  |odule must be di|
00000880  73 74 72 69 62 75 74 65  64 20 74 6f 67 65 74 68  |stributed togeth|
00000890  65 72 2e 0a 20 20 20 20  20 20 20 20 0a 43 6f 6e  |er..        .Con|
000008a0  74 61 63 74 20 20 20 20  20 20 20 20 20 20 20 20  |tact            |
000008b0  20 20 20 20 0a 2d 2d 2d  2d 2d 2d 2d 0a 41 6e 79  |    .-------.Any|
000008c0  20 63 6f 6d 6d 65 6e 74  73 2c 20 71 75 65 72 69  | comments, queri|
000008d0  65 73 2c 20 64 6f 6e 61  74 69 6f 6e 73 20 6f 72  |es, donations or|
000008e0  20 62 75 67 20 72 65 70  6f 72 74 73 20 63 61 6e  | bug reports can|
000008f0  20 62 65 20 73 65 6e 74  20 74 6f 20 3a 0a 0a 46  | be sent to :..F|
00000900  69 64 6f 6e 65 74 20 4e  65 74 4d 61 69 6c 20 3a  |idonet NetMail :|
00000910  20 20 4a 75 73 74 69 6e  20 46 6c 65 74 63 68 65  |  Justin Fletche|
00000920  72 20 61 74 20 41 72 63  61 64 65 20 28 30 31 38  |r at Arcade (018|
00000930  31 20 36 35 35 20 34 34  31 32 29 20 5b 32 3a 32  |1 655 4412) [2:2|
00000940  35 34 2f 32 37 5d 0a 45  2d 4d 61 69 6c 20 3a 20  |54/27].E-Mail : |
00000950  47 65 72 70 68 40 61 72  63 61 64 65 2e 64 65 6d  |Gerph@arcade.dem|
00000960  6f 6e 2e 63 6f 2e 75 6b  0a 0a 53 6e 61 69 6c 20  |on.co.uk..Snail |
00000970  4d 61 69 6c 20 3a 0a 20  20 20 20 4a 75 73 74 69  |Mail :.    Justi|
00000980  6e 20 46 6c 65 74 63 68  65 72 0a 20 20 20 20 94  |n Fletcher.    .|
00000990  47 61 6c 61 64 72 69 65  6c 95 0a 20 20 20 20 31  |Galadriel..    1|
000009a0  37 62 20 43 72 6f 6d 77  65 6c 6c 20 52 6f 61 64  |7b Cromwell Road|
000009b0  2c 0a 20 20 20 20 57 65  65 74 69 6e 67 2c 0a 20  |,.    Weeting,. |
000009c0  20 20 20 42 72 61 6e 64  6f 6e 2c 0a 20 20 20 20  |   Brandon,.    |
000009d0  53 75 66 66 6f 6c 6b 2e  0a 20 20 20 20 49 50 32  |Suffolk..    IP2|
000009e0  37 20 30 51 54 0a                                 |7 0QT.|
000009e6