home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / _pipedream / _run < prev    next >
Text File  |  1995-08-28  |  3KB  |  74 lines

  1. |
  2. | Run file for PipeDream local resources
  3. |
  4. Set PipeDream$Dir <Obey$Dir>
  5. |
  6. |
  7. | Test for and initialise PipeDream global resources.
  8. |
  9. | Remove this comment to enable test. Do NOT do this
  10. | unless you have PipeDream global resources available
  11. |
  12. | If "<PDGlobal$Dir>" ="" then Error PipeDream global resources can not be found
  13. |
  14. If "<PDGlobal$Dir>"<>"" then Run <PDGlobal$Dir>.!Boot
  15. |
  16. |
  17. | Initialise PipeDream local resources
  18. |
  19. Run <PipeDream$Dir>.!Boot
  20. |
  21. Run <PipeDream$Dir>.!Path
  22. |
  23. If "<PDGlobal$Dir>" <> "" then Set PipeDream$ImageDir <PDGlobal$Dir>
  24. If "<PDGlobal$Dir>"  = "" then Set PipeDream$ImageDir <PipeDream$Dir>
  25. |
  26. |
  27. | Ensure we have the shared C library and determine its vintage
  28. |
  29. Set PipeDream$CLibLoaded 1
  30. RMEnsure SharedCLibrary 0.00 Set PipeDream$CLibLoaded 0
  31. If PipeDream$CLibLoaded=0 then If "<System$Path>" <> "" then RMLoad System:Modules.CLib
  32. If PipeDream$CLibLoaded=0 then If "<System$Path>"  = "" then WimpSlot -min 640k
  33. If PipeDream$CLibLoaded=0 then If "<System$Path>"  = "" then Run <PipeDream$ImageDir>.System.SqM_C
  34. Unset PipeDream$CLibLoaded
  35. Set PipeDream$NewCLib 0
  36. RMEnsure SharedCLibrary 3.75 Set PipeDream$NewCLib 1
  37. RMEnsure SharedCLibrary 3.50 Error You need SharedCLibrary 3.50 or later
  38. |
  39. | Ensure we have ColourTrans
  40. |
  41. RMEnsure ColourTrans 0.52 If "<System$Path>" <> "" then RMLoad System:Modules.Colours
  42. RMEnsure ColourTrans 0.52 If "<System$Path>"  = "" then RMLoad <PipeDream$ImageDir>.System.Colours
  43. RMEnsure ColourTrans 0.52 Error You need ColourTrans 0.52 or later
  44. |
  45. | Ensure we have FPEmulator
  46. |
  47. RMEnsure FPEmulator 2.70 If "<System$Path>" <> "" then RMLoad System:Modules.FPEmulator
  48. RMEnsure FPEmulator 2.70 If "<System$Path>"  = "" then WimpSlot -min 640k
  49. RMEnsure FPEmulator 2.70 If "<System$Path>"  = "" then Run <PipeDream$ImageDir>.System.SqM_FPE { > NULL: }
  50. RMEnsure FPEmulator 2.70 Error You need FPEmulator 2.70 or later
  51. |
  52. | Check Font Manager version
  53. |
  54. RMEnsure FontManager 2.42 SetMacro Font$Path <Font$Prefix>.
  55. RMEnsure FontManager 2.42 WimpSlot -min 640k
  56. RMEnsure FontManager 2.42 Run <PipeDream$ImageDir>.System.SqM_Fon { > NULL: }
  57. RMEnsure FontManager 2.42 Echo Warning: you need Outline FontManager 2.42 or later to use PipeDream 4 Charts
  58. |
  59. RMEnsure SuperSample 0.06 RMLoad <PipeDream$ImageDir>.System.Super
  60. |
  61. | Allocate fixed memory for documents
  62. |
  63. | The first parameter controls the amount of additional memory
  64. | that PipeDream requires to be in the WimpSlot on startup
  65. |
  66. | The second parameter is how much extra memory PipeDream will
  67. | need to claim on startup on top of the initial WimpSlot
  68. |
  69. Run <PipeDream$ImageDir>.ImageSlot <PipeDream$ImageDir>.!RunImage 20K 32K
  70. |
  71. | Go, Go, Go
  72. |
  73. Run <PipeDream$ImageDir>.!RunImage <PipeDream$Dir>.Documents.DemoReadMe %*0
  74.