|
| 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
| --------------------------------------------------------
|

If "<System$Path>" = "" Then Error System resources cannot be found - please open a directory with a !System in it


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

set clib$flag 0
RMensure SharedClibrary 3.76 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.76 RMload System:Modules.Clib
RMensure SharedClibrary 3.76 Error You need at least version 3.76 of the shared C library

RMEnsure CLockUtils 0.00 RMLoad <Elite$Dir>.CLockUtils

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

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