Home » Archimedes archive » Acorn User » AU 1996-Xmas.adf » Regulars » StarInfo/Williams/!RunCom

StarInfo/Williams/!RunCom

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 1996-Xmas.adf » Regulars
Filename: StarInfo/Williams/!RunCom
Read OK:
File size: 04D4 bytes
Load address: 0000
Exec address: 0000
File contents
| !Boot.!RunCom
|
| This file is run if the !Boot is run outside the desktop
|
TestAlt

Set Boot$AltState <Alt$Pressed>

If <Boot$AltState> <> 0 Then Sound 1 &17F &6000 4

|
| First thing we do is check CMOS settings
| to see if they have changed...
|

Utils:TestCMOS Utils:SavedCMOS

|
| Run my little start up screen
|

Run Utils:Banner

|
| If the left Alt key was pressed during boot, then
| run the special boot file...
|

If (<Boot$AltState> AND 1)=1 Then Obey -c Choices:Special.PreDesktop Else Echo Running normal boot sequence...

|
| Run the normal autoboot sequence...
|

Echo Running pre-desktop boot file...
Obey -c Choices:Boot.PreDesktop
Echo Loading other pre-desktop files...
Echo
Alias RMR Echo Module  : %%0|MRMRun %%0|M
Repeat RMR <Boot$ToBeLoaded> -Type Module
UnAlias RMR
Alias ICS Echo Sprites : %%0|MIconSprites %%0|M
Repeat ICS <Boot$ToBeLoaded> -Type Sprite
UnAlias ICS
Alias OBY Echo Obey    : %%0|MObey -c %%0|M
Repeat OBY <Boot$ToBeLoaded> -Type Obey
UnAlias OBY
Alias RDA Echo Appln : %%0|MRun %%0|M
Repeat RDA <Boot$ToBeLoaded> -Applications
UnAlias RDA
Alias LSF Echo ScrnFont: %%0|MPrint %%0|M
Repeat LSF <Boot$ToBeLoaded> -Type &FF7
UnAlias LSF

