Home » Archimedes archive » Acorn User » AU 1997-06 B.adf » Extras » RiscUtils/!RuInstall/!Run

RiscUtils/!RuInstall/!Run

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 » Extras
Filename: RiscUtils/!RuInstall/!Run
Read OK:
File size: 06DA bytes
Load address: 0000
Exec address: 0000
File contents
    1REM RuInstall Ver. 1.01 9/1/97
    2ON ERROR PRINT REPORT$ ERL ERR:END
    3SYS"OS_ReadModeVariable",-1,4TO,,Z%
    4SYS"OS_ReadModeVariable",-1,11TO,,x%:screenx%=(x%<<Z%):x%=screenx%/2+1
    5SYS"OS_ReadModeVariable",-1,5TO,,Z%
    6SYS"OS_ReadModeVariable",-1,12TO,,y%:screeny%=(y%<<Z%):y%=screeny%/2+1
    7E=0.1245*x%/100
    8D=0.16666*y%/100
    9*Set RUD 0
   10OSCLI "RMEnsure DrawFile 1.30 Set RUD 1"
   11OSCLI "RMEnsure DrawFile 1.30 Run <RuInstall$Path>.Install.Non_User.DrawFile"
   12*Remove <RuInstall$Path>.Install.Non_User.DrawFile
   13OSCLI "Render <RuInstall$Path>.Install.Non_User.Banner "+STR$(E)+" 0 0 "+STR$(D)+" 0 0 -flatness .5"
   14*Remove <RuInstall$Path>.Install.Non_User.Banner
   15DIM name$(200)
   16ON ERROR P$=MID$(REPORT$,12,INSTR(REPORT$,"' not recognised")-21):PROCMAIN
   17*RENAME <RuInstall$Path> <RuInstall$Path>.
   18END
   19DEF PROCMAIN
   20ON ERROR REPORT:PRINT ERL:END
   21*Set RuInstall$PATH <Obey$Dir>
   22*Remove <RuInstall$Path>.!Boot
   23*Remove <RuInstall$Path>.!Sprites
   24*Remove <RuInstall$Path>.!Sprites22
   25*Remove <RuInstall$Path>.!Run
   26*Remove <RuInstall$Path>.!Help
   27*Rename <RuInstall$Path>.Install.!Boot <RuInstall$Path>.!Boot
   28*Rename <RuInstall$Path>.Install.!Help <RuInstall$Path>.!Help
   29*Rename <RuInstall$Path>.Install.!Run <RuInstall$Path>.!Run
   30*Rename <RuInstall$Path>.Install.!Sprites <RuInstall$Path>.!Sprites
   31*Rename <RuInstall$Path>.Install.!Sprites22 <RuInstall$Path>.!Sprites22
   32*Rename <RuInstall$Path>.Install.Non_User <RuInstall$Path>.Non_User
   33*Rename <RuInstall$Path>.Install.User_Area <RuInstall$Path>.User_Area
   34*Remove <RuInstall$Path>.Install
   35OSCLI "RENAME "+P$+"uInstall "+P$+"ISCutils"
   36OSCLI "FILER_RUN "+P$+"ISCutils.!Run"
   37*iconsprites <Obey$Dir>.!Sprites
   38REM *Unset RuInstall$path
   39REPEAT:MOUSE X,O,I:SYS&6,121,0 TO,K:UNTIL I>0 OR K<>255
   40MODE MODE:*DES.
   41*IF RUD=1 THEN RmKill DrawFile
   42END
 � RuInstall Ver. 1.01 9/1/97
� � � �$ � �:�
%ș"OS_ReadModeVariable",-1,4�,,Z%
Hș"OS_ReadModeVariable",-1,11�,,x%:screenx%=(x%<<Z%):x%=screenx%/2+1
%ș"OS_ReadModeVariable",-1,5�,,Z%
Hș"OS_ReadModeVariable",-1,12�,,y%:screeny%=(y%<<Z%):y%=screeny%/2+1
E=0.1245*x%/100
D=0.16666*y%/100
	*Set RUD 0

