home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / commercial / 4mation / smart / !smArt / !Run < prev    next >
Text File  |  1991-12-01  |  1KB  |  37 lines

  1. | !smArt
  2. | Version 1.02
  3. |
  4. if "<System$Path>" = "" then Error 0 System resources cannot be found
  5. |
  6. RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
  7. RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
  8. |
  9. set clib$flag 0
  10. RMensure SharedClibrary 3.66 set clib$flag 1
  11. RMensure SharedClibrary 0 set clib$flag 0
  12. if "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory.
  13. unset clib$flag
  14. |  
  15. | Install the shared C library (clib)
  16. | -----------------------------------
  17. |
  18. RMensure SharedClibrary 3.66 RMload System:modules.clib
  19. RMensure SharedClibrary 3.66 Error You need at least version 3.66 of the shared C library
  20. |
  21. | Install the floating point emulator
  22. | -----------------------------------
  23. |
  24. RMensure FPEmulator 2.80 RMload System:modules.FPEmulator
  25. RMensure FPEmulator 2.80 Error You need at least version 2.80 of the floating point emulator
  26. |
  27. | Grab extra memory for resources
  28. Wimpslot -min 256K -max 256K
  29. |
  30. Set Alias$@RunType_C6A Run <Obey$Dir>.!Run %%*0
  31. Set File$Type_C6A smArt
  32. |
  33. Set smArt$Dir <Obey$Dir>
  34. Wimpslot -min 224K -max 224K
  35. IconSprites <smArt$Dir>.!Sprites
  36. Run <smArt$Dir>.!RunImage %*0
  37.