Home » Archimedes archive » Acorn User » AU 1993-09.adf » !EFF_EFF » !DemoFont/!RunImage
!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 » Acorn User » AU 1993-09.adf » !EFF_EFF |
Filename: | !DemoFont/!RunImage |
Read OK: | ✔ |
File size: | 0376 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM > !RunImage 20ON ERROR OSCLI("ERROR Your EFF demo Font is 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 2� � �("ERROR Your EFF demo Font is 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 32 ee 20 85 20 ff 28 22 45 52 52 4f |e...2. . .("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 69 73 20 69 6e 73 74 61 6c 6c 65 |Font is installe| 00000040 64 22 29 0d 00 1e 33 de 20 61 20 32 35 35 2c 20 |d")...3. a 255, | 00000050 62 20 32 35 35 3a 6f 75 74 20 3d 20 a3 3a 63 20 |b 255:out = .:c | 00000060 3d 20 32 35 35 3a 24 61 20 3d 20 22 46 6f 6e 74 |= 255:$a = "Font| 00000070 24 50 61 74 68 22 0d 00 28 2b c8 99 20 22 4f 53 |$Path"..(+.. "OS| 00000080 5f 45 76 61 6c 75 61 74 65 45 78 70 72 65 73 73 |_EvaluateExpress| 00000090 69 6f 6e 22 2c 20 61 2c 62 2c 63 20 b8 20 2c 2c |ion", a,b,c . ,,| 000000a0 63 0d 00 32 16 62 3f 63 3d 31 33 3a 6a 20 3d 20 |c..2.b?c=13:j = | 000000b0 30 3a 3f 61 3d 31 33 0d 00 3c 21 f5 3a 69 20 3d |0:?a=13..<!.:i =| 000000c0 20 a7 24 62 2c 20 22 2c 22 2c 20 6a 29 3a e7 20 | .$b, ",", j):. | 000000d0 69 20 3c 3e 20 30 20 8c 0d 00 46 21 24 61 20 3d |i <> 0 ...F!$a =| 000000e0 20 c1 24 62 2c 20 6a 2c 20 69 2d 6a 2d 32 29 3a | .$b, j, i-j-2):| 000000f0 20 6a 20 3d 20 69 2b 31 3a 0d 00 50 24 c8 95 20 | j = i+1:..P$.. | 00000100 c0 24 61 2c 31 29 3d 22 20 22 3a 20 24 61 3d c2 |.$a,1)=" ": $a=.| 00000110 24 61 2c a9 28 24 61 29 2d 31 29 3a ce 0d 00 5a |$a,.($a)-1):...Z| 00000120 2b e7 20 a7 24 61 2c 20 22 52 65 73 6f 75 72 63 |+. .$a, "Resourc| 00000130 65 73 22 29 3d 30 20 80 20 24 61 3c 3e 20 22 22 |es")=0 . $a<> ""| 00000140 20 6f 75 74 20 3d 20 b9 0d 00 64 05 cd 0d 00 6e | out = ...d....n| 00000150 10 fd 20 6f 75 74 20 84 20 69 3d 20 30 0d 00 78 |.. out . i= 0..x| 00000160 0d e7 20 ac 20 6f 75 74 20 8c 0d 00 82 6a 24 61 |.. . out ....j$a| 00000170 20 3d 20 c1 24 62 2c 20 6a 2c 20 63 2d 6a 2d 31 | = .$b, j, c-j-1| 00000180 29 3a 6b 20 3d 20 a7 24 61 2c 20 22 52 65 73 6f |):k = .$a, "Reso| 00000190 75 72 63 65 73 22 29 3a e7 20 a7 24 61 2c 20 22 |urces"):. .$a, "| 000001a0 52 65 73 6f 75 72 63 65 73 22 29 3d 30 20 80 20 |Resources")=0 . | 000001b0 a7 24 61 2c 20 22 41 72 74 46 6f 6e 74 73 22 29 |.$a, "ArtFonts")| 000001c0 3d 30 20 80 20 24 61 3c 3e 20 22 22 20 6f 75 74 |=0 . $a<> "" out| 000001d0 20 3d 20 b9 0d 00 8c 05 cd 0d 00 96 0b e7 20 6f | = ........... o| 000001e0 75 74 20 8c 0d 00 a0 15 c8 99 20 22 48 6f 75 72 |ut ....... "Hour| 000001f0 67 6c 61 73 73 5f 4f 6e 22 0d 00 aa 2c ff 28 22 |glass_On"...,.("| 00000200 43 6f 70 79 20 3c 4f 62 65 79 24 44 69 72 3e 2e |Copy <Obey$Dir>.| 00000210 46 6f 6e 74 73 20 22 2b 24 61 2b 22 20 7e 43 7e |Fonts "+$a+" ~C~| 00000220 56 52 46 22 29 0d 00 b4 25 ff 28 22 57 69 70 65 |VRF")...%.("Wipe| 00000230 20 3c 4f 62 65 79 24 44 69 72 3e 2e 46 6f 6e 74 | <Obey$Dir>.Font| 00000240 73 20 7e 43 7e 56 52 46 22 29 0d 00 be 16 c8 99 |s ~C~VRF")......| 00000250 20 22 48 6f 75 72 67 6c 61 73 73 5f 4f 66 66 22 | "Hourglass_Off"| 00000260 0d 00 c8 5c ff 28 22 45 52 52 4f 52 20 59 6f 75 |...\.("ERROR You| 00000270 72 20 45 46 46 20 44 65 6d 6f 20 46 6f 6e 74 20 |r EFF Demo Font | 00000280 68 61 73 20 62 65 65 6e 20 63 6f 70 69 65 64 20 |has been copied | 00000290 74 6f 20 22 2b 24 61 2b 22 20 20 50 6c 65 61 73 |to "+$a+" Pleas| 000002a0 65 20 70 72 65 73 73 20 43 61 6e 63 65 6c 20 74 |e press Cancel t| 000002b0 6f 20 63 6f 6e 74 69 6e 75 65 22 29 0d 00 d2 05 |o continue")....| 000002c0 cc 0d 00 dc a6 ff 28 22 45 72 72 6f 72 20 46 6f |......("Error Fo| 000002d0 6e 74 73 20 64 69 72 65 63 74 6f 72 79 20 63 61 |nts directory ca| 000002e0 6e 6e 6f 74 20 62 65 20 66 6f 75 6e 64 2e 20 4c |nnot be found. L| 000002f0 6f 63 61 74 65 20 21 46 6f 6e 74 73 20 64 69 72 |ocate !Fonts dir| 00000300 65 63 74 6f 72 79 20 6f 6e 20 79 6f 75 72 20 64 |ectory on your d| 00000310 69 73 63 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e |isc. If you do n| 00000320 6f 74 20 68 61 76 65 20 21 46 6f 6e 74 73 20 64 |ot have !Fonts d| 00000330 69 72 65 63 74 6f 72 79 20 79 6f 75 20 6e 65 65 |irectory you nee| 00000340 64 20 61 20 46 6f 6e 74 20 4d 61 6e 61 67 65 72 |d a Font Manager| 00000350 20 76 65 72 73 69 6f 6e 20 32 2e 30 20 6f 72 20 | version 2.0 or | 00000360 6c 61 74 65 72 22 29 0d 00 e6 05 cd 0d 00 f0 04 |later").........| 00000370 0d 00 fa 04 0d ff |......| 00000376