(� "RMEnsure DrawFile 1.30 Set RUD 1"
M� "RMEnsure DrawFile 1.30 Run <RuInstall$Path>.Install.Non_User.DrawFile"
6*Remove <RuInstall$Path>.Install.Non_User.DrawFile

^� "Render <RuInstall$Path>.Install.Non_User.Banner "+�(E)+" 0 0 "+�(D)+" 0 0 -flatness .5"
4*Remove <RuInstall$Path>.Install.Non_User.Banner
� name$(200)
3� � P$=��$,12,��$,"' not recognised")-21):�MAIN
.*RENAME <RuInstall$Path> <RuInstall$Path>.
�
� �MAIN
� � �:� �:�
"*Set RuInstall$PATH <Obey$Dir>
"*Remove <RuInstall$Path>.!Boot
%*Remove <RuInstall$Path>.!Sprites
'*Remove <RuInstall$Path>.!Sprites22
!*Remove <RuInstall$Path>.!Run
"*Remove <RuInstall$Path>.!Help
A*Rename <RuInstall$Path>.Install.!Boot <RuInstall$Path>.!Boot
A*Rename <RuInstall$Path>.Install.!Help <RuInstall$Path>.!Help
?*Rename <RuInstall$Path>.Install.!Run <RuInstall$Path>.!Run
G*Rename <RuInstall$Path>.Install.!Sprites <RuInstall$Path>.!Sprites
K*Rename <RuInstall$Path>.Install.!Sprites22 <RuInstall$Path>.!Sprites22
 G*Rename <RuInstall$Path>.Install.Non_User <RuInstall$Path>.Non_User
