Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199801_2.adf » Regulars2 » StarInfo/Fletcher/Tanner/!Png2Spr/!RunImage/Check
StarInfo/Fletcher/Tanner/!Png2Spr/!RunImage/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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199801_2.adf » Regulars2 |
Filename: | StarInfo/Fletcher/Tanner/!Png2Spr/!RunImage/Check |
Read OK: | ✔ |
File size: | 01DB bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM > Check 1.01 (by Mike Borcherds). 11REM Additions by TRT to allow "*object" 20A$="PNG to Sprite Converter" 30*Set Check$Temp Done 40DIMC%30 50A%=0 60REPEAT 70SYS"TaskManager_EnumerateTasks",A%,C%,30TOA% 80IFA%<0THENEND 90B%=C%!4-1 100task$="" 110REPEATB%+=1 120IF?B%>31THENtask$=task$+CHR$?B% 130UNTIL?B%<32 140IFtask$=A$THEN 150SYS "OS_GetEnv"TOB$ 160B$=MID$(B$,13) 170IFINSTR(B$," ")B$=MID$(B$,INSTR(B$," ")+1) 180IFB$=""ERROR0,A$+" is already running" 190OSCLI"Filer_Run "+B$ 200*Set Check$Temp Run 210END 220ENDIF 230UNTILA%<0 240END
'� > Check 1.01 (by Mike Borcherds). )� Additions by TRT to allow "*object" A$="PNG to Sprite Converter" *Set Check$Temp Done ( �C%30 2A%=0 <� F.ș"TaskManager_EnumerateTasks",A%,C%,30�A% P�A%<0�� Z B%=C%!4-1 dtask$="" n �B%+=1 x�?B%>31�task$=task$+�?B% ��?B%<32 ��task$=A$� �ș "OS_GetEnv"�B$ �B$=�B$,13) ��B$," ")B$=�B$,�B$," ")+1) �%�B$=""�0,A$+" is already running" ��"Filer_Run "+B$ �*Set Check$Temp Run �� �� � �A%<0 �� �
00000000 0d 00 0a 27 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 2e 0d 00 0b 29 f4 20 41 64 64 |herds)....). Add| 00000030 69 74 69 6f 6e 73 20 62 79 20 54 52 54 20 74 6f |itions by TRT to| 00000040 20 61 6c 6c 6f 77 20 22 2a 6f 62 6a 65 63 74 22 | allow "*object"| 00000050 0d 00 14 20 41 24 3d 22 50 4e 47 20 74 6f 20 53 |... A$="PNG to S| 00000060 70 72 69 74 65 20 43 6f 6e 76 65 72 74 65 72 22 |prite Converter"| 00000070 0d 00 1e 18 2a 53 65 74 20 43 68 65 63 6b 24 54 |....*Set Check$T| 00000080 65 6d 70 20 44 6f 6e 65 0d 00 28 09 de 43 25 33 |emp Done..(..C%3| 00000090 30 0d 00 32 08 41 25 3d 30 0d 00 3c 05 f5 0d 00 |0..2.A%=0..<....| 000000a0 46 2e c8 99 22 54 61 73 6b 4d 61 6e 61 67 65 72 |F..."TaskManager| 000000b0 5f 45 6e 75 6d 65 72 61 74 65 54 61 73 6b 73 22 |_EnumerateTasks"| 000000c0 2c 41 25 2c 43 25 2c 33 30 b8 41 25 0d 00 50 0b |,A%,C%,30.A%..P.| 000000d0 e7 41 25 3c 30 8c e0 0d 00 5a 0d 42 25 3d 43 25 |.A%<0....Z.B%=C%| 000000e0 21 34 2d 31 0d 00 64 0c 74 61 73 6b 24 3d 22 22 |!4-1..d.task$=""| 000000f0 0d 00 6e 0a f5 42 25 2b 3d 31 0d 00 78 1c e7 3f |..n..B%+=1..x..?| 00000100 42 25 3e 33 31 8c 74 61 73 6b 24 3d 74 61 73 6b |B%>31.task$=task| 00000110 24 2b bd 3f 42 25 0d 00 82 0b fd 3f 42 25 3c 33 |$+.?B%.....?B%<3| 00000120 32 0d 00 8c 0e e7 74 61 73 6b 24 3d 41 24 8c 0d |2.....task$=A$..| 00000130 00 96 15 c8 99 20 22 4f 53 5f 47 65 74 45 6e 76 |..... "OS_GetEnv| 00000140 22 b8 42 24 0d 00 a0 0e 42 24 3d c1 42 24 2c 31 |".B$....B$=.B$,1| 00000150 33 29 0d 00 aa 1f e7 a7 42 24 2c 22 20 22 29 42 |3)......B$," ")B| 00000160 24 3d c1 42 24 2c a7 42 24 2c 22 20 22 29 2b 31 |$=.B$,.B$," ")+1| 00000170 29 0d 00 b4 25 e7 42 24 3d 22 22 85 30 2c 41 24 |)...%.B$="".0,A$| 00000180 2b 22 20 69 73 20 61 6c 72 65 61 64 79 20 72 75 |+" is already ru| 00000190 6e 6e 69 6e 67 22 0d 00 be 14 ff 22 46 69 6c 65 |nning"....."File| 000001a0 72 5f 52 75 6e 20 22 2b 42 24 0d 00 c8 17 2a 53 |r_Run "+B$....*S| 000001b0 65 74 20 43 68 65 63 6b 24 54 65 6d 70 20 52 75 |et Check$Temp Ru| 000001c0 6e 0d 00 d2 05 e0 0d 00 dc 05 cd 0d 00 e6 09 fd |n...............| 000001d0 41 25 3c 30 0d 00 f0 05 e0 0d ff |A%<0.......| 000001db