Home » Archimedes archive » Archimedes World » AW-1995-06-Disc1.adf » June95_1 » Education/!Meg2/!Run

Education/!Meg2/!Run

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1995-06-Disc1.adf » June95_1
Filename: Education/!Meg2/!Run
Read OK:
File size: 046F bytes
Load address: 0000
Exec address: 0000
File contents
Set Meg2$Dir <Obey$Dir>
Set Sound$Dir <Obey$Dir>.SoundFX

| Ensure the System variable is there
If "<System$Dir>"="" Then Error System has not been seen. Please locate and boot

| Ensure essential modules are loaded, ie WimpExtension
RMEnsure WimpExtension 2.18 RMLoad System:Modules.WimpExt
RMEnsure WimpExtension 2.18 Error WimpExtension version 2.18 is required

RMEnsure ColourTrans 0.52 RMLoad System:Modules.Colours
RMEnsure ColourTrans 0.52 Error ColourTrans version 0.52 os required

| Ensure the sound modules are loaded
RMEnsure Explosion 1.00 RMLoad <Sound$Dir>.Explosion
RMEnsure Explosion 1.00 Error Voice module failed to initialise

RMEnsure GoodieDead 1.00 RMLoad <Sound$Dir>.GoodieDead
RMEnsure GoodieDead 1.00 Error Voice module failed to initialise

RMEnsure Wrong 1.00 RMLoad <Sound$Dir>.Wrong
RMEnsure Wrong 1.00 Error Voice module failed to initialise

RMEnsure Yippee 1.00 RMLoad <Sound$Dir>.Yippee
RMEnsure Yippee 1.00 Error Voice module failed to initialise

Configure FontMax1 48
Configure FontMax2 48
Configure FontMax3 48

WimpSlot -min 320k -max 320k
WimpSlot -min 128k -max 128k

