home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 1
/
AU_CD1.iso
/
demos
/
s_to_z
/
topograph
/
_topo2d
/
_run
< prev
next >
Wrap
Text File
|
1993-05-06
|
1KB
|
43 lines
| -> <Topo$Dir>.!Run
Set Topo2D$Dir <Obey$Dir>
Set File$Type_BFF Map
SetMacro Alias$@RunType_BFF Run |<Topo2D$Dir>.!Run %%*0
| Set up file types
IconSprites <Topo2D$Dir>.!Sprites
| Ensure we have FPEmulator
RMEnsure FPEmulator 2.80 If "<System$Path>" = "" then Error 0 System resources cannot be found
RMEnsure FPEmulator 2.80 RMLoad system:Modules.FPEmulator
RMEnsure FPEmulator 2.80 Error You need FPEmulator 2.80 or later
| Ensure we have the shared C library
Set Topo$CLibLoaded 1
RMEnsure SharedCLibrary 0.00 Set Topo$CLibLoaded 0
If Topo$CLibLoaded=0 then If "<System$Path>" = "" then Error 0 System resources cannot be found
If Topo$CLibLoaded=0 then RMLoad system:Modules.CLib
RMEnsure SharedCLibrary 3.75 Error You need SharedCLibrary 3.75 or later
Unset Topo$CLibLoaded
RMEnsure Draw 1.01 Error You need Draw 1.01 or later
RMEnsure ColourTrans 0.51 RMLoad system:Modules.Colours
RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
RMEnsure SpriteExtend 0.20 Error You need SpriteExtend 0.20 or later
Set TopoPrefs$Path <Topo2D$Dir>.!Prefs
wimpslot -min 416k -max 416k
| Go
|
Run <Topo2D$Dir>.!RunImage %*0