Home » Archimedes archive » Acorn User » AU 1997-06 B.adf » Regulars » StarInfo/Tanner/!DelDynAre/Check

StarInfo/Tanner/!DelDynAre/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 1997-06 B.adf » Regulars
Filename: StarInfo/Tanner/!DelDynAre/Check
Read OK:
File size: 0115 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM > Check 1.01 (by Mike Borcherds)
   40A$="Delete Dynamic Areas"
   50DIMC%30
   60A%=0
   70REPEAT
   80SYS"TaskManager_EnumerateTasks",A%,C%,30TOA%
   90IFA%<0THENEND
  100B%=C%!4-1
  110task$=""
  120REPEATB%+=1
  130IF?B%>31THENtask$=task$+CHR$?B%
  140UNTIL?B%<32
  150IFtask$=A$THENERROR0,A$+" is already running"
  160UNTILA%<0
  170END

&� > Check 1.01 (by Mike Borcherds)
(A$="Delete Dynamic Areas"
2	�C%30
<A%=0
F�
P.ș"TaskManager_EnumerateTasks",A%,C%,30�A%
Z�A%<0��
d
B%=C%!4-1
ntask$=""
x
�B%+=1
��?B%>31�task$=task$+�?B%
��?B%<32
�)�task$=A$��0,A$+" is already running"
�	�A%<0
��
�
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  28 1d 41 24 3d 22 44 65  |herds)..(.A$="De|
00000030  6c 65 74 65 20 44 79 6e  61 6d 69 63 20 41 72 65  |lete Dynamic Are|
00000040  61 73 22 0d 00 32 09 de  43 25 33 30 0d 00 3c 08  |as"..2..C%30..<.|
00000050  41 25 3d 30 0d 00 46 05  f5 0d 00 50 2e c8 99 22  |A%=0..F....P..."|
00000060  54 61 73 6b 4d 61 6e 61  67 65 72 5f 45 6e 75 6d  |TaskManager_Enum|
00000070  65 72 61 74 65 54 61 73  6b 73 22 2c 41 25 2c 43  |erateTasks",A%,C|
00000080  25 2c 33 30 b8 41 25 0d  00 5a 0b e7 41 25 3c 30  |%,30.A%..Z..A%<0|
00000090  8c e0 0d 00 64 0d 42 25  3d 43 25 21 34 2d 31 0d  |....d.B%=C%!4-1.|
000000a0  00 6e 0c 74 61 73 6b 24  3d 22 22 0d 00 78 0a f5  |.n.task$=""..x..|
000000b0  42 25 2b 3d 31 0d 00 82  1c e7 3f 42 25 3e 33 31  |B%+=1.....?B%>31|
000000c0  8c 74 61 73 6b 24 3d 74  61 73 6b 24 2b bd 3f 42  |.task$=task$+.?B|
000000d0  25 0d 00 8c 0b fd 3f 42  25 3c 33 32 0d 00 96 29  |%.....?B%<32...)|
000000e0  e7 74 61 73 6b 24 3d 41  24 8c 85 30 2c 41 24 2b  |.task$=A$..0,A$+|
000000f0  22 20 69 73 20 61 6c 72  65 61 64 79 20 72 75 6e  |" is already run|
00000100  6e 69 6e 67 22 0d 00 a0  09 fd 41 25 3c 30 0d 00  |ning".....A%<0..|
00000110  aa 05 e0 0d ff                                    |.....|
00000115