| > !Surface.!Run
|
| Run file for Surface
|
| by Chris Johnson
|
RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
|
| Ensure a 32bit SharedCLibrary is installed
| http://www.iyonix.com/32bit/
| (5.17 == first 32bit SCL, 5.43 == C99 features)
RMEnsure SharedCLibrary 5.17 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 5.43 Error Surface requires SharedCLibrary 5.43 or later. This can be downloaded from http://www.iyonix.com/32bit/system.shtml
|
IconSprites <Obey$Dir>.!Sprites
Set Surface$Dir <Obey$Dir>
|
Run <Surface$Dir>.Resources.Resfind Surface
|
|
RMEnsure Toolbox    1.41  RMLoad System:modules.toolbox.toolbox
RMEnsure Toolbox    1.41  ERROR You need the Toolbox module 1.41 to run Surface
RMEnsure Window     1.47  RMLoad System:modules.toolbox.window
RMEnsure Window     1.47  ERROR You need the Window module 1.47 to run Surface
RMEnsure Menu       0.32  RMLoad System:modules.toolbox.menu
RMEnsure Menu       0.32  ERROR You need the Menu module 0.32 to run Surface
RMEnsure Iconbar    1.18  RMLoad System:modules.toolbox.iconbar
RMEnsure Iconbar    1.18  ERROR You need the Iconbar module 1.18 to run Surface
RMEnsure ProgInfo   0.14  RMLoad System:modules.toolbox.proginfo
RMEnsure ProgInfo   0.14  ERROR You need the ProgInfo module 0.14 to run Surface
|
| Do we need any debugging?
|Set Surface$Debug 1
|
| Check memory allocation
WimpSlot -min 200K -max 200K
|
| Now start program
Run <Surface$Dir>.!RunImage %*0
