| !Run file for MBBCtrl
Run <Obey$Dir>.!Boot

| Can't do anything if we don't know where to find MBBack.
| It would also be inadvisable to attempt to open the Data file when MBBack is
| busy with it.
If "<MBBack$Dir>" = "" Then Error Please ensure MBBack has been seen by the Filer
If "<MBBack$Running>" <> "" Then Error MBBack is running

| RISC OS 6.20 is required to use new-style OS backdrop commands
Set MBBack$RO620 1
RMEnsure UtilityModule 6.20 Set MBBack$RO620 0

| Ensure New Boot structure
If "<Wimp$ScrapDir>" = "" Then Error !Scrap is required for this application
If "<Choices$Path>" = "" Then Error New Boot is required for this application
IfThere <Wimp$ScrapDir>.MBBack Then Else CDir <Wimp$ScrapDir>.MBBack
IfThere <Choice$Write>.MBBack Then Else CDir <Choices$Write>.MBBack

WimpSlot -min 52k -max 52k
SetEval MBBack$CtrlRunning <MBBack$CtrlRunning>+1
Run <MBBack$Ctrl>.!RunImage
SetEval MBBack$CtrlRunning <MBBack$CtrlRunning>-1