| !Run 24/10/25

Set MidiMan$Dir <Obey$Dir>
Run <Obey$Dir>.Resources.ResSelect

If "<System$Path>" = "" Then Error 0 System resources cannot be found
If "<MIDISupport$Path>" = "" Then Error 0 MIDISupport resources cannot be found

RMEnsure MIDISupport 0.00 Error MIDI Support needs to be run prior to MidiMan
RMEnsure MIDISupport 0.06 Error MidiMan needs MIDI Support 0.05 or later
RMEnsure MIDI 0.06 Error MidiMan needs MIDI 0.06 or later

If "<Choices$Write>" <> "" Then CDir <Choices$Write>.MIDISynth
If "<Choices$Write>" <> "" Then Set MIDISynthChoices$Dir <Choices$Write>.MIDISynth Else Set MIDISynthChoices$Dir <MIDISupport$Dir>.Drivers.MIDISynth

WimpSlot -min 128k -max 128k
| use -c option to centralise windows on startup
Run <MidiMan$Dir>.!RunImage -c
|Run <MidiMan$Dir>.!RunImage
