home *** CD-ROM | disk | FTP | other *** search
/ Acorn Replay Demonstration Disc 1 / REPLAY.iso / magpie / _magpiread / _run < prev    next >
Text File  |  1992-05-06  |  4KB  |  92 lines

  1. | !Run File for Magpie Browser application. v1.30
  2. |
  3. | Copyright (c) Peter Cole & Logotron Ltd., 1992.
  4. |
  5. | NB: There are some user editable parts to this file, if
  6. |     you make changes, please ensure that you know what 
  7. |     you are doing. At the least, take a copy of this file
  8. |     first.
  9. |-----------------------------------------------------------
  10. |
  11. iconsprites <Obey$Dir>.!Sprites
  12. set File$Type_C99 Binder
  13. set MagpieBrowse$Dir <Obey$Dir>
  14. |
  15. | The following defines that the action on double clicking a binder file
  16. | should be to load the binder into the browser system.
  17. |
  18. | If you wish binders to load into the author system, comment out the
  19. | following line, and the similar line in the !Boot file, then edit
  20. | the !Boot and !Run files for !Magpie.
  21. |
  22. | Commented out since default is load into author.
  23. |
  24. | set Magpie$Default Browse
  25. |
  26. if "<Magpie$Default>"="Browse" then set Alias$@RunType_C99 /<MagpieBrowse$Dir>.!run -B%%*0
  27. if "<Magpie$Default>"="Browse" then set Alias$@PrintType_C99 /<MagpieBrowse$Dir>.!run -p -B%%*0
  28. |
  29. | Define the interface language, and any startup processing for the language
  30. |
  31. set Magpie$Language English
  32. |
  33. if "<Magpie$Language>"="Welsh" then run <MagpieBrowse$Dir>.wywy { > null: }
  34. |
  35. | Ensure that !System has been run so that we can load any global resources not
  36. | currently loaded.
  37. |
  38. if "<System$Path>" = "" then Error 0 System resources cannot be found, (try running !System).
  39. |           
  40. | Ensure that an old version of the shared C library is not installed - overwriting
  41. | it would crash any current applications using it.
  42. |                               
  43. set clib$flag 0
  44. RMensure SharedClibrary 3.75 set clib$flag 1
  45. RMensure SharedClibrary 0 set clib$flag 0
  46. if "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory - please refer to your Magpie user guide.
  47. unset clib$flag
  48. |
  49. RMEnsure SharedCLibrary 3.75 RMLoad System:Modules.CLib
  50. RMEnsure SharedCLibrary 3.75 Error You need shared C library (CLib) version 3.75 or later - please refer to your Magpie User Guide.
  51. |
  52. RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
  53. RMEnsure FPEmulator 2.80 Error You need version 2.80 of later of the floating point emulator (FPEmulator).
  54. |
  55. RMEnsure ColourTrans 0.52 rmload System:Modules.Colours
  56. RMEnsure ColourTrans 0.52 Error You need at least version 0.52 of the Colour Selector
  57. |
  58. | Load the irqutils module. It is not fatal if you don't load this but sampling
  59. | quality (and playback) will be (slightly) degraded.
  60. |
  61. RmEnsure IRQUtils 0.12 RMLoad System:Modules.IRQUtils
  62. |                       
  63. | Load other 'improvement' modules for sound playback.
  64. |
  65. RMEnsure HourGlass 2.02 RMLoad System:Modules.HourGlass
  66. RMEnsure HourGlass 2.02 Error You need at least version 2.02 of HourGlass
  67. RMEnsure SoundScheduler 1.13 RMLoad System:Modules.Sound2
  68. RMEnsure SoundScheduler 1.13 Error You need at least version 1.13 of SoundScheduler
  69. |
  70. |                
  71. WimpSlot -min 160K -max 160K     
  72. |
  73. | Program parameters:
  74. |
  75. |   -Bfilename - binder file to load.
  76. |
  77. |   -G Gain value to be used in configuration of Armadeus sampling board.
  78. |      Default value = 60.
  79. |      NB: Mic input is automatically selected.
  80. |
  81. |   -R Sampling rate tapedeck to use - default = 120us (8.32KHz) 
  82. |         Mimimum value 80 (12.5kHz) on Arm2 without Mem1CA but IRQUtils loaded.
  83. |         (lower values result in 'Pinky&Perky' quality!).
  84. |
  85. |   -P Print binder. Magpie will start up, open the binder, start print dialogue
  86. |      and, upon completion, close down. This parameter is for use on alias$@printtype.
  87. |
  88. |   -Cname Country to use, where name is the name of the directory containing the
  89. |          the country dependent files, terminated by a . e.g: -cWelsh.
  90. |
  91. Run "<MagpieBrowse$Dir>.!runImage" -sg -g60 -r120 -c"<Magpie$Language>". %*0
  92.