home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RISC DISC 1
/
RISC_DISC_1.iso
/
commercial
/
4mation
/
smart
/
!smArt
/
!Run
< prev
next >
Wrap
Text File
|
1991-12-01
|
1KB
|
37 lines
| !smArt
| Version 1.02
|
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.66 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.66 RMload System:modules.clib
RMensure SharedClibrary 3.66 Error You need at least version 3.66 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
|
| Grab extra memory for resources
Wimpslot -min 256K -max 256K
|
Set Alias$@RunType_C6A Run <Obey$Dir>.!Run %%*0
Set File$Type_C6A smArt
|
Set smArt$Dir <Obey$Dir>
Wimpslot -min 224K -max 224K
IconSprites <smArt$Dir>.!Sprites
Run <smArt$Dir>.!RunImage %*0