home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 1 / AU_CD1.iso / demos / s_to_z / topograph / _topo2d / _run < prev    next >
Text File  |  1993-05-06  |  1KB  |  43 lines

  1. | -> <Topo$Dir>.!Run
  2.  
  3. Set Topo2D$Dir <Obey$Dir>
  4.  
  5. Set File$Type_BFF Map
  6. SetMacro Alias$@RunType_BFF Run |<Topo2D$Dir>.!Run %%*0
  7.  
  8. | Set up file types
  9. IconSprites <Topo2D$Dir>.!Sprites
  10.  
  11. | Ensure we have FPEmulator
  12.  
  13. RMEnsure FPEmulator 2.80 If "<System$Path>" = "" then Error 0 System resources cannot be found
  14. RMEnsure FPEmulator 2.80 RMLoad system:Modules.FPEmulator
  15. RMEnsure FPEmulator 2.80 Error You need FPEmulator 2.80 or later
  16.  
  17. | Ensure we have the shared C library
  18.  
  19. Set Topo$CLibLoaded 1
  20.  
  21. RMEnsure SharedCLibrary 0.00 Set Topo$CLibLoaded 0
  22. If Topo$CLibLoaded=0 then If "<System$Path>" = "" then Error 0 System resources cannot be found
  23.  
  24. If Topo$CLibLoaded=0 then RMLoad system:Modules.CLib
  25.  
  26. RMEnsure SharedCLibrary 3.75 Error You need SharedCLibrary 3.75 or later
  27. Unset Topo$CLibLoaded
  28.  
  29. RMEnsure Draw 1.01 Error You need Draw 1.01 or later
  30.   
  31. RMEnsure ColourTrans 0.51 RMLoad system:Modules.Colours
  32. RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
  33.  
  34. RMEnsure SpriteExtend 0.20 Error You need SpriteExtend 0.20 or later
  35.  
  36. Set TopoPrefs$Path <Topo2D$Dir>.!Prefs
  37.  
  38. wimpslot -min 416k -max 416k
  39.  
  40. | Go
  41. |
  42. Run <Topo2D$Dir>.!RunImage %*0
  43.