| > !Run
|
IconSprites <Obey$Dir>.!Sprites
Set CCompile$Dir <Obey$Dir>
|
| Set directory of the compiler: default the !CCompile directory
| In that case you must install the compiler there !!!!
| YOU CAN CHANGE THIS !
|
Set CC$Dir <Obey$Dir>
|
| Ensure we have FPEmulator
|
If "<System$Path>" = "" then Error 0 System resources cannot be found
RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.80 Error You need FPEmulator 2.80 or later
|
| Ensure we have CLib
|
Set clib$flag 0
RMensure SharedClibrary 3.50 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. See page 44-45 of the Acorn C manual.
Unset clib$flag
RMensure SharedClibrary 3.50 RMLoad System:modules.CLib
RMensure SharedClibrary 3.50 Error You need CLib 3.50 or later
|
| Go, go, go
|
WimpSlot -min 32k -max 32k
Run <CCompile$Dir>.!RunImage %*0
