| This source code in this file is licensed to You by Castle Technology
| Limited ("Castle") and its licensors on contractual terms and conditions
| ("Licence") which entitle you freely to modify and/or to distribute this
| source code subject to Your compliance with the terms of the Licence.
|
| This source code has been made available to You without any warranties
| whatsoever. Consequently, Your use, modification and distribution of this
| source code is entirely at Your own risk and neither Castle, its licensors
| nor any other person who has contributed to this source code shall be
| liable to You for any loss or damage which You may suffer as a result of
| Your use, modification or distribution of this source code.
|
| Full details of Your rights and obligations are set out in the Licence.
| You should have received a copy of the Licence with this source code file.
| If You have not received a copy, the text of the Licence is available
| online at www.castle-technology.co.uk/riscosbaselicence.htm
|
| >!Boot.Choices.Boot.PreDesk.!!SoftLoad.Loader
| Copyright  2009, RISC OS Open
| All rights reserved.
|
| RISC OS ROM softload utility

| Ensure that !System is available...
SetEval SoftLoad$Sys 0
If "<System$Dir>" = "" Then SetEval SoftLoad$Sys 1
If SoftLoad$Sys Then Set System$Dir Boot:Resources.!System
If SoftLoad$Sys Then Run <System$Dir>.SysPaths

| Load the SharedCLibrary if we need to...
RMEnsure SharedCLibrary 5.46 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 5.46 Error The softloader requires SharedCLibrary 5.46 or later

Echo Start!

| Softload the new ROM and reboot into it...
Run <Softload$Dir>.SoftLoad -v ADFS::4.$.!!SoftLoad.dUI300-00 .NONE.