Home » Archimedes archive » Acorn User » AU 1995-12 B.adf » Regulars » StarInfo/Tanner/!GenBackDr/Check

StarInfo/Tanner/!GenBackDr/Check

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 1995-12 B.adf » Regulars
Filename: StarInfo/Tanner/!GenBackDr/Check
Read OK:
File size: 0150 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM > Check 1.01 (by Mike Borcherds)
   11REM Hack this to take arguments!
   20DIM C% 30
   30A%=0
   40REPEAT
   50SYS "TaskManager_EnumerateTasks",A%,C%,30 TO A%
   51IF A%<0 THEN END
   60B%=C%!4-1
   70task$=""
   80REPEAT B%+=1
   90IF ?B%>31 THEN task$=task$+CHR$?B%
  100UNTIL ?B%<32
  110IF task$="BackDrop Generator" THEN *ERROR 0 BackDrop Generator is already running
  120UNTIL A%<0
  121END

&� > Check 1.01 (by Mike Borcherds)
"� Hack this to take arguments!
� C% 30
A%=0
(�
21ș "TaskManager_EnumerateTasks",A%,C%,30 � A%
3� A%<0 � �
<
B%=C%!4-1
Ftask$=""
P� B%+=1
Z� ?B%>31 � task$=task$+�?B%
d� ?B%<32
nQ� task$="BackDrop Generator" � *ERROR 0 BackDrop Generator is already running
x
� A%<0
y�
�
00000000  0d 00 0a 26 f4 20 3e 20  43 68 65 63 6b 20 31 2e  |...&. > Check 1.|
00000010  30 31 20 28 62 79 20 4d  69 6b 65 20 42 6f 72 63  |01 (by Mike Borc|
00000020  68 65 72 64 73 29 0d 00  0b 22 f4 20 48 61 63 6b  |herds)...". Hack|
00000030  20 74 68 69 73 20 74 6f  20 74 61 6b 65 20 61 72  | this to take ar|
00000040  67 75 6d 65 6e 74 73 21  0d 00 14 0b de 20 43 25  |guments!..... C%|
00000050  20 33 30 0d 00 1e 08 41  25 3d 30 0d 00 28 05 f5  | 30....A%=0..(..|
00000060  0d 00 32 31 c8 99 20 22  54 61 73 6b 4d 61 6e 61  |..21.. "TaskMana|
00000070  67 65 72 5f 45 6e 75 6d  65 72 61 74 65 54 61 73  |ger_EnumerateTas|
00000080  6b 73 22 2c 41 25 2c 43  25 2c 33 30 20 b8 20 41  |ks",A%,C%,30 . A|
00000090  25 0d 00 33 0e e7 20 41  25 3c 30 20 8c 20 e0 0d  |%..3.. A%<0 . ..|
000000a0  00 3c 0d 42 25 3d 43 25  21 34 2d 31 0d 00 46 0c  |.<.B%=C%!4-1..F.|
000000b0  74 61 73 6b 24 3d 22 22  0d 00 50 0b f5 20 42 25  |task$=""..P.. B%|
000000c0  2b 3d 31 0d 00 5a 1f e7  20 3f 42 25 3e 33 31 20  |+=1..Z.. ?B%>31 |
000000d0  8c 20 74 61 73 6b 24 3d  74 61 73 6b 24 2b bd 3f  |. task$=task$+.?|
000000e0  42 25 0d 00 64 0c fd 20  3f 42 25 3c 33 32 0d 00  |B%..d.. ?B%<32..|
000000f0  6e 51 e7 20 74 61 73 6b  24 3d 22 42 61 63 6b 44  |nQ. task$="BackD|
00000100  72 6f 70 20 47 65 6e 65  72 61 74 6f 72 22 20 8c  |rop Generator" .|
00000110  20 2a 45 52 52 4f 52 20  30 20 42 61 63 6b 44 72  | *ERROR 0 BackDr|
00000120  6f 70 20 47 65 6e 65 72  61 74 6f 72 20 69 73 20  |op Generator is |
00000130  61 6c 72 65 61 64 79 20  72 75 6e 6e 69 6e 67 0d  |already running.|
00000140  00 78 0a fd 20 41 25 3c  30 0d 00 79 05 e0 0d ff  |.x.. A%<0..y....|
00000150