Home » Archimedes archive » Acorn User » AU 1994-10.adf » !StarInfo_StarInfo » Kemp/ListTasks
Kemp/ListTasks
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 1994-10.adf » !StarInfo_StarInfo |
Filename: | Kemp/ListTasks |
Read OK: | ✔ |
File size: | 011C bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >ListTasks 20REM by DCA 30REM (c) AU October 1994 40 50DIM q% 256 60n%=0 70WHILE n%>=0 80 SYS "TaskManager_EnumerateTasks",n%,q%,256 TO n%,end% 90 IF end%>q% THEN 100 p%=q% 110 WHILE p%<end% 120 PRINT;~!p%;TAB(12); 130 SYS "OS_Write0",p%!4 140 PRINT 150 p%+=16 160 ENDWHILE 170 ENDIF 180ENDWHILE 190END
� >ListTasks � by DCA � (c) AU October 1994 ( 2� q% 256 <n%=0 Fȕ n%>=0 P8 ș "TaskManager_EnumerateTasks",n%,q%,256 � n%,end% Z � end%>q% � d p%=q% n ȕ p%<end% x �;~!p%;�12); � ș "OS_Write0",p%!4 � � � p%+=16 � � � � �� �� �
00000000 0d 00 0a 14 f4 20 20 20 20 20 3e 4c 69 73 74 54 |..... >ListT| 00000010 61 73 6b 73 0d 00 14 0d f4 20 62 79 20 20 44 43 |asks..... by DC| 00000020 41 0d 00 1e 19 f4 20 28 63 29 20 41 55 20 4f 63 |A..... (c) AU Oc| 00000030 74 6f 62 65 72 20 31 39 39 34 0d 00 28 04 0d 00 |tober 1994..(...| 00000040 32 0c de 20 71 25 20 32 35 36 0d 00 3c 08 6e 25 |2.. q% 256..<.n%| 00000050 3d 30 0d 00 46 0c c8 95 20 6e 25 3e 3d 30 0d 00 |=0..F... n%>=0..| 00000060 50 38 20 c8 99 20 22 54 61 73 6b 4d 61 6e 61 67 |P8 .. "TaskManag| 00000070 65 72 5f 45 6e 75 6d 65 72 61 74 65 54 61 73 6b |er_EnumerateTask| 00000080 73 22 2c 6e 25 2c 71 25 2c 32 35 36 20 b8 20 6e |s",n%,q%,256 . n| 00000090 25 2c 65 6e 64 25 0d 00 5a 10 20 e7 20 65 6e 64 |%,end%..Z. . end| 000000a0 25 3e 71 25 20 8c 0d 00 64 0b 20 20 70 25 3d 71 |%>q% ...d. p%=q| 000000b0 25 0d 00 6e 10 20 20 c8 95 20 70 25 3c 65 6e 64 |%..n. .. p%<end| 000000c0 25 0d 00 78 13 20 20 20 f1 3b 7e 21 70 25 3b 8a |%..x. .;~!p%;.| 000000d0 31 32 29 3b 0d 00 82 1a 20 20 20 c8 99 20 22 4f |12);.... .. "O| 000000e0 53 5f 57 72 69 74 65 30 22 2c 70 25 21 34 0d 00 |S_Write0",p%!4..| 000000f0 8c 08 20 20 20 f1 0d 00 96 0d 20 20 20 70 25 2b |.. ..... p%+| 00000100 3d 31 36 0d 00 a0 07 20 20 ce 0d 00 aa 06 20 cd |=16.... ..... .| 00000110 0d 00 b4 05 ce 0d 00 be 05 e0 0d ff |............| 0000011c