home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
All About Planes & All About Handwriting
/
Topologika_AllAboutPlanesHandwriting.iso
/
extras
/
topodemos
/
musicbox
/
_musicboxd
/
_run
next >
Wrap
Text File
|
1995-01-27
|
1KB
|
35 lines
| !Run for Music Box
| Change the below line to include the ROM voices you want to use. It should
| be a list of voice names the same as those found when you issue a *VOICES
| command. The voice names should be seperated by a single space.
SET MBROM$Instruments "WaveSynth-Beep StringLib-Soft Percussion-Snare"
| D O N O T C H A N G E A N Y T H I N G B E L O W T H I S L I N E
|____________________________________________________________________________
Set MusicBoxD$Dir <Obey$Dir>
Set ROMInstrumentSprites$Dir <Obey$Dir>.ROMInsts.Sprites
Set ROMInstrumentSprites22$Dir <Obey$Dir>.ROMInsts.Sprites22
RMEnsure AEHModule 1.25 RMLoad <Obey$Dir>.AEHModule
RMEnsure DummyVoice 1.00 RMLoad <Obey$Dir>.DummyVoice
IF "<MBFlag>" = "3" THEN ERROR "Music box is already loaded."
SET MBFlag 0
Set MBConfigFiles$Dir <Obey$Dir>.Configure
Set MBTuneFiles$Dir <Obey$Dir>.Data.Tunes
Set MBBeatFiles$Dir <Obey$Dir>.Data.Beats
Set MBChordFiles$Dir <Obey$Dir>.Data.Chords
Set MBSoundFiles$Dir <Obey$Dir>.Data.Sounds
Set MBInstruments$Dir <Obey$Dir>.Data.Instrumnts
Set MBInstrumentSprites$Dir <Obey$Dir>.Data.Sprites
Set MBInstrumentSprites22$Dir <Obey$Dir>.Data.Sprites22
Iconsprites <Obey$Dir>.!Sprites
|RMEnsure MusicBox 2.00 RMLoad <Obey$Dir>.MBLd
RMEnsure AEHProc 1.00 RMLoad <Obey$Dir>.AEHProc
WimpSlot -min 550k -max 550k
Run <Obey$Dir>.WimpMsg
|RMEnsure MusicBox 1.00 RMLoad <Obey$Dir>.MusicBox
WimpSlot -min 550k -max 550k
IF "<MBFLAG>"=256 THEN Run <Obey$Dir>.!RunImage