!I*Rename <RuInstall$Path>.Install.User_Area <RuInstall$Path>.User_Area
"$*Remove <RuInstall$Path>.Install
#,� "RENAME "+P$+"uInstall "+P$+"ISCutils"
$%� "FILER_RUN "+P$+"ISCutils.!Run"
%$*iconsprites <Obey$Dir>.!Sprites
&� *Unset RuInstall$path
',�:ȗ X,O,I:ș&6,121,0 �,K:� I>0 � K<>255
(
� �:*DES.
)"*IF RUD=1 THEN RmKill DrawFile
*�
�
00000000  0d 00 01 20 f4 20 52 75  49 6e 73 74 61 6c 6c 20  |... . RuInstall |
00000010  56 65 72 2e 20 31 2e 30  31 20 39 2f 31 2f 39 37  |Ver. 1.01 9/1/97|
00000020  0d 00 02 12 ee 20 85 20  f1 20 f6 24 20 9e 20 9f  |..... . . .$ . .|
00000030  3a e0 0d 00 03 25 c8 99  22 4f 53 5f 52 65 61 64  |:....%.."OS_Read|
00000040  4d 6f 64 65 56 61 72 69  61 62 6c 65 22 2c 2d 31  |ModeVariable",-1|
00000050  2c 34 b8 2c 2c 5a 25 0d  00 04 48 c8 99 22 4f 53  |,4.,,Z%...H.."OS|
00000060  5f 52 65 61 64 4d 6f 64  65 56 61 72 69 61 62 6c  |_ReadModeVariabl|
00000070  65 22 2c 2d 31 2c 31 31  b8 2c 2c 78 25 3a 73 63  |e",-1,11.,,x%:sc|
00000080  72 65 65 6e 78 25 3d 28  78 25 3c 3c 5a 25 29 3a  |reenx%=(x%<<Z%):|
00000090  78 25 3d 73 63 72 65 65  6e 78 25 2f 32 2b 31 0d  |x%=screenx%/2+1.|
000000a0  00 05 25 c8 99 22 4f 53  5f 52 65 61 64 4d 6f 64  |..%.."OS_ReadMod|
000000b0  65 56 61 72 69 61 62 6c  65 22 2c 2d 31 2c 35 b8  |eVariable",-1,5.|
000000c0  2c 2c 5a 25 0d 00 06 48  c8 99 22 4f 53 5f 52 65  |,,Z%...H.."OS_Re|
000000d0  61 64 4d 6f 64 65 56 61  72 69 61 62 6c 65 22 2c  |adModeVariable",|
000000e0  2d 31 2c 31 32 b8 2c 2c  79 25 3a 73 63 72 65 65  |-1,12.,,y%:scree|
000000f0  6e 79 25 3d 28 79 25 3c  3c 5a 25 29 3a 79 25 3d  |ny%=(y%<<Z%):y%=|
00000100  73 63 72 65 65 6e 79 25  2f 32 2b 31 0d 00 07 13  |screeny%/2+1....|
00000110  45 3d 30 2e 31 32 34 35  2a 78 25 2f 31 30 30 0d  |E=0.1245*x%/100.|
00000120  00 08 14 44 3d 30 2e 31  36 36 36 36 2a 79 25 2f  |...D=0.16666*y%/|
00000130  31 30 30 0d 00 09 0e 2a  53 65 74 20 52 55 44 20  |100....*Set RUD |
00000140  30 0d 00 0a 28 ff 20 22  52 4d 45 6e 73 75 72 65  |0...(. "RMEnsure|
00000150  20 44 72 61 77 46 69 6c  65 20 31 2e 33 30 20 53  | DrawFile 1.30 S|
00000160  65 74 20 52 55 44 20 31  22 0d 00 0b 4d ff 20 22  |et RUD 1"...M. "|
00000170  52 4d 45 6e 73 75 72 65  20 44 72 61 77 46 69 6c  |RMEnsure DrawFil|
00000180  65 20 31 2e 33 30 20 52  75 6e 20 3c 52 75 49 6e  |e 1.30 Run <RuIn|
00000190  73 74 61 6c 6c 24 50 61  74 68 3e 2e 49 6e 73 74  |stall$Path>.Inst|
000001a0  61 6c 6c 2e 4e 6f 6e 5f  55 73 65 72 2e 44 72 61  |all.Non_User.Dra|
000001b0  77 46 69 6c 65 22 0d 00  0c 36 2a 52 65 6d 6f 76  |wFile"...6*Remov|
000001c0  65 20 3c 52 75 49 6e 73  74 61 6c 6c 24 50 61 74  |e <RuInstall$Pat|
000001d0  68 3e 2e 49 6e 73 74 61  6c 6c 2e 4e 6f 6e 5f 55  |h>.Install.Non_U|
000001e0  73 65 72 2e 44 72 61 77  46 69 6c 65 0d 00 0d 5e  |ser.DrawFile...^|
000001f0  ff 20 22 52 65 6e 64 65  72 20 3c 52 75 49 6e 73  |. "Render <RuIns|
00000200  74 61 6c 6c 24 50 61 74  68 3e 2e 49 6e 73 74 61  |tall$Path>.Insta|
00000210  6c 6c 2e 4e 6f 6e 5f 55  73 65 72 2e 42 61 6e 6e  |ll.Non_User.Bann|
00000220  65 72 20 22 2b c3 28 45  29 2b 22 20 30 20 30 20  |er "+.(E)+" 0 0 |
00000230  22 2b c3 28 44 29 2b 22  20 30 20 30 20 2d 66 6c  |"+.(D)+" 0 0 -fl|
00000240  61 74 6e 65 73 73 20 2e  35 22 0d 00 0e 34 2a 52  |atness .5"...4*R|
00000250  65 6d 6f 76 65 20 3c 52  75 49 6e 73 74 61 6c 6c  |emove <RuInstall|
00000260  24 50 61 74 68 3e 2e 49  6e 73 74 61 6c 6c 2e 4e  |$Path>.Install.N|
00000270  6f 6e 5f 55 73 65 72 2e  42 61 6e 6e 65 72 0d 00  |on_User.Banner..|
00000280  0f 10 de 20 6e 61 6d 65  24 28 32 30 30 29 0d 00  |... name$(200)..|
00000290  10 33 ee 20 85 20 50 24  3d c1 f6 24 2c 31 32 2c  |.3. . P$=..$,12,|
000002a0  a7 f6 24 2c 22 27 20 6e  6f 74 20 72 65 63 6f 67  |..$,"' not recog|
000002b0  6e 69 73 65 64 22 29 2d  32 31 29 3a f2 4d 41 49  |nised")-21):.MAI|
000002c0  4e 0d 00 11 2e 2a 52 45  4e 41 4d 45 20 3c 52 75  |N....*RENAME <Ru|
000002d0  49 6e 73 74 61 6c 6c 24  50 61 74 68 3e 20 3c 52  |Install$Path> <R|
000002e0  75 49 6e 73 74 61 6c 6c  24 50 61 74 68 3e 2e 0d  |uInstall$Path>..|
000002f0  00 12 05 e0 0d 00 13 0b  dd 20 f2 4d 41 49 4e 0d  |......... .MAIN.|
00000300  00 14 0f ee 20 85 20 f6  3a f1 20 9e 3a e0 0d 00  |.... . .:. .:...|
00000310  15 22 2a 53 65 74 20 52  75 49 6e 73 74 61 6c 6c  |."*Set RuInstall|
00000320  24 50 41 54 48 20 3c 4f  62 65 79 24 44 69 72 3e  |$PATH <Obey$Dir>|
00000330  0d 00 16 22 2a 52 65 6d  6f 76 65 20 3c 52 75 49  |..."*Remove <RuI|
00000340  6e 73 74 61 6c 6c 24 50  61 74 68 3e 2e 21 42 6f  |nstall$Path>.!Bo|
00000350  6f 74 0d 00 17 25 2a 52  65 6d 6f 76 65 20 3c 52  |ot...%*Remove <R|
00000360  75 49 6e 73 74 61 6c 6c  24 50 61 74 68 3e 2e 21  |uInstall$Path>.!|
00000370  53 70 72 69 74 65 73 0d  00 18 27 2a 52 65 6d 6f  |Sprites...'*Remo|
00000380  76 65 20 3c 52 75 49 6e  73 74 61 6c 6c 24 50 61  |ve <RuInstall$Pa|
00000390  74 68 3e 2e 21 53 70 72  69 74 65 73 32 32 0d 00  |th>.!Sprites22..|
000003a0  19 21 2a 52 65 6d 6f 76  65 20 3c 52 75 49 6e 73  |.!*Remove <RuIns|
000003b0  74 61 6c 6c 24 50 61 74  68 3e 2e 21 52 75 6e 0d  |tall$Path>.!Run.|
000003c0  00 1a 22 2a 52 65 6d 6f  76 65 20 3c 52 75 49 6e  |.."*Remove <RuIn|
000003d0  73 74 61 6c 6c 24 50 61  74 68 3e 2e 21 48 65 6c  |stall$Path>.!Hel|
000003e0  70 0d 00 1b 41 2a 52 65  6e 61 6d 65 20 3c 52 75  |p...A*Rename <Ru|
000003f0  49 6e 73 74 61 6c 6c 24  50 61 74 68 3e 2e 49 6e  |Install$Path>.In|
00000400  73 74 61 6c 6c 2e 21 42  6f 6f 74 20 3c 52 75 49  |stall.!Boot <RuI|
00000410  6e 73 74 61 6c 6c 24 50  61 74 68 3e 2e 21 42 6f  |nstall$Path>.!Bo|
00000420  6f 74 0d 00 1c 41 2a 52  65 6e 61 6d 65 20 3c 52  |ot...A*Rename <R|
00000430  75 49 6e 73 74 61 6c 6c  24 50 61 74 68 3e 2e 49  |uInstall$Path>.I|
00000440  6e 73 74 61 6c 6c 2e 21  48 65 6c 70 20 3c 52 75  |nstall.!Help <Ru|
00000450  49 6e 73 74 61 6c 6c 24  50 61 74 68 3e 2e 21 48  |Install$Path>.!H|
00000460  65 6c 70 0d 00 1d 3f 2a  52 65 6e 61 6d 65 20 3c  |elp...?*Rename <|
00000470  52 75 49 6e 73 74 61 6c  6c 24 50 61 74 68 3e 2e  |RuInstall$Path>.|
00000480  49 6e 73 74 61 6c 6c 2e  21 52 75 6e 20 3c 52 75  |Install.!Run <Ru|
00000490  49 6e 73 74 61 6c 6c 24  50 61 74 68 3e 2e 21 52  |Install$Path>.!R|
000004a0  75 6e 0d 00 1e 47 2a 52  65 6e 61 6d 65 20 3c 52  |un...G*Rename <R|
000004b0  75 49 6e 73 74 61 6c 6c  24 50 61 74 68 3e 2e 49  |uInstall$Path>.I|
000004c0  6e 73 74 61 6c 6c 2e 21  53 70 72 69 74 65 73 20  |nstall.!Sprites |
000004d0  3c 52 75 49 6e 73 74 61  6c 6c 24 50 61 74 68 3e  |<RuInstall$Path>|
000004e0  2e 21 53 70 72 69 74 65  73 0d 00 1f 4b 2a 52 65  |.!Sprites...K*Re|
000004f0  6e 61 6d 65 20 3c 52 75  49 6e 73 74 61 6c 6c 24  |name <RuInstall$|
00000500  50 61 74 68 3e 2e 49 6e  73 74 61 6c 6c 2e 21 53  |Path>.Install.!S|
00000510  70 72 69 74 65 73 32 32  20 3c 52 75 49 6e 73 74  |prites22 <RuInst|
00000520  61 6c 6c 24 50 61 74 68  3e 2e 21 53 70 72 69 74  |all$Path>.!Sprit|
00000530  65 73 32 32 0d 00 20 47  2a 52 65 6e 61 6d 65 20  |es22.. G*Rename |
00000540  3c 52 75 49 6e 73 74 61  6c 6c 24 50 61 74 68 3e  |<RuInstall$Path>|
00000550  2e 49 6e 73 74 61 6c 6c  2e 4e 6f 6e 5f 55 73 65  |.Install.Non_Use|
00000560  72 20 3c 52 75 49 6e 73  74 61 6c 6c 24 50 61 74  |r <RuInstall$Pat|
00000570  68 3e 2e 4e 6f 6e 5f 55  73 65 72 0d 00 21 49 2a  |h>.Non_User..!I*|
00000580  52 65 6e 61 6d 65 20 3c  52 75 49 6e 73 74 61 6c  |Rename <RuInstal|
00000590  6c 24 50 61 74 68 3e 2e  49 6e 73 74 61 6c 6c 2e  |l$Path>.Install.|
000005a0  55 73 65 72 5f 41 72 65  61 20 3c 52 75 49 6e 73  |User_Area <RuIns|
000005b0  74 61 6c 6c 24 50 61 74  68 3e 2e 55 73 65 72 5f  |tall$Path>.User_|
000005c0  41 72 65 61 0d 00 22 24  2a 52 65 6d 6f 76 65 20  |Area.."$*Remove |
000005d0  3c 52 75 49 6e 73 74 61  6c 6c 24 50 61 74 68 3e  |<RuInstall$Path>|
000005e0  2e 49 6e 73 74 61 6c 6c  0d 00 23 2c ff 20 22 52  |.Install..#,. "R|
000005f0  45 4e 41 4d 45 20 22 2b  50 24 2b 22 75 49 6e 73  |ENAME "+P$+"uIns|
00000600  74 61 6c 6c 20 22 2b 50  24 2b 22 49 53 43 75 74  |tall "+P$+"ISCut|
00000610  69 6c 73 22 0d 00 24 25  ff 20 22 46 49 4c 45 52  |ils"..$%. "FILER|
00000620  5f 52 55 4e 20 22 2b 50  24 2b 22 49 53 43 75 74  |_RUN "+P$+"ISCut|
00000630  69 6c 73 2e 21 52 75 6e  22 0d 00 25 24 2a 69 63  |ils.!Run"..%$*ic|
00000640  6f 6e 73 70 72 69 74 65  73 20 3c 4f 62 65 79 24  |onsprites <Obey$|
00000650  44 69 72 3e 2e 21 53 70  72 69 74 65 73 0d 00 26  |Dir>.!Sprites..&|
00000660  1b f4 20 2a 55 6e 73 65  74 20 52 75 49 6e 73 74  |.. *Unset RuInst|
00000670  61 6c 6c 24 70 61 74 68  0d 00 27 2c f5 3a c8 97  |all$path..',.:..|
00000680  20 58 2c 4f 2c 49 3a c8  99 26 36 2c 31 32 31 2c  | X,O,I:..&6,121,|
00000690  30 20 b8 2c 4b 3a fd 20  49 3e 30 20 84 20 4b 3c  |0 .,K:. I>0 . K<|
000006a0  3e 32 35 35 0d 00 28 0d  eb 20 eb 3a 2a 44 45 53  |>255..(.. .:*DES|
000006b0  2e 0d 00 29 22 2a 49 46  20 52 55 44 3d 31 20 54  |...)"*IF RUD=1 T|
000006c0  48 45 4e 20 52 6d 4b 69  6c 6c 20 44 72 61 77 46  |HEN RmKill DrawF|
000006d0  69 6c 65 0d 00 2a 05 e0  0d ff                    |ile..*....|
000006da