| !Chameleon
| Version 2.00
|
if "<System$Path>" = "" then Error 0 System resources cannot be found
|
RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
|
set clib$flag 0
RMensure SharedClibrary 3.75 set clib$flag 1
RMensure SharedClibrary 0 set clib$flag 0
if "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory.
unset clib$flag
|  
| Install the shared C library (clib)
| -----------------------------------
|
RMensure SharedClibrary 3.75 RMload System:modules.clib
RMensure SharedClibrary 3.75 Error You need at least version 3.75 of the shared C library
|
| Install the floating point emulator
| -----------------------------------
|
RMensure FPEmulator 2.80 RMload System:modules.FPEmulator
RMensure FPEmulator 2.80 Error You need at least version 2.80 of the floating point emulator
|
| Install the Fountain fill module
| --------------------------------
|
RMEnsure FountainFill 0.43 RMLoad <Obey$Dir>.Fountain
RMEnsure FountainFill 0.43 Error You need FountainFill 0.43 or later
|
|
| Set up print handling
| ---------------------
|
Set Alias$@PrintType_AFF Run <Obey$Dir>.!Run -Print %%*0
Set Alias$@PrintType_CC3 Run <Obey$Dir>.!Run -Print %%*0
Set Alias$@PrintType_C4B Run <Obey$Dir>.!Run -Print %%*0
|
Set Chameleon$Dir <Obey$Dir>
| Get extra (for fountain buffer etc)
Wimpslot -min 416K -max 416K
|
Wimpslot -min 384K -max 384K
Run <Obey$Dir>.IconSprDiy <Chameleon$Dir>.!Sprites
Run <Chameleon$Dir>.!RunImage %*0
