| !Run file for !SignalBox version 42.8
| 32bit safe A9Home OK 
| (sound suppressed on pre release A9) 
|
Iconsprites <Obey$Dir>.!Sprites
|
| 32bit machines must not run Z1_RISC which
| was compiled on Silicon Vision's RiscBASIC
Set RISCOS$Ver 5
RMEnsure UtilityModule 5.00 Set RISCOS$Ver 44
RMEnsure UtilityModule 4.40 Set RISCOS$Ver 35
RMEnsure UtilityModule 3.50 Set RISCOS$Ver 3
RMEnsure UtilityModule 3.10 Set RISCOS$Ver 2
| Versions above 4.39 must use 32 bit (?)
| 
IF RiscOS$Ver = 2 THEN RMEnsure ColourTrans 0.52 RMLoad System:Modules.Colours
IF RiscOS$Ver = 2 THEN RMEnsure ColourTrans 0.52 Error 0 Can't find !System directory to load 'Colours'
IF RiscOS$Ver = 2 THEN RMEnsure FontManager 2.42 Error 0 Font manager must be loaded first.  Find the !Fonts application!
IF RiscOS$Ver = 3 THEN RMEnsure ColourTrans 0.96 Error 0 Please load ColourTrans 0.96 or later
IF RiscOS$Ver = 3 THEN RMEnsure FontManager 2.98 Error 0 Please load FontManager 2.98 or later
IF RiscOS$Ver = 35 THEN RMEnsure ColourTrans 0.96 Error 0 Please load ColourTrans 0.96 or later
IF RiscOS$Ver = 35 THEN RMEnsure FontManager 2.98 Error 0 Please load FontManager 2.98 or later
IF RiscOS$Ver = 44 THEN RMEnsure ColourTrans 0.96 Error 0 Please load ColourTrans 0.96 or later
IF RiscOS$Ver = 44 THEN RMEnsure FontManager 2.98 Error 0 Please load FontManager 2.98 or later
IF RiscOS$Ver = 5 THEN RMEnsure ColourTrans 0.96 Error 0 Please load ColourTrans 0.96 or later
IF RiscOS$Ver = 5 THEN RMEnsure FontManager 2.98 Error 0 Please load FontManager 2.98 or later
|
Set SB$Dir <Obey$Dir>
| Comment out two of those below
| leaving the peferred option valid
| (preferred option only prevails on RISC_OS 
| versions 3.50 to before 4.40 i.e. most)
|Set Which$RunFile Z1_ABC
Set Which$RunFile Z1_RISC
|Set Which$RunFile Z1_Crunch
| Force RISC_OS versions before 3.10 (=2)
| and between 3.10 and before 3.50 (=3)
| to use RiscBASIC (includes VA5000)
| Force Iyonix (=5) and A9 (=44) to use ABC compiled code
IF RiscOS$Ver = 2 THEN Set Which$RunFile Z1_RISC
IF RiscOS$Ver = 3 THEN Set Which$RunFile Z1_RISC
IF RiscOS$Ver = 44 THEN Set Which$RunFile Z1_ABC
IF RiscOS$Ver = 5 THEN Set Which$RunFile Z1_ABC
|
Set Sound$OK 1
RMEnsure SoundScheduler 1.00 Set Sound$OK 0
If Sound$OK = 1 THEN RMEnsure Bell 1.00 RMLoad <SB$Dir>.SMOD5
If Sound$OK = 1 THEN RMEnsure Bell 1.00 Error 0 Can't load bell sounds
|
IF "<Which$RunFile>" = "Z1_ABC" THEN RMEnsure ABCLibrary 0.00 RMLoad <SB$Dir>.ABCLib
IF "<Which$RunFile>" = "Z1_ABC" THEN RMEnsure ABCLibrary 4.12 Error An older version of ABCLib is already loaded
IF "<Which$RunFile>" = "Z1_ABC" THEN  WimpSlot -min 15580K -max 17980K
IF "<Which$RunFile>" = "Z1_Crunch" THEN WimpSlot -min 12580K -max 14980K
IF "<Which$RunFile>" = "Z1_RISC" THEN WimpSlot -min 13580K -max 15980K
|Rmfaster Draw
Run <Obey$Dir>.<Which$RunFile>
