| RISC OS Loader for !VZap
| Written by Paul Vigay 1994
|
If "<System$Path>" = "" then Error 0 !System has not been seen yet.
Set VZap$Path <obey$dir>
IconSprites <VZap$Path>.!Sprites
RMEnsure MessageTrans 0.04 RMLoad System:Modules.MsgTrans
RMEnsure MessageTrans 0.04 Error !VZap needs MessageTrans version 0.04 or later
RMEnsure FPEmulator 2.70 RMLoad System:modules.FPEmulator
RMEnsure FPEmulator 2.70 Error !VZap needs FPEmulator 2.70 or later in your !System.modules directory.
RMEnsure ABCLibrary 2.00 RMLoad System:modules.ABCLib
RMEnsure ABCLibrary 2.00 Error !VZap needs ABCLibrary 2.00 or later in your !System.modules directory.
| Check for RISC OS 3 and load correct iconsprites
Set VZap$RISCOS3 yes
RMEnsure UtilityModule 2.02 Set VZap$RISCOS3 no
IF VZap$RISCOS3="no"  THEN IconSprites <VZap$Path>.Resources.RO2sprites
UnSet VZap$RISCOS3
WimpSlot -min 220k -max 220k
Run "<VZap$Path>.!RunImage" %*0
