home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 1 / AU_CD1.iso / demos / a_to_i / chameleon / !Chameleon / !Run < prev    next >
Text File  |  1992-04-09  |  2KB  |  48 lines

  1. | !Chameleon
  2. | Version 2.00
  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.75 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.75 RMload System:modules.clib
  19. RMensure SharedClibrary 3.75 Error You need at least version 3.75 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. | Install the Fountain fill module
  28. | --------------------------------
  29. |
  30. RMEnsure FountainFill 0.43 RMLoad <Obey$Dir>.Fountain
  31. RMEnsure FountainFill 0.43 Error You need FountainFill 0.43 or later
  32. |
  33. |
  34. | Set up print handling
  35. | ---------------------
  36. |
  37. Set Alias$@PrintType_AFF Run <Obey$Dir>.!Run -Print %%*0
  38. Set Alias$@PrintType_CC3 Run <Obey$Dir>.!Run -Print %%*0
  39. Set Alias$@PrintType_C4B Run <Obey$Dir>.!Run -Print %%*0
  40. |
  41. Set Chameleon$Dir <Obey$Dir>
  42. | Get extra (for fountain buffer etc)
  43. Wimpslot -min 416K -max 416K
  44. |
  45. Wimpslot -min 384K -max 384K
  46. Run <Obey$Dir>.IconSprDiy <Chameleon$Dir>.!Sprites
  47. Run <Chameleon$Dir>.!RunImage %*0
  48.