Home » Archimedes archive » Archimedes World » AW-1993-09.adf » AWSept93 » !AWSept93/Goodies/EFF/!DemoFont/!RunImage
!AWSept93/Goodies/EFF/!DemoFont/!RunImage
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 » Archimedes World » AW-1993-09.adf » AWSept93 |
Filename: | !AWSept93/Goodies/EFF/!DemoFont/!RunImage |
Read OK: | ✔ |
File size: | 0384 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM > !RunImage 20ON ERROR OSCLI("ERROR Your EFF demo Font has already been installed") 30DIM a 255, b 255:out = FALSE:c = 255:$a = "Font$Path" 40SYS "OS_EvaluateExpression", a,b,c TO ,,c 50b?c=13:j = 0:?a=13 60REPEAT:i = INSTR($b, ",", j):IF i <> 0 THEN 70$a = MID$($b, j, i-j-2): j = i+1: 80WHILE LEFT$($a,1)=" ": $a=RIGHT$($a,LEN($a)-1):ENDWHILE 90IF INSTR($a, "Resources")=0 AND $a<> "" out = TRUE 100ENDIF 110UNTIL out OR i= 0 120IF NOT out THEN 130$a = MID$($b, j, c-j-1):k = INSTR($a, "Resources"):IF INSTR($a, "Resources")=0 AND INSTR($a, "ArtFonts")=0 AND $a<> "" out = TRUE 140ENDIF 150IF out THEN 160SYS "Hourglass_On" 170OSCLI("Copy <Obey$Dir>.Fonts "+$a+" ~C~VRF") 180OSCLI("Wipe <Obey$Dir>.Fonts ~C~VRF") 190SYS "Hourglass_Off" 200OSCLI("ERROR Your EFF Demo Font has been copied to "+$a+" Please press Cancel to continue") 210ELSE 220OSCLI("Error Fonts directory cannot be found. Locate !Fonts directory on your disc. If you do not have !Fonts directory you need a Font Manager version 2.0 or later") 230ENDIF 240 250
� > !RunImage @� � �("ERROR Your EFF demo Font has already been installed") 3� a 255, b 255:out = �:c = 255:$a = "Font$Path" (+ș "OS_EvaluateExpression", a,b,c � ,,c 2b?c=13:j = 0:?a=13 <!�:i = �$b, ",", j):� i <> 0 � F!$a = �$b, j, i-j-2): j = i+1: P$ȕ �$a,1)=" ": $a=�$a,�($a)-1):� Z+� �$a, "Resources")=0 � $a<> "" out = � d� n� out � i= 0 x � � out � �j$a = �$b, j, c-j-1):k = �$a, "Resources"):� �$a, "Resources")=0 � �$a, "ArtFonts")=0 � $a<> "" out = � �� �� out � �ș "Hourglass_On" �,�("Copy <Obey$Dir>.Fonts "+$a+" ~C~VRF") �%�("Wipe <Obey$Dir>.Fonts ~C~VRF") �ș "Hourglass_Off" �\�("ERROR Your EFF Demo Font has been copied to "+$a+" Please press Cancel to continue") �� ܦ�("Error Fonts directory cannot be found. Locate !Fonts directory on your disc. If you do not have !Fonts directory you need a Font Manager version 2.0 or later") �� � � �
00000000 0d 00 0a 11 f4 20 3e 20 21 52 75 6e 49 6d 61 67 |..... > !RunImag| 00000010 65 0d 00 14 40 ee 20 85 20 ff 28 22 45 52 52 4f |e...@. . .("ERRO| 00000020 52 20 59 6f 75 72 20 45 46 46 20 64 65 6d 6f 20 |R Your EFF demo | 00000030 46 6f 6e 74 20 68 61 73 20 61 6c 72 65 61 64 79 |Font has already| 00000040 20 62 65 65 6e 20 69 6e 73 74 61 6c 6c 65 64 22 | been installed"| 00000050 29 0d 00 1e 33 de 20 61 20 32 35 35 2c 20 62 20 |)...3. a 255, b | 00000060 32 35 35 3a 6f 75 74 20 3d 20 a3 3a 63 20 3d 20 |255:out = .:c = | 00000070 32 35 35 3a 24 61 20 3d 20 22 46 6f 6e 74 24 50 |255:$a = "Font$P| 00000080 61 74 68 22 0d 00 28 2b c8 99 20 22 4f 53 5f 45 |ath"..(+.. "OS_E| 00000090 76 61 6c 75 61 74 65 45 78 70 72 65 73 73 69 6f |valuateExpressio| 000000a0 6e 22 2c 20 61 2c 62 2c 63 20 b8 20 2c 2c 63 0d |n", a,b,c . ,,c.| 000000b0 00 32 16 62 3f 63 3d 31 33 3a 6a 20 3d 20 30 3a |.2.b?c=13:j = 0:| 000000c0 3f 61 3d 31 33 0d 00 3c 21 f5 3a 69 20 3d 20 a7 |?a=13..<!.:i = .| 000000d0 24 62 2c 20 22 2c 22 2c 20 6a 29 3a e7 20 69 20 |$b, ",", j):. i | 000000e0 3c 3e 20 30 20 8c 0d 00 46 21 24 61 20 3d 20 c1 |<> 0 ...F!$a = .| 000000f0 24 62 2c 20 6a 2c 20 69 2d 6a 2d 32 29 3a 20 6a |$b, j, i-j-2): j| 00000100 20 3d 20 69 2b 31 3a 0d 00 50 24 c8 95 20 c0 24 | = i+1:..P$.. .$| 00000110 61 2c 31 29 3d 22 20 22 3a 20 24 61 3d c2 24 61 |a,1)=" ": $a=.$a| 00000120 2c a9 28 24 61 29 2d 31 29 3a ce 0d 00 5a 2b e7 |,.($a)-1):...Z+.| 00000130 20 a7 24 61 2c 20 22 52 65 73 6f 75 72 63 65 73 | .$a, "Resources| 00000140 22 29 3d 30 20 80 20 24 61 3c 3e 20 22 22 20 6f |")=0 . $a<> "" o| 00000150 75 74 20 3d 20 b9 0d 00 64 05 cd 0d 00 6e 10 fd |ut = ...d....n..| 00000160 20 6f 75 74 20 84 20 69 3d 20 30 0d 00 78 0d e7 | out . i= 0..x..| 00000170 20 ac 20 6f 75 74 20 8c 0d 00 82 6a 24 61 20 3d | . out ....j$a =| 00000180 20 c1 24 62 2c 20 6a 2c 20 63 2d 6a 2d 31 29 3a | .$b, j, c-j-1):| 00000190 6b 20 3d 20 a7 24 61 2c 20 22 52 65 73 6f 75 72 |k = .$a, "Resour| 000001a0 63 65 73 22 29 3a e7 20 a7 24 61 2c 20 22 52 65 |ces"):. .$a, "Re| 000001b0 73 6f 75 72 63 65 73 22 29 3d 30 20 80 20 a7 24 |sources")=0 . .$| 000001c0 61 2c 20 22 41 72 74 46 6f 6e 74 73 22 29 3d 30 |a, "ArtFonts")=0| 000001d0 20 80 20 24 61 3c 3e 20 22 22 20 6f 75 74 20 3d | . $a<> "" out =| 000001e0 20 b9 0d 00 8c 05 cd 0d 00 96 0b e7 20 6f 75 74 | ........... out| 000001f0 20 8c 0d 00 a0 15 c8 99 20 22 48 6f 75 72 67 6c | ....... "Hourgl| 00000200 61 73 73 5f 4f 6e 22 0d 00 aa 2c ff 28 22 43 6f |ass_On"...,.("Co| 00000210 70 79 20 3c 4f 62 65 79 24 44 69 72 3e 2e 46 6f |py <Obey$Dir>.Fo| 00000220 6e 74 73 20 22 2b 24 61 2b 22 20 7e 43 7e 56 52 |nts "+$a+" ~C~VR| 00000230 46 22 29 0d 00 b4 25 ff 28 22 57 69 70 65 20 3c |F")...%.("Wipe <| 00000240 4f 62 65 79 24 44 69 72 3e 2e 46 6f 6e 74 73 20 |Obey$Dir>.Fonts | 00000250 7e 43 7e 56 52 46 22 29 0d 00 be 16 c8 99 20 22 |~C~VRF")...... "| 00000260 48 6f 75 72 67 6c 61 73 73 5f 4f 66 66 22 0d 00 |Hourglass_Off"..| 00000270 c8 5c ff 28 22 45 52 52 4f 52 20 59 6f 75 72 20 |.\.("ERROR Your | 00000280 45 46 46 20 44 65 6d 6f 20 46 6f 6e 74 20 68 61 |EFF Demo Font ha| 00000290 73 20 62 65 65 6e 20 63 6f 70 69 65 64 20 74 6f |s been copied to| 000002a0 20 22 2b 24 61 2b 22 20 20 50 6c 65 61 73 65 20 | "+$a+" Please | 000002b0 70 72 65 73 73 20 43 61 6e 63 65 6c 20 74 6f 20 |press Cancel to | 000002c0 63 6f 6e 74 69 6e 75 65 22 29 0d 00 d2 05 cc 0d |continue")......| 000002d0 00 dc a6 ff 28 22 45 72 72 6f 72 20 46 6f 6e 74 |....("Error Font| 000002e0 73 20 64 69 72 65 63 74 6f 72 79 20 63 61 6e 6e |s directory cann| 000002f0 6f 74 20 62 65 20 66 6f 75 6e 64 2e 20 4c 6f 63 |ot be found. Loc| 00000300 61 74 65 20 21 46 6f 6e 74 73 20 64 69 72 65 63 |ate !Fonts direc| 00000310 74 6f 72 79 20 6f 6e 20 79 6f 75 72 20 64 69 73 |tory on your dis| 00000320 63 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 |c. If you do not| 00000330 20 68 61 76 65 20 21 46 6f 6e 74 73 20 64 69 72 | have !Fonts dir| 00000340 65 63 74 6f 72 79 20 79 6f 75 20 6e 65 65 64 20 |ectory you need | 00000350 61 20 46 6f 6e 74 20 4d 61 6e 61 67 65 72 20 76 |a Font Manager v| 00000360 65 72 73 69 6f 6e 20 32 2e 30 20 6f 72 20 6c 61 |ersion 2.0 or la| 00000370 74 65 72 22 29 0d 00 e6 05 cd 0d 00 f0 04 0d 00 |ter")...........| 00000380 fa 04 0d ff |....| 00000384