Home » Archimedes archive » Acorn User » AU 1994-11.adf » !AltBoot_AltBoot » X!Boot/!Run
X!Boot/!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 1994-11.adf » !AltBoot_AltBoot |
Filename: | X!Boot/!Run |
Read OK: | ✔ |
File size: | 04BD bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
RMEnsure VProtect 1.58 RMLoad <Obey$Dir>.Utils.VProtect Set Boot$OSVersion 3.20 RMEnsure UtilityModule 3.20 Set Boot$OSVersion 3.10 RMEnsure UtilityModule 3.10 Set Boot$OSVersion 2.00 If "<Boot$OSVersion>"="2.00" Then /<Obey$Dir>.Utils.RO200Hook If "<Boot$OSVersion>"="3.10" Then /<Obey$Dir>.Utils.RO310Hook If "<Boot$OSVersion>"<>"3.20" Then Obey SetMacro Boot$Path <Boot$Dir>. Set Boot$Dir <Obey$Dir> | | Next line added to normal boot sequence Run Boot:CheckAlt | If "<Choices$Path>"="" Then SetMacro Choices$Path <Choices$Dir>. If "<Choices$Dir>"<>"<Boot$Dir>.Choices" AND "<Choices$Dir>"<>"" Then /Boot:Library.Do SetMacro Choices$Path |<Choices$Dir>.,<Choices$Path> Set Choices$Dir <Boot$Dir>.Choices Set Choices$Write <Boot$Dir>.Choices Set Boot$ToBeLoaded Choices:Boot.PreDesk Set Boot$ToBeTasks Choices:Boot.Tasks | | Next two lines added to normal boot sequence If LHAlt$Pressed AND Wimp$State="desktop" Then /Boot:Utils.OpenDirs If RHAlt$Pressed AND Wimp$State="desktop" Then /Boot:Utils.CloseDirs | | Next line changed from line in normal boot sequence If LHAlt$Pressed=0 AND RHAlt$Pressed=0 AND Wimp$State="desktop" Then /Boot:Utils.DeskRun | If Wimp$State="commands" Then Obey -c Boot:Utils.BootRun
00000000 52 4d 45 6e 73 75 72 65 20 56 50 72 6f 74 65 63 |RMEnsure VProtec| 00000010 74 20 31 2e 35 38 20 52 4d 4c 6f 61 64 20 3c 4f |t 1.58 RMLoad <O| 00000020 62 65 79 24 44 69 72 3e 2e 55 74 69 6c 73 2e 56 |bey$Dir>.Utils.V| 00000030 50 72 6f 74 65 63 74 0a 53 65 74 20 42 6f 6f 74 |Protect.Set Boot| 00000040 24 4f 53 56 65 72 73 69 6f 6e 20 33 2e 32 30 0a |$OSVersion 3.20.| 00000050 52 4d 45 6e 73 75 72 65 20 55 74 69 6c 69 74 79 |RMEnsure Utility| 00000060 4d 6f 64 75 6c 65 20 33 2e 32 30 20 53 65 74 20 |Module 3.20 Set | 00000070 42 6f 6f 74 24 4f 53 56 65 72 73 69 6f 6e 20 33 |Boot$OSVersion 3| 00000080 2e 31 30 0a 52 4d 45 6e 73 75 72 65 20 55 74 69 |.10.RMEnsure Uti| 00000090 6c 69 74 79 4d 6f 64 75 6c 65 20 33 2e 31 30 20 |lityModule 3.10 | 000000a0 53 65 74 20 42 6f 6f 74 24 4f 53 56 65 72 73 69 |Set Boot$OSVersi| 000000b0 6f 6e 20 32 2e 30 30 0a 49 66 20 22 3c 42 6f 6f |on 2.00.If "<Boo| 000000c0 74 24 4f 53 56 65 72 73 69 6f 6e 3e 22 3d 22 32 |t$OSVersion>"="2| 000000d0 2e 30 30 22 20 54 68 65 6e 20 2f 3c 4f 62 65 79 |.00" Then /<Obey| 000000e0 24 44 69 72 3e 2e 55 74 69 6c 73 2e 52 4f 32 30 |$Dir>.Utils.RO20| 000000f0 30 48 6f 6f 6b 0a 49 66 20 22 3c 42 6f 6f 74 24 |0Hook.If "<Boot$| 00000100 4f 53 56 65 72 73 69 6f 6e 3e 22 3d 22 33 2e 31 |OSVersion>"="3.1| 00000110 30 22 20 54 68 65 6e 20 2f 3c 4f 62 65 79 24 44 |0" Then /<Obey$D| 00000120 69 72 3e 2e 55 74 69 6c 73 2e 52 4f 33 31 30 48 |ir>.Utils.RO310H| 00000130 6f 6f 6b 0a 49 66 20 22 3c 42 6f 6f 74 24 4f 53 |ook.If "<Boot$OS| 00000140 56 65 72 73 69 6f 6e 3e 22 3c 3e 22 33 2e 32 30 |Version>"<>"3.20| 00000150 22 20 54 68 65 6e 20 4f 62 65 79 0a 53 65 74 4d |" Then Obey.SetM| 00000160 61 63 72 6f 20 42 6f 6f 74 24 50 61 74 68 20 3c |acro Boot$Path <| 00000170 42 6f 6f 74 24 44 69 72 3e 2e 0a 53 65 74 20 42 |Boot$Dir>..Set B| 00000180 6f 6f 74 24 44 69 72 20 3c 4f 62 65 79 24 44 69 |oot$Dir <Obey$Di| 00000190 72 3e 0a 7c 0a 7c 20 4e 65 78 74 20 6c 69 6e 65 |r>.|.| Next line| 000001a0 20 61 64 64 65 64 20 74 6f 20 6e 6f 72 6d 61 6c | added to normal| 000001b0 20 62 6f 6f 74 20 73 65 71 75 65 6e 63 65 0a 52 | boot sequence.R| 000001c0 75 6e 20 42 6f 6f 74 3a 43 68 65 63 6b 41 6c 74 |un Boot:CheckAlt| 000001d0 0a 7c 0a 49 66 20 22 3c 43 68 6f 69 63 65 73 24 |.|.If "<Choices$| 000001e0 50 61 74 68 3e 22 3d 22 22 20 54 68 65 6e 20 53 |Path>"="" Then S| 000001f0 65 74 4d 61 63 72 6f 20 43 68 6f 69 63 65 73 24 |etMacro Choices$| 00000200 50 61 74 68 20 3c 43 68 6f 69 63 65 73 24 44 69 |Path <Choices$Di| 00000210 72 3e 2e 0a 49 66 20 22 3c 43 68 6f 69 63 65 73 |r>..If "<Choices| 00000220 24 44 69 72 3e 22 3c 3e 22 3c 42 6f 6f 74 24 44 |$Dir>"<>"<Boot$D| 00000230 69 72 3e 2e 43 68 6f 69 63 65 73 22 20 41 4e 44 |ir>.Choices" AND| 00000240 20 22 3c 43 68 6f 69 63 65 73 24 44 69 72 3e 22 | "<Choices$Dir>"| 00000250 3c 3e 22 22 20 54 68 65 6e 20 2f 42 6f 6f 74 3a |<>"" Then /Boot:| 00000260 4c 69 62 72 61 72 79 2e 44 6f 20 53 65 74 4d 61 |Library.Do SetMa| 00000270 63 72 6f 20 43 68 6f 69 63 65 73 24 50 61 74 68 |cro Choices$Path| 00000280 20 7c 3c 43 68 6f 69 63 65 73 24 44 69 72 3e 2e | |<Choices$Dir>.| 00000290 2c 3c 43 68 6f 69 63 65 73 24 50 61 74 68 3e 0a |,<Choices$Path>.| 000002a0 53 65 74 20 43 68 6f 69 63 65 73 24 44 69 72 20 |Set Choices$Dir | 000002b0 3c 42 6f 6f 74 24 44 69 72 3e 2e 43 68 6f 69 63 |<Boot$Dir>.Choic| 000002c0 65 73 0a 53 65 74 20 43 68 6f 69 63 65 73 24 57 |es.Set Choices$W| 000002d0 72 69 74 65 20 3c 42 6f 6f 74 24 44 69 72 3e 2e |rite <Boot$Dir>.| 000002e0 43 68 6f 69 63 65 73 0a 53 65 74 20 42 6f 6f 74 |Choices.Set Boot| 000002f0 24 54 6f 42 65 4c 6f 61 64 65 64 20 43 68 6f 69 |$ToBeLoaded Choi| 00000300 63 65 73 3a 42 6f 6f 74 2e 50 72 65 44 65 73 6b |ces:Boot.PreDesk| 00000310 0a 53 65 74 20 42 6f 6f 74 24 54 6f 42 65 54 61 |.Set Boot$ToBeTa| 00000320 73 6b 73 20 43 68 6f 69 63 65 73 3a 42 6f 6f 74 |sks Choices:Boot| 00000330 2e 54 61 73 6b 73 0a 7c 0a 7c 20 4e 65 78 74 20 |.Tasks.|.| Next | 00000340 74 77 6f 20 6c 69 6e 65 73 20 61 64 64 65 64 20 |two lines added | 00000350 74 6f 20 6e 6f 72 6d 61 6c 20 62 6f 6f 74 20 73 |to normal boot s| 00000360 65 71 75 65 6e 63 65 0a 49 66 20 4c 48 41 6c 74 |equence.If LHAlt| 00000370 24 50 72 65 73 73 65 64 20 41 4e 44 20 57 69 6d |$Pressed AND Wim| 00000380 70 24 53 74 61 74 65 3d 22 64 65 73 6b 74 6f 70 |p$State="desktop| 00000390 22 20 54 68 65 6e 20 2f 42 6f 6f 74 3a 55 74 69 |" Then /Boot:Uti| 000003a0 6c 73 2e 4f 70 65 6e 44 69 72 73 0a 49 66 20 52 |ls.OpenDirs.If R| 000003b0 48 41 6c 74 24 50 72 65 73 73 65 64 20 41 4e 44 |HAlt$Pressed AND| 000003c0 20 57 69 6d 70 24 53 74 61 74 65 3d 22 64 65 73 | Wimp$State="des| 000003d0 6b 74 6f 70 22 20 54 68 65 6e 20 2f 42 6f 6f 74 |ktop" Then /Boot| 000003e0 3a 55 74 69 6c 73 2e 43 6c 6f 73 65 44 69 72 73 |:Utils.CloseDirs| 000003f0 0a 7c 0a 7c 20 4e 65 78 74 20 6c 69 6e 65 20 63 |.|.| Next line c| 00000400 68 61 6e 67 65 64 20 66 72 6f 6d 20 6c 69 6e 65 |hanged from line| 00000410 20 69 6e 20 6e 6f 72 6d 61 6c 20 62 6f 6f 74 20 | in normal boot | 00000420 73 65 71 75 65 6e 63 65 0a 49 66 20 4c 48 41 6c |sequence.If LHAl| 00000430 74 24 50 72 65 73 73 65 64 3d 30 20 41 4e 44 20 |t$Pressed=0 AND | 00000440 52 48 41 6c 74 24 50 72 65 73 73 65 64 3d 30 20 |RHAlt$Pressed=0 | 00000450 41 4e 44 20 57 69 6d 70 24 53 74 61 74 65 3d 22 |AND Wimp$State="| 00000460 64 65 73 6b 74 6f 70 22 20 54 68 65 6e 20 2f 42 |desktop" Then /B| 00000470 6f 6f 74 3a 55 74 69 6c 73 2e 44 65 73 6b 52 75 |oot:Utils.DeskRu| 00000480 6e 0a 7c 0a 49 66 20 57 69 6d 70 24 53 74 61 74 |n.|.If Wimp$Stat| 00000490 65 3d 22 63 6f 6d 6d 61 6e 64 73 22 20 54 68 65 |e="commands" The| 000004a0 6e 20 4f 62 65 79 20 2d 63 20 42 6f 6f 74 3a 55 |n Obey -c Boot:U| 000004b0 74 69 6c 73 2e 42 6f 6f 74 52 75 6e 0a |tils.BootRun.| 000004bd