Home » Personal collection » Acorn hard disk » apps » Econet » Extras/Autoboot/!ArmBoot/!Help

Extras/Autoboot/!ArmBoot/!Help

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 » Personal collection » Acorn hard disk » apps » Econet
Filename: Extras/Autoboot/!ArmBoot/!Help
Read OK:
File size: 0322 bytes
Load address: 0000
Exec address: 0000
File contents
This is a very simple example of a method to make a station boot automatically
to a particular ID, but may be expanded to fit your own requirements.

This example logs station 52 to Class1, 53 to Class2 and any other station
as user Guest.

This !Armboot file should be placed either in directory Boot, or in the $
directory if such a directory does not exist.

Client stations, as long as they are configured to Boot from the network,
and a User Boot (with boot options set  to run) exists, will boot to the
user required.

The full !Armboot application, to set up the user environment should then
be placed in the Users' URDs.

Use of groups of stations into adjacent station numbers may make the
selection easier, for example:

IF R0% >=20 AND R0% <=47 THEN OSCLI("I AM Class6")

might be suitable.
00000000  54 68 69 73 20 69 73 20  61 20 76 65 72 79 20 73  |This is a very s|
00000010  69 6d 70 6c 65 20 65 78  61 6d 70 6c 65 20 6f 66  |imple example of|
00000020  20 61 20 6d 65 74 68 6f  64 20 74 6f 20 6d 61 6b  | a method to mak|
00000030  65 20 61 20 73 74 61 74  69 6f 6e 20 62 6f 6f 74  |e a station boot|
00000040  20 61 75 74 6f 6d 61 74  69 63 61 6c 6c 79 0a 74  | automatically.t|
00000050  6f 20 61 20 70 61 72 74  69 63 75 6c 61 72 20 49  |o a particular I|
00000060  44 2c 20 62 75 74 20 6d  61 79 20 62 65 20 65 78  |D, but may be ex|
00000070  70 61 6e 64 65 64 20 74  6f 20 66 69 74 20 79 6f  |panded to fit yo|
00000080  75 72 20 6f 77 6e 20 72  65 71 75 69 72 65 6d 65  |ur own requireme|
00000090  6e 74 73 2e 0a 0a 54 68  69 73 20 65 78 61 6d 70  |nts...This examp|
000000a0  6c 65 20 6c 6f 67 73 20  73 74 61 74 69 6f 6e 20  |le logs station |
000000b0  35 32 20 74 6f 20 43 6c  61 73 73 31 2c 20 35 33  |52 to Class1, 53|
000000c0  20 74 6f 20 43 6c 61 73  73 32 20 61 6e 64 20 61  | to Class2 and a|
000000d0  6e 79 20 6f 74 68 65 72  20 73 74 61 74 69 6f 6e  |ny other station|
000000e0  0a 61 73 20 75 73 65 72  20 47 75 65 73 74 2e 0a  |.as user Guest..|
000000f0  0a 54 68 69 73 20 21 41  72 6d 62 6f 6f 74 20 66  |.This !Armboot f|
00000100  69 6c 65 20 73 68 6f 75  6c 64 20 62 65 20 70 6c  |ile should be pl|
00000110  61 63 65 64 20 65 69 74  68 65 72 20 69 6e 20 64  |aced either in d|
00000120  69 72 65 63 74 6f 72 79  20 42 6f 6f 74 2c 20 6f  |irectory Boot, o|
00000130  72 20 69 6e 20 74 68 65  20 24 0a 64 69 72 65 63  |r in the $.direc|
00000140  74 6f 72 79 20 69 66 20  73 75 63 68 20 61 20 64  |tory if such a d|
00000150  69 72 65 63 74 6f 72 79  20 64 6f 65 73 20 6e 6f  |irectory does no|
00000160  74 20 65 78 69 73 74 2e  0a 0a 43 6c 69 65 6e 74  |t exist...Client|
00000170  20 73 74 61 74 69 6f 6e  73 2c 20 61 73 20 6c 6f  | stations, as lo|
00000180  6e 67 20 61 73 20 74 68  65 79 20 61 72 65 20 63  |ng as they are c|
00000190  6f 6e 66 69 67 75 72 65  64 20 74 6f 20 42 6f 6f  |onfigured to Boo|
000001a0  74 20 66 72 6f 6d 20 74  68 65 20 6e 65 74 77 6f  |t from the netwo|
000001b0  72 6b 2c 0a 61 6e 64 20  61 20 55 73 65 72 20 42  |rk,.and a User B|
000001c0  6f 6f 74 20 28 77 69 74  68 20 62 6f 6f 74 20 6f  |oot (with boot o|
000001d0  70 74 69 6f 6e 73 20 73  65 74 20 20 74 6f 20 72  |ptions set  to r|
000001e0  75 6e 29 20 65 78 69 73  74 73 2c 20 77 69 6c 6c  |un) exists, will|
000001f0  20 62 6f 6f 74 20 74 6f  20 74 68 65 0a 75 73 65  | boot to the.use|
00000200  72 20 72 65 71 75 69 72  65 64 2e 0a 0a 54 68 65  |r required...The|
00000210  20 66 75 6c 6c 20 21 41  72 6d 62 6f 6f 74 20 61  | full !Armboot a|
00000220  70 70 6c 69 63 61 74 69  6f 6e 2c 20 74 6f 20 73  |pplication, to s|
00000230  65 74 20 75 70 20 74 68  65 20 75 73 65 72 20 65  |et up the user e|
00000240  6e 76 69 72 6f 6e 6d 65  6e 74 20 73 68 6f 75 6c  |nvironment shoul|
00000250  64 20 74 68 65 6e 0a 62  65 20 70 6c 61 63 65 64  |d then.be placed|
00000260  20 69 6e 20 74 68 65 20  55 73 65 72 73 27 20 55  | in the Users' U|
00000270  52 44 73 2e 0a 0a 55 73  65 20 6f 66 20 67 72 6f  |RDs...Use of gro|
00000280  75 70 73 20 6f 66 20 73  74 61 74 69 6f 6e 73 20  |ups of stations |
00000290  69 6e 74 6f 20 61 64 6a  61 63 65 6e 74 20 73 74  |into adjacent st|
000002a0  61 74 69 6f 6e 20 6e 75  6d 62 65 72 73 20 6d 61  |ation numbers ma|
000002b0  79 20 6d 61 6b 65 20 74  68 65 0a 73 65 6c 65 63  |y make the.selec|
000002c0  74 69 6f 6e 20 65 61 73  69 65 72 2c 20 66 6f 72  |tion easier, for|
000002d0  20 65 78 61 6d 70 6c 65  3a 0a 0a 49 46 20 52 30  | example:..IF R0|
000002e0  25 20 3e 3d 32 30 20 41  4e 44 20 52 30 25 20 3c  |% >=20 AND R0% <|
000002f0  3d 34 37 20 54 48 45 4e  20 4f 53 43 4c 49 28 22  |=47 THEN OSCLI("|
00000300  49 20 41 4d 20 43 6c 61  73 73 36 22 29 0a 0a 6d  |I AM Class6")..m|
00000310  69 67 68 74 20 62 65 20  73 75 69 74 61 62 6c 65  |ight be suitable|
00000320  2e 0a                                             |..|
00000322