Home » Archimedes archive » Acorn User » AU 1997-06 B.adf » Extras » RiscUtils/!RuInstall/Install/!Help/Help/Text/Help/Sel-Comm

RiscUtils/!RuInstall/Install/!Help/Help/Text/Help/Sel-Comm

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/!Help/Help/Text/Help/Sel-Comm
Read OK:
File size: 1149 bytes
Load address: 0000
Exec address: 0000
File contents
Select_Command_Random and Select_Command_Cycle - These are 2 seperate commands, that when issued select a command Randomly / Cycled (1 after the other) from the same user-defined file of commands. Useful for giving different boot sequences every time computer is started-up. E.g. Cycled - 1 time play sound Sample 1, next time play sample 2, next time sample 3, -etc. or Random - 1 time play sound Sample 3, next time play sample 8, next time sample 2 etc.

Using Select_Command :

Both commands will select and execute a line from the user-defined file 
RISCutils.User_Area.Files.Commands. This file can be altered at any time, increased or decreased in size.

� Very important note: If the 'Commands' file is not present in the directory !RISCutils.User_Area.Files, then RISCutils's Select_Command component will not work.
If for some reason it is not present (E.g. you have mistakenly deleted it), a text editor such as !Edit or !Zap can be used to create an 'Obey' file, and this can be saved as a new 'Commands' file, to contain the list of Commands you wish to use. N.B. the file-name spelling 'Commands' must be exact! E.g. 'Command' is not allowed.

So if the user issued the command:

Select_Command_Random

The component / program will randomly pick a line from the 'Commands' file (note some random command selection programs use BASIC's 'random number' feature, and can only select commands randomly when in the Desktop, and not from the Boot sequence. RISCutil's Select_Command component can do both).

So one time if the command 'Select_Command_Random' is issued, line 3 of the 'Commands 'file may be executed.
Another time when the command 'Select_Command_Random' is issued, line 8 of the 'Commands 'file will be executed.
Another time when the command 'Select_Command_Random' is issued, line 5 of the 'Commands 'file will be executed.
And so on...every time the 'Select_Command_Random' command is issued.

- If the command :

Select_Command_Cycle

Is issued, then the component will 'Cycle' through the lines of the 'Commands' file, executing them one after the other each time the 'Select_Command_Cycle' command is issued, starting again at the begining when the last line of the file is reached. 

So one time if the command 'Select_Command_'Cycle is issued, line 1 of the 'Commands 'file may be executed.
Another time when the command 'Select_Command_Cycle' is issued, line 2 of the 'Commands 'file will be executed.
Another time when the command 'Select_Command_Cycle' is issued, line 3 of the 'Commands 'file will be executed.
And so on...every time the 'Select_Command_Cycle' command is issued.

Note : If for instance the 'Commands' file is 5 lines long, once 'Select_Command_Cycle' has executed line 5, the next time 'Select_Command_Cycle' is issued, line 1 will be executed.

Any command can be executed from the 'Commands' file, and if the user wants a number of different commands to be carried out each time the 'Select_Command_' command is issued, all he/she has to do is make the lines in the 'Commands' file run other files with the extra commands in.

These commands are very useful for giving alternate Boot sequences, that do something different each time the computer is started up. E.g. if a user has 5 sound samples, and he likes to play one every time the computer is booted up, playing the same one all the time is boring, but manually changing the boot sequence to play a different one each time is a hassle. What the user could do is arrange his boot sequence, so that RISCutils is run, then his sample playing module is loaded, and then either the 'Select_Command_Cycle' or 'Select_Command_Random' command could be issued, with the 'Commands' file containing 5 lines, each of which instructs the Module to play a different sound sample.
The result being, that each time the computer is booted up, a different sample is played. Which is better than the boredom of always playing the same one, but does't have the hassle of manually changing the boot sequence to play a different one each time it is booted up.

