home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 1 / AU_CD1.iso / demos / a_to_i / flossy / _flossy / _run < prev    next >
Text File  |  1993-09-20  |  2KB  |  56 lines

  1. | !Flossy
  2. | Version 1.00
  3. |
  4. RMEnsure BorderUtils 0 RMEnsure WindowManager 3.17 RMLoad <Obey$Dir>.BorderUtil
  5. Set UseFlossy1 0
  6. If "<Obey$Dir>" = "ADFS::Flossy2.$.!Flossy" Then Set UseFlossy1 1
  7. If "<Obey$Dir>" = "adfs::Flossy2.$.!Flossy" Then Set UseFlossy1 1
  8. If "<Obey$Dir>" = "ADFS::Flossy3.$.!Flossy" Then Set UseFlossy1 1
  9. If "<Obey$Dir>" = "adfs::Flossy3.$.!Flossy" Then Set UseFlossy1 1
  10. If "<Obey$Dir>" = "ADFS::Flossy4.$.!Flossy" Then Set UseFlossy1 1
  11. If "<Obey$Dir>" = "adfs::Flossy4.$.!Flossy" Then Set UseFlossy1 1
  12. If "<UseFlossy1>" = "1" Then Set Flossy$Dir ADFS::Flossy1.!Flossy Else Set Flossy$Dir <Obey$Dir>
  13. Unset UseFlossy1
  14. |
  15. Set FlossyData$Dir <Flossy$Dir>
  16. |
  17. IconSprites <Obey$Dir>.!Sprites
  18. |
  19. if "<System$Path>" = "" Then Run ADFS::Flossy1.!System
  20. if "<System$Path>" = "" then Error 0 System resources cannot be found
  21. |
  22. if "<Font$Path>" = "" Then Run ADFS::Flossy1.!Fonts
  23. |
  24. RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
  25. RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
  26. |
  27. set clib$flag 0
  28. RMensure SharedClibrary 3.75 set clib$flag 1
  29. RMensure SharedClibrary 0 set clib$flag 0
  30. if "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory.
  31. unset clib$flag
  32. |  
  33. | Install the shared C library (clib)
  34. | -----------------------------------
  35. |
  36. RMensure SharedClibrary 3.75 RMload System:modules.clib
  37. RMensure SharedClibrary 3.75 Error You need at least version 3.75 of the shared C library
  38. |
  39. | Install the floating point emulator
  40. | -----------------------------------
  41. |
  42. RMensure FPEmulator 2.80 RMload System:modules.FPEmulator
  43. RMensure FPEmulator 2.80 Error You need at least version 2.80 of the floating point emulator
  44. |
  45. | Install the Tracker player program
  46. | ----------------------------------
  47. |
  48. RMEnsure 4MationTracker 3.12 RMLoad <Flossy$Dir>.PlayerMod
  49. RMEnsure 4MationTracker 3.12 Error You need 4MationTracker 3.12 or later
  50. |
  51. | Grab extra memory for resources
  52. Wimpslot -min 320K -max 320K
  53. |
  54. Wimpslot -min 256K -max 256K
  55. Run <Flossy$Dir>.!RunImage %*0
  56.