home *** CD-ROM | disk | FTP | other *** search
- | !Run file for AudioWorks digital sound editor
- | This Run file contains user servicable parts. See the comments below.
-
- |----------------------------------------------------------------------------
- | Check if system resources are available.
-
- if "<System$Path>" = "" then Error 0 System resources cannot be found
-
- |----------------------------------------------------------------------------
- | Ensure enough memory available to run, and load our icon sprites.
-
- WimpSlot -min 224K -max 224K
- IconSprites <Obey$Dir>.!Sprites
-
- |----------------------------------------------------------------------------
- | Set things up so that AudioWorks and DataVox files will run AudioWorks if
- | they are double-clicked
-
- Set File$Type_bd6 AudioWrk
- Set Alias$@RunType_bd6 Run <Obey$Dir>.!Run %%*0
-
- Set File$Type_bd5 Envelope
- Set Alias$@RunType_bd5 Run <Obey$Dir>.!Run %%*0
-
- Set File$Type_108 DataVox
- Set Alias$@RunType_108 Run <Obey$Dir>.!Run %%*0
-
- |----------------------------------------------------------------------------
- | Ensure all the modules we need are present
-
- RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
- RMEnsure FPEmulator 2.80 Error You need at least version 2.80 of the Floating Point Emulator
-
- RMensure SharedClibrary 3.75 RMLoad System:Modules.CLib
- RMensure SharedClibrary 3.75 Error You need at least version 3.75 of the shared C library
-
- RMEnsure IRQUtils 0.12 RMLoad System:Modules.IRQUtils
-
- RMEnsure DSDriver 1.05 RMLoad <Obey$Dir>.RMStore.DSDriver
- RMEnsure DSDriver 1.05 Error You need DSDriver 1.05 or later. Somebody's been messing with your copy of AudioWorks!
-
- RMEnsure WimpKey 1.00 RMLoad <Obey$Dir>.RMStore.WimpKey
- RMEnsure WimpKey 1.00 Error You need WimpKey 1.00 or later. Somebody's been messing with your copy of AudioWorks!
-
- |----------------------------------------------------------------------------
- | AudioWorks application directory
- | Read-only resources must be placed in <AudioWorks$Dir>.Resources.
- | AudioWorks$Path is set up from this when the program is run.
-
- Set AudioWorks$Dir <Obey$Dir>
- Set AudioWorks$Path_Message Sorry, but AudioWorks can't locate it's own resources!
-
- |----------------------------------------------------------------------------
- | AudioWorks 'panic save' directory name (written to on fatal error)
- | The actual directory will be CDIR'd if it is needed
-
- Set temp$dir <Wimp$ScrapDir>
- IF "<temp$dir>" = "" THEN Set temp$dir $
- Set AudioWorks$PanicDir <temp$dir>.AudioWorks
- UnSet temp$dir
-
- |----------------------------------------------------------------------------
- | AudioWorks preference file name:
- | This is the only Writable resource used, so for network use you should
- | comment out this line and set the variable up as appropriate for individual
- | users if you want each user to have personal prefs
-
- Set AudioWorks$Prefs <Obey$Dir>.AudioPrefs
-
- |----------------------------------------------------------------------------
- | Oh, and of course, we mustn't forget to run the main program!
-
- WimpSlot -min 224k -max 224k
- Run <AudioWorks$Dir>.!RunImage %*0