|
| !Run file for ProSound
|
Set ProSound$Dir <Obey$Dir>

Run <ProSound$Dir>.!Setup

IconSprites <ProSound$Dir>.!Sprites22
IconSprites <ProSound$Dir>.Sprites22

RMEnsure UtilityModule 3.10 Error You need RISC OS 3.10 or later to run ProSound.

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

If "<ARMovie$Dir>" = "" Then Error Unable to locate the ARMovie directory.

RMEnsure ProSound 0.62 Run <ProSound$Dir>.!Modules
RMEnsure ProSound 0.62 Error Your version of the ProSound module is too old.

Set RISCOS%Version 3.50
RMEnsure UtilityModule 3.50 Set RISCOS%Version 3.10

WimpSlot -min 32k -max 32k
Run <ProSound$Dir>.CheckRun -taskname ProSound -sysvar ProSound%Running
If "<ProSound%Running>"<>"0" Then Error You cannot run two copies of ProSound simultaneously

WimpSlot -min 440k -max 440k
Run <ProSound$Dir>.Resources.!Intro

WimpSlot -min 520k -max 520k
Run <ProSound$Dir>.!RunImage %*0

Unset ProSound$VM2
Unset ProSound$VM3
Unset ProSound$VM4
Unset ProSound$VM5
Unset ProSound$VM6
Unset ProSound$VM7
Unset ProSound$VM8
