|
| Elite !Run File
| ----------------
|
| Archimedes Elite             - Copyright  1991 Hybrid Technology
| Archimedes Elite written by  - Warren Burch & Clive Gringras. 
| Original Game Concept        - Copyright  1984 Ian Bell & David Braben
| 

Set Elite$Dir <Obey$Dir>
Set EliteSounds$Dir <Elite$Dir>.Sounds

Set File$Type_C87 EliteCom
Set Alias$@RunType_C87 Run <Obey$Dir>.!Run %%*0

WimpSlot -min 450k -max 450k

|
| Check Elite knows where a !System directory can be found
| --------------------------------------------------------
|

Set System$Path_Message System resources could not be found

|
| Check that an old version of Clib is not already installed
| ----------------------------------------------------------
|

set clib$flag 0
RMensure SharedClibrary 3.66 set clib$flag 1
RMensure SharedClibrary 0 set clib$flag 0
if "<clib$flag>"="1" then Error An old version of the shared C library (clib) is resident in your machine.
unset clib$flag


|
| Install the shared C library (Clib)
| -----------------------------------
|

RMensure SharedClibrary 3.66 RMload System:Modules.Clib
RMensure SharedClibrary 3.66 Error You need at least version 3.66 of the shared C library


RMEnsure ColourTrans 0.00 RMLoad System:Modules.Colours
RMEnsure ColourTrans 0.00 Error Please update your copy of !System to one containing ColourTrans


RMEnsure CLockUtils 0.00 RMLoad <Elite$Dir>.CLockUtils


|
| Load main code 
| --------------
|
|     strap into the colourful seat.....

WimpSlot -min 450k -max 450k
cache w
WimpTask <Elite$Dir>.lite %*0
cache on