Echo 
Echo Entering desktop...
Run Choices:Boot.Desktop
00000000  7c 20 21 42 6f 6f 74 2e  21 52 75 6e 43 6f 6d 0a  || !Boot.!RunCom.|
00000010  7c 0a 7c 20 54 68 69 73  20 66 69 6c 65 20 69 73  ||.| This file is|
00000020  20 72 75 6e 20 69 66 20  74 68 65 20 21 42 6f 6f  | run if the !Boo|
00000030  74 20 69 73 20 72 75 6e  20 6f 75 74 73 69 64 65  |t is run outside|
00000040  20 74 68 65 20 64 65 73  6b 74 6f 70 0a 7c 0a 54  | the desktop.|.T|
00000050  65 73 74 41 6c 74 0a 0a  53 65 74 20 42 6f 6f 74  |estAlt..Set Boot|
00000060  24 41 6c 74 53 74 61 74  65 20 3c 41 6c 74 24 50  |$AltState <Alt$P|
00000070  72 65 73 73 65 64 3e 0a  0a 49 66 20 3c 42 6f 6f  |ressed>..If <Boo|
00000080  74 24 41 6c 74 53 74 61  74 65 3e 20 3c 3e 20 30  |t$AltState> <> 0|
00000090  20 54 68 65 6e 20 53 6f  75 6e 64 20 31 20 26 31  | Then Sound 1 &1|
000000a0  37 46 20 26 36 30 30 30  20 34 0a 0a 7c 0a 7c 20  |7F &6000 4..|.| |
000000b0  46 69 72 73 74 20 74 68  69 6e 67 20 77 65 20 64  |First thing we d|
000000c0  6f 20 69 73 20 63 68 65  63 6b 20 43 4d 4f 53 20  |o is check CMOS |
000000d0  73 65 74 74 69 6e 67 73  0a 7c 20 74 6f 20 73 65  |settings.| to se|
000000e0  65 20 69 66 20 74 68 65  79 20 68 61 76 65 20 63  |e if they have c|
000000f0  68 61 6e 67 65 64 2e 2e  2e 0a 7c 0a 0a 55 74 69  |hanged....|..Uti|
00000100  6c 73 3a 54 65 73 74 43  4d 4f 53 20 55 74 69 6c  |ls:TestCMOS Util|
00000110  73 3a 53 61 76 65 64 43  4d 4f 53 0a 0a 7c 0a 7c  |s:SavedCMOS..|.||
00000120  20 52 75 6e 20 6d 79 20  6c 69 74 74 6c 65 20 73  | Run my little s|
00000130  74 61 72 74 20 75 70 20  73 63 72 65 65 6e 0a 7c  |tart up screen.||
00000140  0a 0a 52 75 6e 20 55 74  69 6c 73 3a 42 61 6e 6e  |..Run Utils:Bann|
00000150  65 72 0a 0a 7c 0a 7c 20  49 66 20 74 68 65 20 6c  |er..|.| If the l|
00000160  65 66 74 20 41 6c 74 20  6b 65 79 20 77 61 73 20  |eft Alt key was |
00000170  70 72 65 73 73 65 64 20  64 75 72 69 6e 67 20 62  |pressed during b|
00000180  6f 6f 74 2c 20 74 68 65  6e 0a 7c 20 72 75 6e 20  |oot, then.| run |
00000190  74 68 65 20 73 70 65 63  69 61 6c 20 62 6f 6f 74  |the special boot|
000001a0  20 66 69 6c 65 2e 2e 2e  0a 7c 0a 0a 49 66 20 28  | file....|..If (|
000001b0  3c 42 6f 6f 74 24 41 6c  74 53 74 61 74 65 3e 20  |<Boot$AltState> |
000001c0  41 4e 44 20 31 29 3d 31  20 54 68 65 6e 20 4f 62  |AND 1)=1 Then Ob|
000001d0  65 79 20 2d 63 20 43 68  6f 69 63 65 73 3a 53 70  |ey -c Choices:Sp|
000001e0  65 63 69 61 6c 2e 50 72  65 44 65 73 6b 74 6f 70  |ecial.PreDesktop|
000001f0  20 45 6c 73 65 20 45 63  68 6f 20 52 75 6e 6e 69  | Else Echo Runni|
00000200  6e 67 20 6e 6f 72 6d 61  6c 20 62 6f 6f 74 20 73  |ng normal boot s|
00000210  65 71 75 65 6e 63 65 2e  2e 2e 0a 0a 7c 0a 7c 20  |equence.....|.| |
00000220  52 75 6e 20 74 68 65 20  6e 6f 72 6d 61 6c 20 61  |Run the normal a|
00000230  75 74 6f 62 6f 6f 74 20  73 65 71 75 65 6e 63 65  |utoboot sequence|
00000240  2e 2e 2e 0a 7c 0a 0a 45  63 68 6f 20 52 75 6e 6e  |....|..Echo Runn|
00000250  69 6e 67 20 70 72 65 2d  64 65 73 6b 74 6f 70 20  |ing pre-desktop |
00000260  62 6f 6f 74 20 66 69 6c  65 2e 2e 2e 0a 4f 62 65  |boot file....Obe|
00000270  79 20 2d 63 20 43 68 6f  69 63 65 73 3a 42 6f 6f  |y -c Choices:Boo|
00000280  74 2e 50 72 65 44 65 73  6b 74 6f 70 0a 45 63 68  |t.PreDesktop.Ech|
00000290  6f 20 4c 6f 61 64 69 6e  67 20 6f 74 68 65 72 20  |o Loading other |
000002a0  70 72 65 2d 64 65 73 6b  74 6f 70 20 66 69 6c 65  |pre-desktop file|
000002b0  73 2e 2e 2e 0a 45 63 68  6f 0a 41 6c 69 61 73 20  |s....Echo.Alias |
000002c0  52 4d 52 20 45 63 68 6f  20 4d 6f 64 75 6c 65 20  |RMR Echo Module |
000002d0  20 3a 20 25 25 30 7c 4d  52 4d 52 75 6e 20 25 25  | : %%0|MRMRun %%|
000002e0  30 7c 4d 0a 52 65 70 65  61 74 20 52 4d 52 20 3c  |0|M.Repeat RMR <|
000002f0  42 6f 6f 74 24 54 6f 42  65 4c 6f 61 64 65 64 3e  |Boot$ToBeLoaded>|
00000300  20 2d 54 79 70 65 20 4d  6f 64 75 6c 65 0a 55 6e  | -Type Module.Un|
00000310  41 6c 69 61 73 20 52 4d  52 0a 41 6c 69 61 73 20  |Alias RMR.Alias |
00000320  49 43 53 20 45 63 68 6f  20 53 70 72 69 74 65 73  |ICS Echo Sprites|
00000330  20 3a 20 25 25 30 7c 4d  49 63 6f 6e 53 70 72 69  | : %%0|MIconSpri|
00000340  74 65 73 20 25 25 30 7c  4d 0a 52 65 70 65 61 74  |tes %%0|M.Repeat|
00000350  20 49 43 53 20 3c 42 6f  6f 74 24 54 6f 42 65 4c  | ICS <Boot$ToBeL|
00000360  6f 61 64 65 64 3e 20 2d  54 79 70 65 20 53 70 72  |oaded> -Type Spr|
00000370  69 74 65 0a 55 6e 41 6c  69 61 73 20 49 43 53 0a  |ite.UnAlias ICS.|
00000380  41 6c 69 61 73 20 4f 42  59 20 45 63 68 6f 20 4f  |Alias OBY Echo O|
00000390  62 65 79 20 20 20 20 3a  20 25 25 30 7c 4d 4f 62  |bey    : %%0|MOb|
000003a0  65 79 20 2d 63 20 25 25  30 7c 4d 0a 52 65 70 65  |ey -c %%0|M.Repe|
000003b0  61 74 20 4f 42 59 20 3c  42 6f 6f 74 24 54 6f 42  |at OBY <Boot$ToB|
000003c0  65 4c 6f 61 64 65 64 3e  20 2d 54 79 70 65 20 4f  |eLoaded> -Type O|
000003d0  62 65 79 0a 55 6e 41 6c  69 61 73 20 4f 42 59 0a  |bey.UnAlias OBY.|
000003e0  41 6c 69 61 73 20 52 44  41 20 45 63 68 6f 20 41  |Alias RDA Echo A|
000003f0  70 70 6c 6e 20 3a 20 25  25 30 7c 4d 52 75 6e 20  |ppln : %%0|MRun |
00000400  25 25 30 7c 4d 0a 52 65  70 65 61 74 20 52 44 41  |%%0|M.Repeat RDA|
00000410  20 3c 42 6f 6f 74 24 54  6f 42 65 4c 6f 61 64 65  | <Boot$ToBeLoade|
00000420  64 3e 20 2d 41 70 70 6c  69 63 61 74 69 6f 6e 73  |d> -Applications|
00000430  0a 55 6e 41 6c 69 61 73  20 52 44 41 0a 41 6c 69  |.UnAlias RDA.Ali|
00000440  61 73 20 4c 53 46 20 45  63 68 6f 20 53 63 72 6e  |as LSF Echo Scrn|
00000450  46 6f 6e 74 3a 20 25 25  30 7c 4d 50 72 69 6e 74  |Font: %%0|MPrint|
00000460  20 25 25 30 7c 4d 0a 52  65 70 65 61 74 20 4c 53  | %%0|M.Repeat LS|
00000470  46 20 3c 42 6f 6f 74 24  54 6f 42 65 4c 6f 61 64  |F <Boot$ToBeLoad|
00000480  65 64 3e 20 2d 54 79 70  65 20 26 46 46 37 0a 55  |ed> -Type &FF7.U|
00000490  6e 41 6c 69 61 73 20 4c  53 46 0a 0a 45 63 68 6f  |nAlias LSF..Echo|
000004a0  20 0a 45 63 68 6f 20 45  6e 74 65 72 69 6e 67 20  | .Echo Entering |
000004b0  64 65 73 6b 74 6f 70 2e  2e 2e 0a 52 75 6e 20 43  |desktop....Run C|
000004c0  68 6f 69 63 65 73 3a 42  6f 6f 74 2e 44 65 73 6b  |hoices:Boot.Desk|
000004d0  74 6f 70 0a                                       |top.|
000004d4