Home » Archimedes archive » Acorn User » AU 1997-06 B.adf » Extras » RiscUtils/!RuInstall/Install/Non_User/Crandom
RiscUtils/!RuInstall/Install/Non_User/Crandom
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/Install/Non_User/Crandom |
Read OK: | ✔ |
File size: | 01D1 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
1ON ERROR r$="<RISCutils$Path>.!Help.!Run ":IF ERR=223 PROClast ELSE IF ERR=222 OSCLI r$+"R Pres?":END ELSE OSCLI r$+"R "+REPORT$+" at line "+STR$(ERL):END 2path%=OPENUP "<RISCutils$Path>.User_Area.Files.Commands":N=1:DIM C$(250):FOR A=1 TO 250:C$(N)=GET$#path%:IF C$(N)="" NEXT A 3D=0:REPEAT:D+=1:UNTIL MID$(C$(N),D,1)<>" " OR D=LEN C$(N) 4IF MID$(C$(N),D,1)<>" " N+=1 5NEXT A 6DEF PROClast:N-=1:CLOSE#path%:r=LEN STR$(N):IF r=1 A$=RIGHT$(TIME$):IF A$="0" A$="1" 7IF r=2 A$=MID$(TIME$,23,2) 8IF r=3 A$=MID$(TIME$,21,1)+MID$(TIME$,23,2) 9r=VAL A$:IF r>N REPEAT:r-=N:UNTIL r<=N 10OSCLI C$(r)
t� � r$="<RISCutils$Path>.!Help.!Run ":� �=223 �last � � �=222 � r$+"R Pres?":� � � r$+"R "+�$+" at line "+�(�):� npath%=� "<RISCutils$Path>.User_Area.Files.Commands":N=1:� C$(250):� A=1 � 250:C$(N)=�#path%:� C$(N)="" � A -D=0:�:D+=1:� �C$(N),D,1)<>" " � D=� C$(N) � �C$(N),D,1)<>" " N+=1 � A ?� �last:N-=1:�#path%:r=� �(N):� r=1 A$=$):� A$="0" A$="1" � r=2 A$=��$,23,2) � r=3 A$=��$,21,1)+��$,23,2) r=� A$:� r>N �:r-=N:� r<=N � C$(r) �
00000000 0d 00 01 74 ee 20 85 20 72 24 3d 22 3c 52 49 53 |...t. . r$="<RIS| 00000010 43 75 74 69 6c 73 24 50 61 74 68 3e 2e 21 48 65 |Cutils$Path>.!He| 00000020 6c 70 2e 21 52 75 6e 20 22 3a e7 20 9f 3d 32 32 |lp.!Run ":. .=22| 00000030 33 20 f2 6c 61 73 74 20 8b 20 e7 20 9f 3d 32 32 |3 .last . . .=22| 00000040 32 20 ff 20 72 24 2b 22 52 20 50 72 65 73 3f 22 |2 . r$+"R Pres?"| 00000050 3a e0 20 8b 20 ff 20 72 24 2b 22 52 20 22 2b f6 |:. . . r$+"R "+.| 00000060 24 2b 22 20 61 74 20 6c 69 6e 65 20 22 2b c3 28 |$+" at line "+.(| 00000070 9e 29 3a e0 0d 00 02 6e 70 61 74 68 25 3d ad 20 |.):....npath%=. | 00000080 22 3c 52 49 53 43 75 74 69 6c 73 24 50 61 74 68 |"<RISCutils$Path| 00000090 3e 2e 55 73 65 72 5f 41 72 65 61 2e 46 69 6c 65 |>.User_Area.File| 000000a0 73 2e 43 6f 6d 6d 61 6e 64 73 22 3a 4e 3d 31 3a |s.Commands":N=1:| 000000b0 de 20 43 24 28 32 35 30 29 3a e3 20 41 3d 31 20 |. C$(250):. A=1 | 000000c0 b8 20 32 35 30 3a 43 24 28 4e 29 3d be 23 70 61 |. 250:C$(N)=.#pa| 000000d0 74 68 25 3a e7 20 43 24 28 4e 29 3d 22 22 20 ed |th%:. C$(N)="" .| 000000e0 20 41 0d 00 03 2d 44 3d 30 3a f5 3a 44 2b 3d 31 | A...-D=0:.:D+=1| 000000f0 3a fd 20 c1 43 24 28 4e 29 2c 44 2c 31 29 3c 3e |:. .C$(N),D,1)<>| 00000100 22 20 22 20 84 20 44 3d a9 20 43 24 28 4e 29 0d |" " . D=. C$(N).| 00000110 00 04 1b e7 20 c1 43 24 28 4e 29 2c 44 2c 31 29 |.... .C$(N),D,1)| 00000120 3c 3e 22 20 22 20 4e 2b 3d 31 0d 00 05 07 ed 20 |<>" " N+=1..... | 00000130 41 0d 00 06 3f dd 20 f2 6c 61 73 74 3a 4e 2d 3d |A...?. .last:N-=| 00000140 31 3a d9 23 70 61 74 68 25 3a 72 3d a9 20 c3 28 |1:.#path%:r=. .(| 00000150 4e 29 3a e7 20 72 3d 31 20 41 24 3d c2 91 24 29 |N):. r=1 A$=..$)| 00000160 3a e7 20 41 24 3d 22 30 22 20 41 24 3d 22 31 22 |:. A$="0" A$="1"| 00000170 0d 00 07 16 e7 20 72 3d 32 20 41 24 3d c1 91 24 |..... r=2 A$=..$| 00000180 2c 32 33 2c 32 29 0d 00 08 20 e7 20 72 3d 33 20 |,23,2)... . r=3 | 00000190 41 24 3d c1 91 24 2c 32 31 2c 31 29 2b c1 91 24 |A$=..$,21,1)+..$| 000001a0 2c 32 33 2c 32 29 0d 00 09 1e 72 3d bb 20 41 24 |,23,2)....r=. A$| 000001b0 3a e7 20 72 3e 4e 20 f5 3a 72 2d 3d 4e 3a fd 20 |:. r>N .:r-=N:. | 000001c0 72 3c 3d 4e 0d 00 0a 0b ff 20 43 24 28 72 29 0d |r<=N..... C$(r).| 000001d0 ff |.| 000001d1