To activate the 'Select_Command_Random' and 'Select_Command_Cycle' commands simply run 'RISCutils', with the 'Select_Command_Random' and 'Select_Command_Cycle' options in RISCutil's !Run file set to 'Y'. To de-activate them run the file RISCutils.User_Area.Files.Remove, and run 'RISCutils', with the 'Select_Command_Random' and 'Select_Command_Cycle' options set to 'N.'
00000000  0a 53 65 6c 65 63 74 5f  43 6f 6d 6d 61 6e 64 5f  |.Select_Command_|
00000010  52 61 6e 64 6f 6d 20 61  6e 64 20 53 65 6c 65 63  |Random and Selec|
00000020  74 5f 43 6f 6d 6d 61 6e  64 5f 43 79 63 6c 65 20  |t_Command_Cycle |
00000030  2d 20 54 68 65 73 65 20  61 72 65 20 32 20 73 65  |- These are 2 se|
00000040  70 65 72 61 74 65 20 63  6f 6d 6d 61 6e 64 73 2c  |perate commands,|
00000050  20 74 68 61 74 20 77 68  65 6e 20 69 73 73 75 65  | that when issue|
00000060  64 20 73 65 6c 65 63 74  20 61 20 63 6f 6d 6d 61  |d select a comma|
00000070  6e 64 20 52 61 6e 64 6f  6d 6c 79 20 2f 20 43 79  |nd Randomly / Cy|
00000080  63 6c 65 64 20 28 31 20  61 66 74 65 72 20 74 68  |cled (1 after th|
00000090  65 20 6f 74 68 65 72 29  20 66 72 6f 6d 20 74 68  |e other) from th|
000000a0  65 20 73 61 6d 65 20 75  73 65 72 2d 64 65 66 69  |e same user-defi|
000000b0  6e 65 64 20 66 69 6c 65  20 6f 66 20 63 6f 6d 6d  |ned file of comm|
000000c0  61 6e 64 73 2e 20 55 73  65 66 75 6c 20 66 6f 72  |ands. Useful for|
000000d0  20 67 69 76 69 6e 67 20  64 69 66 66 65 72 65 6e  | giving differen|
000000e0  74 20 62 6f 6f 74 20 73  65 71 75 65 6e 63 65 73  |t boot sequences|
000000f0  20 65 76 65 72 79 20 74  69 6d 65 20 63 6f 6d 70  | every time comp|
00000100  75 74 65 72 20 69 73 20  73 74 61 72 74 65 64 2d  |uter is started-|
00000110  75 70 2e 20 45 2e 67 2e  20 43 79 63 6c 65 64 20  |up. E.g. Cycled |
00000120  2d 20 31 20 74 69 6d 65  20 70 6c 61 79 20 73 6f  |- 1 time play so|
00000130  75 6e 64 20 53 61 6d 70  6c 65 20 31 2c 20 6e 65  |und Sample 1, ne|
00000140  78 74 20 74 69 6d 65 20  70 6c 61 79 20 73 61 6d  |xt time play sam|
00000150  70 6c 65 20 32 2c 20 6e  65 78 74 20 74 69 6d 65  |ple 2, next time|
00000160  20 73 61 6d 70 6c 65 20  33 2c 20 2d 65 74 63 2e  | sample 3, -etc.|
00000170  20 6f 72 20 52 61 6e 64  6f 6d 20 2d 20 31 20 74  | or Random - 1 t|
00000180  69 6d 65 20 70 6c 61 79  20 73 6f 75 6e 64 20 53  |ime play sound S|
00000190  61 6d 70 6c 65 20 33 2c  20 6e 65 78 74 20 74 69  |ample 3, next ti|
000001a0  6d 65 20 70 6c 61 79 20  73 61 6d 70 6c 65 20 38  |me play sample 8|
000001b0  2c 20 6e 65 78 74 20 74  69 6d 65 20 73 61 6d 70  |, next time samp|
000001c0  6c 65 20 32 20 65 74 63  2e 0a 0a 55 73 69 6e 67  |le 2 etc...Using|
000001d0  20 53 65 6c 65 63 74 5f  43 6f 6d 6d 61 6e 64 20  | Select_Command |
000001e0  3a 0a 0a 42 6f 74 68 20  63 6f 6d 6d 61 6e 64 73  |:..Both commands|
000001f0  20 77 69 6c 6c 20 73 65  6c 65 63 74 20 61 6e 64  | will select and|
00000200  20 65 78 65 63 75 74 65  20 61 20 6c 69 6e 65 20  | execute a line |
00000210  66 72 6f 6d 20 74 68 65  20 75 73 65 72 2d 64 65  |from the user-de|
00000220  66 69 6e 65 64 20 66 69  6c 65 20 0a 52 49 53 43  |fined file .RISC|
00000230  75 74 69 6c 73 2e 55 73  65 72 5f 41 72 65 61 2e  |utils.User_Area.|
00000240  46 69 6c 65 73 2e 43 6f  6d 6d 61 6e 64 73 2e 20  |Files.Commands. |
00000250  54 68 69 73 20 66 69 6c  65 20 63 61 6e 20 62 65  |This file can be|
00000260  20 61 6c 74 65 72 65 64  20 61 74 20 61 6e 79 20  | altered at any |
00000270  74 69 6d 65 2c 20 69 6e  63 72 65 61 73 65 64 20  |time, increased |
00000280  6f 72 20 64 65 63 72 65  61 73 65 64 20 69 6e 20  |or decreased in |
00000290  73 69 7a 65 2e 0a 0a 8f  20 56 65 72 79 20 69 6d  |size.... Very im|
000002a0  70 6f 72 74 61 6e 74 20  6e 6f 74 65 3a 20 49 66  |portant note: If|
000002b0  20 74 68 65 20 27 43 6f  6d 6d 61 6e 64 73 27 20  | the 'Commands' |
000002c0  66 69 6c 65 20 69 73 20  6e 6f 74 20 70 72 65 73  |file is not pres|
000002d0  65 6e 74 20 69 6e 20 74  68 65 20 64 69 72 65 63  |ent in the direc|
000002e0  74 6f 72 79 20 21 52 49  53 43 75 74 69 6c 73 2e  |tory !RISCutils.|
000002f0  55 73 65 72 5f 41 72 65  61 2e 46 69 6c 65 73 2c  |User_Area.Files,|
00000300  20 74 68 65 6e 20 52 49  53 43 75 74 69 6c 73 27  | then RISCutils'|
00000310  73 20 53 65 6c 65 63 74  5f 43 6f 6d 6d 61 6e 64  |s Select_Command|
00000320  20 63 6f 6d 70 6f 6e 65  6e 74 20 77 69 6c 6c 20  | component will |
00000330  6e 6f 74 20 77 6f 72 6b  2e 0a 49 66 20 66 6f 72  |not work..If for|
00000340  20 73 6f 6d 65 20 72 65  61 73 6f 6e 20 69 74 20  | some reason it |
00000350  69 73 20 6e 6f 74 20 70  72 65 73 65 6e 74 20 28  |is not present (|
00000360  45 2e 67 2e 20 79 6f 75  20 68 61 76 65 20 6d 69  |E.g. you have mi|
00000370  73 74 61 6b 65 6e 6c 79  20 64 65 6c 65 74 65 64  |stakenly deleted|
00000380  20 69 74 29 2c 20 61 20  74 65 78 74 20 65 64 69  | it), a text edi|
00000390  74 6f 72 20 73 75 63 68  20 61 73 20 21 45 64 69  |tor such as !Edi|
000003a0  74 20 6f 72 20 21 5a 61  70 20 63 61 6e 20 62 65  |t or !Zap can be|
000003b0  20 75 73 65 64 20 74 6f  20 63 72 65 61 74 65 20  | used to create |
000003c0  61 6e 20 27 4f 62 65 79  27 20 66 69 6c 65 2c 20  |an 'Obey' file, |
000003d0  61 6e 64 20 74 68 69 73  20 63 61 6e 20 62 65 20  |and this can be |
000003e0  73 61 76 65 64 20 61 73  20 61 20 6e 65 77 20 27  |saved as a new '|
000003f0  43 6f 6d 6d 61 6e 64 73  27 20 66 69 6c 65 2c 20  |Commands' file, |
00000400  74 6f 20 63 6f 6e 74 61  69 6e 20 74 68 65 20 6c  |to contain the l|
00000410  69 73 74 20 6f 66 20 43  6f 6d 6d 61 6e 64 73 20  |ist of Commands |
00000420  79 6f 75 20 77 69 73 68  20 74 6f 20 75 73 65 2e  |you wish to use.|
00000430  20 4e 2e 42 2e 20 74 68  65 20 66 69 6c 65 2d 6e  | N.B. the file-n|
00000440  61 6d 65 20 73 70 65 6c  6c 69 6e 67 20 27 43 6f  |ame spelling 'Co|
00000450  6d 6d 61 6e 64 73 27 20  6d 75 73 74 20 62 65 20  |mmands' must be |
00000460  65 78 61 63 74 21 20 45  2e 67 2e 20 27 43 6f 6d  |exact! E.g. 'Com|
00000470  6d 61 6e 64 27 20 69 73  20 6e 6f 74 20 61 6c 6c  |mand' is not all|
00000480  6f 77 65 64 2e 0a 0a 53  6f 20 69 66 20 74 68 65  |owed...So if the|
00000490  20 75 73 65 72 20 69 73  73 75 65 64 20 74 68 65  | user issued the|
000004a0  20 63 6f 6d 6d 61 6e 64  3a 0a 0a 53 65 6c 65 63  | command:..Selec|
000004b0  74 5f 43 6f 6d 6d 61 6e  64 5f 52 61 6e 64 6f 6d  |t_Command_Random|
000004c0  0a 0a 54 68 65 20 63 6f  6d 70 6f 6e 65 6e 74 20  |..The component |
000004d0  2f 20 70 72 6f 67 72 61  6d 20 77 69 6c 6c 20 72  |/ program will r|
000004e0  61 6e 64 6f 6d 6c 79 20  70 69 63 6b 20 61 20 6c  |andomly pick a l|
000004f0  69 6e 65 20 66 72 6f 6d  20 74 68 65 20 27 43 6f  |ine from the 'Co|
00000500  6d 6d 61 6e 64 73 27 20  66 69 6c 65 20 28 6e 6f  |mmands' file (no|
00000510  74 65 20 73 6f 6d 65 20  72 61 6e 64 6f 6d 20 63  |te some random c|
00000520  6f 6d 6d 61 6e 64 20 73  65 6c 65 63 74 69 6f 6e  |ommand selection|
00000530  20 70 72 6f 67 72 61 6d  73 20 75 73 65 20 42 41  | programs use BA|
00000540  53 49 43 27 73 20 27 72  61 6e 64 6f 6d 20 6e 75  |SIC's 'random nu|
00000550  6d 62 65 72 27 20 66 65  61 74 75 72 65 2c 20 61  |mber' feature, a|
00000560  6e 64 20 63 61 6e 20 6f  6e 6c 79 20 73 65 6c 65  |nd can only sele|
00000570  63 74 20 63 6f 6d 6d 61  6e 64 73 20 72 61 6e 64  |ct commands rand|
00000580  6f 6d 6c 79 20 77 68 65  6e 20 69 6e 20 74 68 65  |omly when in the|
00000590  20 44 65 73 6b 74 6f 70  2c 20 61 6e 64 20 6e 6f  | Desktop, and no|
000005a0  74 20 66 72 6f 6d 20 74  68 65 20 42 6f 6f 74 20  |t from the Boot |
000005b0  73 65 71 75 65 6e 63 65  2e 20 52 49 53 43 75 74  |sequence. RISCut|
000005c0  69 6c 27 73 20 53 65 6c  65 63 74 5f 43 6f 6d 6d  |il's Select_Comm|
000005d0  61 6e 64 20 63 6f 6d 70  6f 6e 65 6e 74 20 63 61  |and component ca|
000005e0  6e 20 64 6f 20 62 6f 74  68 29 2e 0a 0a 53 6f 20  |n do both)...So |
000005f0  6f 6e 65 20 74 69 6d 65  20 69 66 20 74 68 65 20  |one time if the |
00000600  63 6f 6d 6d 61 6e 64 20  27 53 65 6c 65 63 74 5f  |command 'Select_|
00000610  43 6f 6d 6d 61 6e 64 5f  52 61 6e 64 6f 6d 27 20  |Command_Random' |
00000620  69 73 20 69 73 73 75 65  64 2c 20 6c 69 6e 65 20  |is issued, line |
00000630  33 20 6f 66 20 74 68 65  20 27 43 6f 6d 6d 61 6e  |3 of the 'Comman|
00000640  64 73 20 27 66 69 6c 65  20 6d 61 79 20 62 65 20  |ds 'file may be |
00000650  65 78 65 63 75 74 65 64  2e 0a 41 6e 6f 74 68 65  |executed..Anothe|
00000660  72 20 74 69 6d 65 20 77  68 65 6e 20 74 68 65 20  |r time when the |
00000670  63 6f 6d 6d 61 6e 64 20  27 53 65 6c 65 63 74 5f  |command 'Select_|
00000680  43 6f 6d 6d 61 6e 64 5f  52 61 6e 64 6f 6d 27 20  |Command_Random' |
00000690  69 73 20 69 73 73 75 65  64 2c 20 6c 69 6e 65 20  |is issued, line |
000006a0  38 20 6f 66 20 74 68 65  20 27 43 6f 6d 6d 61 6e  |8 of the 'Comman|
000006b0  64 73 20 27 66 69 6c 65  20 77 69 6c 6c 20 62 65  |ds 'file will be|
000006c0  20 65 78 65 63 75 74 65  64 2e 0a 41 6e 6f 74 68  | executed..Anoth|
000006d0  65 72 20 74 69 6d 65 20  77 68 65 6e 20 74 68 65  |er time when the|
000006e0  20 63 6f 6d 6d 61 6e 64  20 27 53 65 6c 65 63 74  | command 'Select|
000006f0  5f 43 6f 6d 6d 61 6e 64  5f 52 61 6e 64 6f 6d 27  |_Command_Random'|
00000700  20 69 73 20 69 73 73 75  65 64 2c 20 6c 69 6e 65  | is issued, line|
00000710  20 35 20 6f 66 20 74 68  65 20 27 43 6f 6d 6d 61  | 5 of the 'Comma|
00000720  6e 64 73 20 27 66 69 6c  65 20 77 69 6c 6c 20 62  |nds 'file will b|
00000730  65 20 65 78 65 63 75 74  65 64 2e 0a 41 6e 64 20  |e executed..And |
00000740  73 6f 20 6f 6e 2e 2e 2e  65 76 65 72 79 20 74 69  |so on...every ti|
00000750  6d 65 20 74 68 65 20 27  53 65 6c 65 63 74 5f 43  |me the 'Select_C|
00000760  6f 6d 6d 61 6e 64 5f 52  61 6e 64 6f 6d 27 20 63  |ommand_Random' c|
00000770  6f 6d 6d 61 6e 64 20 69  73 20 69 73 73 75 65 64  |ommand is issued|
00000780  2e 0a 0a 2d 20 49 66 20  74 68 65 20 63 6f 6d 6d  |...- If the comm|
00000790  61 6e 64 20 3a 0a 0a 53  65 6c 65 63 74 5f 43 6f  |and :..Select_Co|
000007a0  6d 6d 61 6e 64 5f 43 79  63 6c 65 0a 0a 49 73 20  |mmand_Cycle..Is |
000007b0  69 73 73 75 65 64 2c 20  74 68 65 6e 20 74 68 65  |issued, then the|
000007c0  20 63 6f 6d 70 6f 6e 65  6e 74 20 77 69 6c 6c 20  | component will |
000007d0  27 43 79 63 6c 65 27 20  74 68 72 6f 75 67 68 20  |'Cycle' through |
000007e0  74 68 65 20 6c 69 6e 65  73 20 6f 66 20 74 68 65  |the lines of the|
000007f0  20 27 43 6f 6d 6d 61 6e  64 73 27 20 66 69 6c 65  | 'Commands' file|
00000800  2c 20 65 78 65 63 75 74  69 6e 67 20 74 68 65 6d  |, executing them|
00000810  20 6f 6e 65 20 61 66 74  65 72 20 74 68 65 20 6f  | one after the o|
00000820  74 68 65 72 20 65 61 63  68 20 74 69 6d 65 20 74  |ther each time t|
00000830  68 65 20 27 53 65 6c 65  63 74 5f 43 6f 6d 6d 61  |he 'Select_Comma|
00000840  6e 64 5f 43 79 63 6c 65  27 20 63 6f 6d 6d 61 6e  |nd_Cycle' comman|
00000850  64 20 69 73 20 69 73 73  75 65 64 2c 20 73 74 61  |d is issued, sta|
00000860  72 74 69 6e 67 20 61 67  61 69 6e 20 61 74 20 74  |rting again at t|
00000870  68 65 20 62 65 67 69 6e  69 6e 67 20 77 68 65 6e  |he begining when|
00000880  20 74 68 65 20 6c 61 73  74 20 6c 69 6e 65 20 6f  | the last line o|
00000890  66 20 74 68 65 20 66 69  6c 65 20 69 73 20 72 65  |f the file is re|
000008a0  61 63 68 65 64 2e 20 0a  0a 53 6f 20 6f 6e 65 20  |ached. ..So one |
000008b0  74 69 6d 65 20 69 66 20  74 68 65 20 63 6f 6d 6d  |time if the comm|
000008c0  61 6e 64 20 27 53 65 6c  65 63 74 5f 43 6f 6d 6d  |and 'Select_Comm|
000008d0  61 6e 64 5f 27 43 79 63  6c 65 20 69 73 20 69 73  |and_'Cycle is is|
000008e0  73 75 65 64 2c 20 6c 69  6e 65 20 31 20 6f 66 20  |sued, line 1 of |
000008f0  74 68 65 20 27 43 6f 6d  6d 61 6e 64 73 20 27 66  |the 'Commands 'f|
00000900  69 6c 65 20 6d 61 79 20  62 65 20 65 78 65 63 75  |ile may be execu|
00000910  74 65 64 2e 0a 41 6e 6f  74 68 65 72 20 74 69 6d  |ted..Another tim|
00000920  65 20 77 68 65 6e 20 74  68 65 20 63 6f 6d 6d 61  |e when the comma|
00000930  6e 64 20 27 53 65 6c 65  63 74 5f 43 6f 6d 6d 61  |nd 'Select_Comma|
00000940  6e 64 5f 43 79 63 6c 65  27 20 69 73 20 69 73 73  |nd_Cycle' is iss|
00000950  75 65 64 2c 20 6c 69 6e  65 20 32 20 6f 66 20 74  |ued, line 2 of t|
00000960  68 65 20 27 43 6f 6d 6d  61 6e 64 73 20 27 66 69  |he 'Commands 'fi|
00000970  6c 65 20 77 69 6c 6c 20  62 65 20 65 78 65 63 75  |le will be execu|
00000980  74 65 64 2e 0a 41 6e 6f  74 68 65 72 20 74 69 6d  |ted..Another tim|
00000990  65 20 77 68 65 6e 20 74  68 65 20 63 6f 6d 6d 61  |e when the comma|
000009a0  6e 64 20 27 53 65 6c 65  63 74 5f 43 6f 6d 6d 61  |nd 'Select_Comma|
000009b0  6e 64 5f 43 79 63 6c 65  27 20 69 73 20 69 73 73  |nd_Cycle' is iss|
000009c0  75 65 64 2c 20 6c 69 6e  65 20 33 20 6f 66 20 74  |ued, line 3 of t|
000009d0  68 65 20 27 43 6f 6d 6d  61 6e 64 73 20 27 66 69  |he 'Commands 'fi|
000009e0  6c 65 20 77 69 6c 6c 20  62 65 20 65 78 65 63 75  |le will be execu|
000009f0  74 65 64 2e 0a 41 6e 64  20 73 6f 20 6f 6e 2e 2e  |ted..And so on..|
00000a00  2e 65 76 65 72 79 20 74  69 6d 65 20 74 68 65 20  |.every time the |
00000a10  27 53 65 6c 65 63 74 5f  43 6f 6d 6d 61 6e 64 5f  |'Select_Command_|
00000a20  43 79 63 6c 65 27 20 63  6f 6d 6d 61 6e 64 20 69  |Cycle' command i|
00000a30  73 20 69 73 73 75 65 64  2e 0a 0a 4e 6f 74 65 20  |s issued...Note |
00000a40  3a 20 49 66 20 66 6f 72  20 69 6e 73 74 61 6e 63  |: If for instanc|
00000a50  65 20 74 68 65 20 27 43  6f 6d 6d 61 6e 64 73 27  |e the 'Commands'|
00000a60  20 66 69 6c 65 20 69 73  20 35 20 6c 69 6e 65 73  | file is 5 lines|
00000a70  20 6c 6f 6e 67 2c 20 6f  6e 63 65 20 27 53 65 6c  | long, once 'Sel|
00000a80  65 63 74 5f 43 6f 6d 6d  61 6e 64 5f 43 79 63 6c  |ect_Command_Cycl|
00000a90  65 27 20 68 61 73 20 65  78 65 63 75 74 65 64 20  |e' has executed |
00000aa0  6c 69 6e 65 20 35 2c 20  74 68 65 20 6e 65 78 74  |line 5, the next|
00000ab0  20 74 69 6d 65 20 27 53  65 6c 65 63 74 5f 43 6f  | time 'Select_Co|
00000ac0  6d 6d 61 6e 64 5f 43 79  63 6c 65 27 20 69 73 20  |mmand_Cycle' is |
00000ad0  69 73 73 75 65 64 2c 20  6c 69 6e 65 20 31 20 77  |issued, line 1 w|
00000ae0  69 6c 6c 20 62 65 20 65  78 65 63 75 74 65 64 2e  |ill be executed.|
00000af0  0a 0a 41 6e 79 20 63 6f  6d 6d 61 6e 64 20 63 61  |..Any command ca|
00000b00  6e 20 62 65 20 65 78 65  63 75 74 65 64 20 66 72  |n be executed fr|
00000b10  6f 6d 20 74 68 65 20 27  43 6f 6d 6d 61 6e 64 73  |om the 'Commands|
00000b20  27 20 66 69 6c 65 2c 20  61 6e 64 20 69 66 20 74  |' file, and if t|
00000b30  68 65 20 75 73 65 72 20  77 61 6e 74 73 20 61 20  |he user wants a |
00000b40  6e 75 6d 62 65 72 20 6f  66 20 64 69 66 66 65 72  |number of differ|
00000b50  65 6e 74 20 63 6f 6d 6d  61 6e 64 73 20 74 6f 20  |ent commands to |
00000b60  62 65 20 63 61 72 72 69  65 64 20 6f 75 74 20 65  |be carried out e|
00000b70  61 63 68 20 74 69 6d 65  20 74 68 65 20 27 53 65  |ach time the 'Se|
00000b80  6c 65 63 74 5f 43 6f 6d  6d 61 6e 64 5f 27 20 63  |lect_Command_' c|
00000b90  6f 6d 6d 61 6e 64 20 69  73 20 69 73 73 75 65 64  |ommand is issued|
00000ba0  2c 20 61 6c 6c 20 68 65  2f 73 68 65 20 68 61 73  |, all he/she has|
00000bb0  20 74 6f 20 64 6f 20 69  73 20 6d 61 6b 65 20 74  | to do is make t|
00000bc0  68 65 20 6c 69 6e 65 73  20 69 6e 20 74 68 65 20  |he lines in the |
00000bd0  27 43 6f 6d 6d 61 6e 64  73 27 20 66 69 6c 65 20  |'Commands' file |
00000be0  72 75 6e 20 6f 74 68 65  72 20 66 69 6c 65 73 20  |run other files |
00000bf0  77 69 74 68 20 74 68 65  20 65 78 74 72 61 20 63  |with the extra c|
00000c00  6f 6d 6d 61 6e 64 73 20  69 6e 2e 0a 0a 54 68 65  |ommands in...The|
00000c10  73 65 20 63 6f 6d 6d 61  6e 64 73 20 61 72 65 20  |se commands are |
00000c20  76 65 72 79 20 75 73 65  66 75 6c 20 66 6f 72 20  |very useful for |
00000c30  67 69 76 69 6e 67 20 61  6c 74 65 72 6e 61 74 65  |giving alternate|
00000c40  20 42 6f 6f 74 20 73 65  71 75 65 6e 63 65 73 2c  | Boot sequences,|
00000c50  20 74 68 61 74 20 64 6f  20 73 6f 6d 65 74 68 69  | that do somethi|
00000c60  6e 67 20 64 69 66 66 65  72 65 6e 74 20 65 61 63  |ng different eac|
00000c70  68 20 74 69 6d 65 20 74  68 65 20 63 6f 6d 70 75  |h time the compu|
00000c80  74 65 72 20 69 73 20 73  74 61 72 74 65 64 20 75  |ter is started u|
00000c90  70 2e 20 45 2e 67 2e 20  69 66 20 61 20 75 73 65  |p. E.g. if a use|
00000ca0  72 20 68 61 73 20 35 20  73 6f 75 6e 64 20 73 61  |r has 5 sound sa|
00000cb0  6d 70 6c 65 73 2c 20 61  6e 64 20 68 65 20 6c 69  |mples, and he li|
00000cc0  6b 65 73 20 74 6f 20 70  6c 61 79 20 6f 6e 65 20  |kes to play one |
00000cd0  65 76 65 72 79 20 74 69  6d 65 20 74 68 65 20 63  |every time the c|
00000ce0  6f 6d 70 75 74 65 72 20  69 73 20 62 6f 6f 74 65  |omputer is boote|
00000cf0  64 20 75 70 2c 20 70 6c  61 79 69 6e 67 20 74 68  |d up, playing th|
00000d00  65 20 73 61 6d 65 20 6f  6e 65 20 61 6c 6c 20 74  |e same one all t|
00000d10  68 65 20 74 69 6d 65 20  69 73 20 62 6f 72 69 6e  |he time is borin|
00000d20  67 2c 20 62 75 74 20 6d  61 6e 75 61 6c 6c 79 20  |g, but manually |
00000d30  63 68 61 6e 67 69 6e 67  20 74 68 65 20 62 6f 6f  |changing the boo|
00000d40  74 20 73 65 71 75 65 6e  63 65 20 74 6f 20 70 6c  |t sequence to pl|
00000d50  61 79 20 61 20 64 69 66  66 65 72 65 6e 74 20 6f  |ay a different o|
00000d60  6e 65 20 65 61 63 68 20  74 69 6d 65 20 69 73 20  |ne each time is |
00000d70  61 20 68 61 73 73 6c 65  2e 20 57 68 61 74 20 74  |a hassle. What t|
00000d80  68 65 20 75 73 65 72 20  63 6f 75 6c 64 20 64 6f  |he user could do|
00000d90  20 69 73 20 61 72 72 61  6e 67 65 20 68 69 73 20  | is arrange his |
00000da0  62 6f 6f 74 20 73 65 71  75 65 6e 63 65 2c 20 73  |boot sequence, s|
00000db0  6f 20 74 68 61 74 20 52  49 53 43 75 74 69 6c 73  |o that RISCutils|
00000dc0  20 69 73 20 72 75 6e 2c  20 74 68 65 6e 20 68 69  | is run, then hi|
00000dd0  73 20 73 61 6d 70 6c 65  20 70 6c 61 79 69 6e 67  |s sample playing|
00000de0  20 6d 6f 64 75 6c 65 20  69 73 20 6c 6f 61 64 65  | module is loade|
00000df0  64 2c 20 61 6e 64 20 74  68 65 6e 20 65 69 74 68  |d, and then eith|
00000e00  65 72 20 74 68 65 20 27  53 65 6c 65 63 74 5f 43  |er the 'Select_C|
00000e10  6f 6d 6d 61 6e 64 5f 43  79 63 6c 65 27 20 6f 72  |ommand_Cycle' or|
00000e20  20 27 53 65 6c 65 63 74  5f 43 6f 6d 6d 61 6e 64  | 'Select_Command|
00000e30  5f 52 61 6e 64 6f 6d 27  20 63 6f 6d 6d 61 6e 64  |_Random' command|
00000e40  20 63 6f 75 6c 64 20 62  65 20 69 73 73 75 65 64  | could be issued|
00000e50  2c 20 77 69 74 68 20 74  68 65 20 27 43 6f 6d 6d  |, with the 'Comm|
00000e60  61 6e 64 73 27 20 66 69  6c 65 20 63 6f 6e 74 61  |ands' file conta|
00000e70  69 6e 69 6e 67 20 35 20  6c 69 6e 65 73 2c 20 65  |ining 5 lines, e|
00000e80  61 63 68 20 6f 66 20 77  68 69 63 68 20 69 6e 73  |ach of which ins|
00000e90  74 72 75 63 74 73 20 74  68 65 20 4d 6f 64 75 6c  |tructs the Modul|
00000ea0  65 20 74 6f 20 70 6c 61  79 20 61 20 64 69 66 66  |e to play a diff|
00000eb0  65 72 65 6e 74 20 73 6f  75 6e 64 20 73 61 6d 70  |erent sound samp|
00000ec0  6c 65 2e 0a 54 68 65 20  72 65 73 75 6c 74 20 62  |le..The result b|
00000ed0  65 69 6e 67 2c 20 74 68  61 74 20 65 61 63 68 20  |eing, that each |
00000ee0  74 69 6d 65 20 74 68 65  20 63 6f 6d 70 75 74 65  |time the compute|
00000ef0  72 20 69 73 20 62 6f 6f  74 65 64 20 75 70 2c 20  |r is booted up, |
00000f00  61 20 64 69 66 66 65 72  65 6e 74 20 73 61 6d 70  |a different samp|
00000f10  6c 65 20 69 73 20 70 6c  61 79 65 64 2e 20 57 68  |le is played. Wh|
00000f20  69 63 68 20 69 73 20 62  65 74 74 65 72 20 74 68  |ich is better th|
00000f30  61 6e 20 74 68 65 20 62  6f 72 65 64 6f 6d 20 6f  |an the boredom o|
00000f40  66 20 61 6c 77 61 79 73  20 70 6c 61 79 69 6e 67  |f always playing|
00000f50  20 74 68 65 20 73 61 6d  65 20 6f 6e 65 2c 20 62  | the same one, b|
00000f60  75 74 20 64 6f 65 73 27  74 20 68 61 76 65 20 74  |ut does't have t|
00000f70  68 65 20 68 61 73 73 6c  65 20 6f 66 20 6d 61 6e  |he hassle of man|
00000f80  75 61 6c 6c 79 20 63 68  61 6e 67 69 6e 67 20 74  |ually changing t|
00000f90  68 65 20 62 6f 6f 74 20  73 65 71 75 65 6e 63 65  |he boot sequence|
00000fa0  20 74 6f 20 70 6c 61 79  20 61 20 64 69 66 66 65  | to play a diffe|
00000fb0  72 65 6e 74 20 6f 6e 65  20 65 61 63 68 20 74 69  |rent one each ti|
00000fc0  6d 65 20 69 74 20 69 73  20 62 6f 6f 74 65 64 20  |me it is booted |
00000fd0  75 70 2e 0a 0a 54 6f 20  61 63 74 69 76 61 74 65  |up...To activate|
00000fe0  20 74 68 65 20 27 53 65  6c 65 63 74 5f 43 6f 6d  | the 'Select_Com|
00000ff0  6d 61 6e 64 5f 52 61 6e  64 6f 6d 27 20 61 6e 64  |mand_Random' and|
00001000  20 27 53 65 6c 65 63 74  5f 43 6f 6d 6d 61 6e 64  | 'Select_Command|
00001010  5f 43 79 63 6c 65 27 20  63 6f 6d 6d 61 6e 64 73  |_Cycle' commands|
00001020  20 73 69 6d 70 6c 79 20  72 75 6e 20 27 52 49 53  | simply run 'RIS|
00001030  43 75 74 69 6c 73 27 2c  20 77 69 74 68 20 74 68  |Cutils', with th|
00001040  65 20 27 53 65 6c 65 63  74 5f 43 6f 6d 6d 61 6e  |e 'Select_Comman|
00001050  64 5f 52 61 6e 64 6f 6d  27 20 61 6e 64 20 27 53  |d_Random' and 'S|
00001060  65 6c 65 63 74 5f 43 6f  6d 6d 61 6e 64 5f 43 79  |elect_Command_Cy|
00001070  63 6c 65 27 20 6f 70 74  69 6f 6e 73 20 69 6e 20  |cle' options in |
00001080  52 49 53 43 75 74 69 6c  27 73 20 21 52 75 6e 20  |RISCutil's !Run |
00001090  66 69 6c 65 20 73 65 74  20 74 6f 20 27 59 27 2e  |file set to 'Y'.|
000010a0  20 54 6f 20 64 65 2d 61  63 74 69 76 61 74 65 20  | To de-activate |
000010b0  74 68 65 6d 20 72 75 6e  20 74 68 65 20 66 69 6c  |them run the fil|
000010c0  65 20 52 49 53 43 75 74  69 6c 73 2e 55 73 65 72  |e RISCutils.User|
000010d0  5f 41 72 65 61 2e 46 69  6c 65 73 2e 52 65 6d 6f  |_Area.Files.Remo|
000010e0  76 65 2c 20 61 6e 64 20  72 75 6e 20 27 52 49 53  |ve, and run 'RIS|
000010f0  43 75 74 69 6c 73 27 2c  20 77 69 74 68 20 74 68  |Cutils', with th|
00001100  65 20 27 53 65 6c 65 63  74 5f 43 6f 6d 6d 61 6e  |e 'Select_Comman|
00001110  64 5f 52 61 6e 64 6f 6d  27 20 61 6e 64 20 27 53  |d_Random' and 'S|
00001120  65 6c 65 63 74 5f 43 6f  6d 6d 61 6e 64 5f 43 79  |elect_Command_Cy|
00001130  63 6c 65 27 20 6f 70 74  69 6f 6e 73 20 73 65 74  |cle' options set|
00001140  20 74 6f 20 27 4e 2e 27  0a                       | to 'N.'.|
00001149