|>!Run
|
| !Run file for EarthMap
|

Obey <Obey$Dir>.!Boot

Set EarthMap$MapsDir <EarthMap$Dir>.Maps
Set EarthMap$ModulesDir <EarthMap$Dir>.Modules
Set EarthMap$ChoicesDir <EarthMap$Dir>.Choices
If "<Choices$Write>" <> "" then Set EarthMap$ChoicesDir <Choices$Write>.EarthMap

RMEnsure ZeriRegister 0.00 RMLoad <EarthMap$ModulesDir>.ZRegister
RMEnsure ZeriWimpUtils 1.10 RMLoad <EarthMap$ModulesDir>.ZWimpUtils
RMEnsure ZeriWimpUtils 1.10 Error I need ZeriWimpUtils 1.10 or later
RMEnsure ZeriBuffer 1.10 RMLoad <EarthMap$ModulesDir>.ZBuffer
RMEnsure ZeriBuffer 1.10 Error I need ZeriBuffer 1.10 or later
RMEnsure ZeriLocal 1.10 RMLoad <EarthMap$ModulesDir>.ZLocal
RMEnsure ZeriLocal 1.10 Error I need ZeriLocal 1.10 or later
RMEnsure ZeriArea 1.20 RMLoad <EarthMap$ModulesDir>.ZArea
RMEnsure ZeriArea 1.20 Error I need ZeriArea 1.20 or later

WimpSlot -min 56K -max 56K

RegisterModule ZeriWimpUtils
RegisterModule ZeriBuffer
RegisterModule ZeriLocal
RegisterModule ZeriArea

Run <EarthMap$Dir>.!RunImage

UnregisterModule ZeriWimpUtils
UnregisterModule ZeriBuffer
UnregisterModule ZeriLocal
UnregisterModule ZeriArea