Run <Meg2$Dir>.!RunImage
00000000  53 65 74 20 4d 65 67 32  24 44 69 72 20 3c 4f 62  |Set Meg2$Dir <Ob|
00000010  65 79 24 44 69 72 3e 0a  53 65 74 20 53 6f 75 6e  |ey$Dir>.Set Soun|
00000020  64 24 44 69 72 20 3c 4f  62 65 79 24 44 69 72 3e  |d$Dir <Obey$Dir>|
00000030  2e 53 6f 75 6e 64 46 58  0a 0a 7c 20 45 6e 73 75  |.SoundFX..| Ensu|
00000040  72 65 20 74 68 65 20 53  79 73 74 65 6d 20 76 61  |re the System va|
00000050  72 69 61 62 6c 65 20 69  73 20 74 68 65 72 65 0a  |riable is there.|
00000060  49 66 20 22 3c 53 79 73  74 65 6d 24 44 69 72 3e  |If "<System$Dir>|
00000070  22 3d 22 22 20 54 68 65  6e 20 45 72 72 6f 72 20  |"="" Then Error |
00000080  53 79 73 74 65 6d 20 68  61 73 20 6e 6f 74 20 62  |System has not b|
00000090  65 65 6e 20 73 65 65 6e  2e 20 50 6c 65 61 73 65  |een seen. Please|
000000a0  20 6c 6f 63 61 74 65 20  61 6e 64 20 62 6f 6f 74  | locate and boot|
000000b0  0a 0a 7c 20 45 6e 73 75  72 65 20 65 73 73 65 6e  |..| Ensure essen|
000000c0  74 69 61 6c 20 6d 6f 64  75 6c 65 73 20 61 72 65  |tial modules are|
000000d0  20 6c 6f 61 64 65 64 2c  20 69 65 20 57 69 6d 70  | loaded, ie Wimp|
000000e0  45 78 74 65 6e 73 69 6f  6e 0a 52 4d 45 6e 73 75  |Extension.RMEnsu|
000000f0  72 65 20 57 69 6d 70 45  78 74 65 6e 73 69 6f 6e  |re WimpExtension|
00000100  20 32 2e 31 38 20 52 4d  4c 6f 61 64 20 53 79 73  | 2.18 RMLoad Sys|
00000110  74 65 6d 3a 4d 6f 64 75  6c 65 73 2e 57 69 6d 70  |tem:Modules.Wimp|
00000120  45 78 74 0a 52 4d 45 6e  73 75 72 65 20 57 69 6d  |Ext.RMEnsure Wim|
00000130  70 45 78 74 65 6e 73 69  6f 6e 20 32 2e 31 38 20  |pExtension 2.18 |
00000140  45 72 72 6f 72 20 57 69  6d 70 45 78 74 65 6e 73  |Error WimpExtens|
00000150  69 6f 6e 20 76 65 72 73  69 6f 6e 20 32 2e 31 38  |ion version 2.18|
00000160  20 69 73 20 72 65 71 75  69 72 65 64 0a 0a 52 4d  | is required..RM|
00000170  45 6e 73 75 72 65 20 43  6f 6c 6f 75 72 54 72 61  |Ensure ColourTra|
00000180  6e 73 20 30 2e 35 32 20  52 4d 4c 6f 61 64 20 53  |ns 0.52 RMLoad S|
00000190  79 73 74 65 6d 3a 4d 6f  64 75 6c 65 73 2e 43 6f  |ystem:Modules.Co|
000001a0  6c 6f 75 72 73 0a 52 4d  45 6e 73 75 72 65 20 43  |lours.RMEnsure C|
000001b0  6f 6c 6f 75 72 54 72 61  6e 73 20 30 2e 35 32 20  |olourTrans 0.52 |
000001c0  45 72 72 6f 72 20 43 6f  6c 6f 75 72 54 72 61 6e  |Error ColourTran|
000001d0  73 20 76 65 72 73 69 6f  6e 20 30 2e 35 32 20 6f  |s version 0.52 o|
000001e0  73 20 72 65 71 75 69 72  65 64 0a 0a 7c 20 45 6e  |s required..| En|
000001f0  73 75 72 65 20 74 68 65  20 73 6f 75 6e 64 20 6d  |sure the sound m|
00000200  6f 64 75 6c 65 73 20 61  72 65 20 6c 6f 61 64 65  |odules are loade|
00000210  64 0a 52 4d 45 6e 73 75  72 65 20 45 78 70 6c 6f  |d.RMEnsure Explo|
00000220  73 69 6f 6e 20 31 2e 30  30 20 52 4d 4c 6f 61 64  |sion 1.00 RMLoad|
00000230  20 3c 53 6f 75 6e 64 24  44 69 72 3e 2e 45 78 70  | <Sound$Dir>.Exp|
00000240  6c 6f 73 69 6f 6e 0a 52  4d 45 6e 73 75 72 65 20  |losion.RMEnsure |
00000250  45 78 70 6c 6f 73 69 6f  6e 20 31 2e 30 30 20 45  |Explosion 1.00 E|
00000260  72 72 6f 72 20 56 6f 69  63 65 20 6d 6f 64 75 6c  |rror Voice modul|
00000270  65 20 66 61 69 6c 65 64  20 74 6f 20 69 6e 69 74  |e failed to init|
00000280  69 61 6c 69 73 65 0a 0a  52 4d 45 6e 73 75 72 65  |ialise..RMEnsure|
00000290  20 47 6f 6f 64 69 65 44  65 61 64 20 31 2e 30 30  | GoodieDead 1.00|
000002a0  20 52 4d 4c 6f 61 64 20  3c 53 6f 75 6e 64 24 44  | RMLoad <Sound$D|
000002b0  69 72 3e 2e 47 6f 6f 64  69 65 44 65 61 64 0a 52  |ir>.GoodieDead.R|
000002c0  4d 45 6e 73 75 72 65 20  47 6f 6f 64 69 65 44 65  |MEnsure GoodieDe|
000002d0  61 64 20 31 2e 30 30 20  45 72 72 6f 72 20 56 6f  |ad 1.00 Error Vo|
000002e0  69 63 65 20 6d 6f 64 75  6c 65 20 66 61 69 6c 65  |ice module faile|
000002f0  64 20 74 6f 20 69 6e 69  74 69 61 6c 69 73 65 0a  |d to initialise.|
00000300  0a 52 4d 45 6e 73 75 72  65 20 57 72 6f 6e 67 20  |.RMEnsure Wrong |
00000310  31 2e 30 30 20 52 4d 4c  6f 61 64 20 3c 53 6f 75  |1.00 RMLoad <Sou|
00000320  6e 64 24 44 69 72 3e 2e  57 72 6f 6e 67 0a 52 4d  |nd$Dir>.Wrong.RM|
00000330  45 6e 73 75 72 65 20 57  72 6f 6e 67 20 31 2e 30  |Ensure Wrong 1.0|
00000340  30 20 45 72 72 6f 72 20  56 6f 69 63 65 20 6d 6f  |0 Error Voice mo|
00000350  64 75 6c 65 20 66 61 69  6c 65 64 20 74 6f 20 69  |dule failed to i|
00000360  6e 69 74 69 61 6c 69 73  65 0a 0a 52 4d 45 6e 73  |nitialise..RMEns|
00000370  75 72 65 20 59 69 70 70  65 65 20 31 2e 30 30 20  |ure Yippee 1.00 |
00000380  52 4d 4c 6f 61 64 20 3c  53 6f 75 6e 64 24 44 69  |RMLoad <Sound$Di|
00000390  72 3e 2e 59 69 70 70 65  65 0a 52 4d 45 6e 73 75  |r>.Yippee.RMEnsu|
000003a0  72 65 20 59 69 70 70 65  65 20 31 2e 30 30 20 45  |re Yippee 1.00 E|
000003b0  72 72 6f 72 20 56 6f 69  63 65 20 6d 6f 64 75 6c  |rror Voice modul|
000003c0  65 20 66 61 69 6c 65 64  20 74 6f 20 69 6e 69 74  |e failed to init|
000003d0  69 61 6c 69 73 65 0a 0a  43 6f 6e 66 69 67 75 72  |ialise..Configur|
000003e0  65 20 46 6f 6e 74 4d 61  78 31 20 34 38 0a 43 6f  |e FontMax1 48.Co|
000003f0  6e 66 69 67 75 72 65 20  46 6f 6e 74 4d 61 78 32  |nfigure FontMax2|
00000400  20 34 38 0a 43 6f 6e 66  69 67 75 72 65 20 46 6f  | 48.Configure Fo|
00000410  6e 74 4d 61 78 33 20 34  38 0a 0a 57 69 6d 70 53  |ntMax3 48..WimpS|
00000420  6c 6f 74 20 2d 6d 69 6e  20 33 32 30 6b 20 2d 6d  |lot -min 320k -m|
00000430  61 78 20 33 32 30 6b 0a  57 69 6d 70 53 6c 6f 74  |ax 320k.WimpSlot|
00000440  20 2d 6d 69 6e 20 31 32  38 6b 20 2d 6d 61 78 20  | -min 128k -max |
00000450  31 32 38 6b 0a 0a 52 75  6e 20 3c 4d 65 67 32 24  |128k..Run <Meg2$|
00000460  44 69 72 3e 2e 21 52 75  6e 49 6d 61 67 65 0a     |Dir>.!RunImage.|
0000046f