| RISC OS Select core Desktop file, controlling the progressive boot
| [BootScripts 1.16 (16 Oct 2002)]

|Start RISCOS !Boot.Utils.Desktop default wimpslot
WimpSlot -next 640k
|End

|Start RISCOS !Boot.Utils.Desktop Auto tasks
| See PreDesktop for details on !Start and !End
If Boot$OSVersion >= 430 Then Repeat Filer_Boot Boot:RO430Hook.Res  -Applications -Tasks
If Boot$OSVersion >= 420 Then Repeat Filer_Boot Boot:RO420Hook.Res  -Applications -Tasks
Repeat Filer_Boot Boot:RO400Hook.Res  -Applications -Tasks
Repeat Filer_Boot <BootResources$Dir> -Applications -Tasks
IfThere <BootResources$Dir>.PlugIns Then Repeat Filer_Boot <BootResources$Dir>.PlugIns -Applications -Tasks
Filer_Boot        <Boot$Dir>
|End

|Start RISCOS !Boot.Utils.Desktop Progressive boot
| See PreDesktop for details on !Start and !End
|
| 1. Run any hardware specific applications
IfThere <Boot$Hardware$ToBeTasks>.^.Desktop Then Desktop <Boot$Hardware$ToBeTasks>.^.Desktop
IfThere <Boot$Hardware$ToBeTasks>           Then Repeat Filer_Run  <Boot$Hardware$ToBeTasks>  -Tasks
|
| 2. Run any default applications
IfThere <Boot$Default$ToBeTasks>.^.Desktop  Then Desktop <Boot$Default$ToBeTasks>.^.Desktop
IfThere <Boot$Default$ToBeTasks>            Then Repeat Filer_Run  <Boot$Default$ToBeTasks>  -Tasks
|
| 3. Run user specified applications
IfThere <Boot$ToBeTasks>.^.Desktop          Then Desktop <Boot$ToBeTasks>.^.Desktop
IfThere <Boot$ToBeTasks>                    Then Repeat Filer_Run  <Boot$ToBeTasks>  -Tasks
|End

|Start RISCOS !Boot.Utils.Desktop Completion
| This line turns the hourglass off at the end of the boot sequence:
/Boot:Utils.HOff
IfThere BootResources:!Configure Then Set Alias$@LoadType_FF2 LoadCMOS %%*0 Else Set Alias$@LoadType_FF2 Error 0 You cannot reconfigure this machine
IfThere BootResources:!Configure Then Set Alias$@RunType_FF2  LoadCMOS %%*0 Else Set Alias$@RunType_FF2 Error 0 You cannot reconfigure this machine
|End
