home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / commercial / techsoft / FastTrax / !Fastrax / !Run < prev    next >
Encoding:
Text File  |  1994-04-18  |  1.5 KB  |  38 lines

  1. | run file for Fastrax Demo application
  2. |
  3. *IconSprites <Obey$Dir>.!Sprites
  4. |
  5. if "<System$Path>" = "" then Error 0 System resources cannot be found
  6. if "<Fastrax$PrintFile>" = "" then Set Fastrax$PrintFile printer:
  7. Set Fast$Scrap ""
  8. Set Fastrax$OS ""
  9. |
  10. RMEnsure SharedCLibrary 3.75 RMLoad System:Modules.Clib
  11. RMEnsure SharedCLibrary 3.75 Error You need Clib 3.75 or later
  12. |
  13. *Run <Obey$Dir>.GetVer
  14. if "<Wimp$ScrapDir>" = "" Then Set Fast$Scrap <Obey$Dir>.Scrap
  15. if Fast$Scrap = "" Then Set Fast$Scrap <Wimp$ScrapDir>.Fastrax
  16. Set Fastrax$ScrapDir <Fast$Scrap>
  17. CDir <Fastrax$ScrapDir>
  18. |
  19. RMEnsure Draw 1.01 Error You need Draw 1.01 or later
  20. RMEnsure FPEmulator 4.03 RMLoad System:Modules.FPEmulator
  21. RMEnsure FPEmulator 4.03 Error You need FPEmulator 4.03 or later
  22. |
  23. if Fastrax$OS = "2" Then RMEnsure ColourTrans 0.52 RMLoad System:Modules.Colours
  24. if Fastrax$OS = "2" Then RMEnsure ColourTrans 0.52 Error You need ColourTrans 0.52 or later
  25. |
  26. if Fastrax$OS = "3" Then RMEnsure ColourTrans 1.57 RMLoad System:310.Modules.Colours
  27. if Fastrax$OS = "3" Then RMEnsure ColourTrans 1.57 RMLoad System:Modules.Colours
  28. if Fastrax$OS = "3" Then RMEnsure ColourTrans 1.57 Error You need ColourTrans 1.57 or later
  29. |
  30. if Fastrax$OS = "3" Then RMEnsure DrawFile 1.30 RMLoad <Obey$Dir>.Modules.DrawFile
  31. if Fastrax$OS = "3" Then RMEnsure DrawFile 1.30 Error You need DrawFile module 1.30 or later
  32. *Set Fastrax$Dir <Obey$Dir>
  33. | Claim a "slot" from the WIMP
  34.  *WimpSlot -min 640k -max 800k
  35. *Run <Fastrax$Dir>.!RunImageD %*0 <Fastrax$ScrapDir>
  36.