home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1995
/
ARCHIVE95.iso
/
discs
/
pipeline
/
pipedream
/
!PipeDream
/
!Run
< prev
next >
Wrap
Text File
|
1991-12-06
|
2KB
|
68 lines
|
|
| Run file for PipeDream local resources
|
Set PipeDream$Dir <Obey$Dir>
|
|
| Test for and initialise PipeDream global resources.
|
| Remove this comment to enable test. Do NOT do this
| unless you have PipeDream global resources available
|
| If "<PDGlobal$Dir>" ="" then Error PipeDream global resources can not be found
|
If "<PDGlobal$Dir>"<>"" then Run <PDGlobal$Dir>.!Boot
|
|
| Initialise PipeDream local resources
|
Run <PipeDream$Dir>.!Boot
|
Run <PipeDream$Dir>.!Path
|
If "<PDGlobal$Dir>" <> "" then Set PipeDream$ImageDir <PDGlobal$Dir> else Set PipeDream$ImageDir <PipeDream$Dir>
|
| Check Font Manager version
|
RMEnsure FontManager 2.42 Echo Warning: you need Outline FontManager 2.42 or later to use PipeDream 4 Charts
||
| Ensure we have FPEmulator
|
RMEnsure FPEmulator 2.70 If "<System$Path>" = "" then WimpSlot -min 640k
RMEnsure FPEmulator 2.70 If "<System$Path>" = "" then Run <PipeDream$ImageDir>.System.SqM_FPE { > NULL: }
RMEnsure FPEmulator 2.70 If "<System$Path>" <> "" then RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.70 Error You need FPEmulator 2.70 or later
|
| Ensure we have ColourTrans
|
RMEnsure ColourTrans 0.52 If "<System$Path>" = "" then RMLoad <PipeDream$ImageDir>.System.Colours
RMEnsure ColourTrans 0.52 If "<System$Path>" <> "" then RMLoad System:Modules.Colours
RMEnsure ColourTrans 0.52 Error You need ColourTrans 0.52 or later
|
| Ensure we have the shared C library and determine its vintage
|
Set PipeDream$CLibLoaded 1
RMEnsure SharedCLibrary 0.00 Set PipeDream$CLibLoaded 0
If PipeDream$CLibLoaded=0 then If "<System$Path>" = "" then WimpSlot -min 640k
If PipeDream$CLibLoaded=0 then If "<System$Path>" = "" then Run <PipeDream$ImageDir>.System.SqM_C
If PipeDream$CLibLoaded=0 then If "<System$Path>" <> "" then RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 3.50 Error You need SharedCLibrary 3.50 or later
Set PipeDream$NewCLib 0
RMEnsure SharedCLibrary 3.75 Set PipeDream$NewCLib 1
Unset PipeDream$CLibLoaded
|
| Allocate fixed memory for documents
|
| The first parameter controls the amount of additional memory
| that PipeDream requires to be in the WimpSlot on startup
|
| The second parameter is how much extra memory PipeDream will
| need to claim on startup on top of the initial WimpSlot
|
Run <PipeDream$ImageDir>.ImageSlot <PipeDream$ImageDir>.!RunImage 16K 32K
|
| Go, Go, Go
|
Run <PipeDream$ImageDir>.!RunImage <PipeDream$Dir>.^.Documents.DemoReadMe %*0