Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/Examples/!TestMenu/!Run
!AWJan95/Goodies/Event/Examples/!TestMenu/!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-01-Disc2.adf » Disk2Jan95 |
Filename: | !AWJan95/Goodies/Event/Examples/!TestMenu/!Run |
Read OK: | ✔ |
File size: | 0405 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
|ForceCFS | !Run Obey file for TestMenu Application Set TestMenu$Dir <Obey$Dir> Set TestMenu$BasicFile <Obey$Dir>.!TestMenu IF "<EvntShell$Path>"="" THEN ERROR 0 Shell resources not found |Change the next line if you are using a different |filetype number |Set Alias$@RunType_200 Run <Obey$Dir>.!Run %%*0 IconSprites <Obey$Dir>.!Sprites Run <Obey$Dir>.ChkSpr WimpSlot -min 192K -max 192K |Load any modules required now RMEnsure InterfaceManager 2.00 RMLoad <EvntShell$Path>Interface RMEnsure InterfaceManager 2.00 Error Couldn't load Interface module RMEnsure MenuUtils 0.12 RMLoad <EvntShell$Path>MenuUtils RMEnsure MenuUtils 0.12 Error 0 Error Couldn't load MenuUtils Module RMEnsure MessageTrans 0.06 RMLoad <EvntShell$Path>MsgTrans RMEnsure MessageTrans 0.06 Error Couldn't load MsgTrans Module RMEnsure MessageTrans 0.11 RMLoad <EvntShell$Path>MenuUtil RMEnsure MessageTrans 0.11 Error Couldn't load MenuUtil Module |And check that there is still enough memory! WimpSlot -min 192K -max 192K Run <TestMenu$Dir>.!TestMenu %*0
00000000 7c 46 6f 72 63 65 43 46 53 0a 7c 20 21 52 75 6e ||ForceCFS.| !Run| 00000010 20 4f 62 65 79 20 66 69 6c 65 20 66 6f 72 20 54 | Obey file for T| 00000020 65 73 74 4d 65 6e 75 20 41 70 70 6c 69 63 61 74 |estMenu Applicat| 00000030 69 6f 6e 0a 53 65 74 20 54 65 73 74 4d 65 6e 75 |ion.Set TestMenu| 00000040 24 44 69 72 20 3c 4f 62 65 79 24 44 69 72 3e 0a |$Dir <Obey$Dir>.| 00000050 53 65 74 20 54 65 73 74 4d 65 6e 75 24 42 61 73 |Set TestMenu$Bas| 00000060 69 63 46 69 6c 65 20 3c 4f 62 65 79 24 44 69 72 |icFile <Obey$Dir| 00000070 3e 2e 21 54 65 73 74 4d 65 6e 75 0a 49 46 20 22 |>.!TestMenu.IF "| 00000080 3c 45 76 6e 74 53 68 65 6c 6c 24 50 61 74 68 3e |<EvntShell$Path>| 00000090 22 3d 22 22 20 54 48 45 4e 20 45 52 52 4f 52 20 |"="" THEN ERROR | 000000a0 30 20 53 68 65 6c 6c 20 72 65 73 6f 75 72 63 65 |0 Shell resource| 000000b0 73 20 6e 6f 74 20 66 6f 75 6e 64 0a 7c 43 68 61 |s not found.|Cha| 000000c0 6e 67 65 20 74 68 65 20 6e 65 78 74 20 6c 69 6e |nge the next lin| 000000d0 65 20 69 66 20 79 6f 75 20 61 72 65 20 75 73 69 |e if you are usi| 000000e0 6e 67 20 61 20 64 69 66 66 65 72 65 6e 74 0a 7c |ng a different.|| 000000f0 66 69 6c 65 74 79 70 65 20 6e 75 6d 62 65 72 0a |filetype number.| 00000100 7c 53 65 74 20 41 6c 69 61 73 24 40 52 75 6e 54 ||Set Alias$@RunT| 00000110 79 70 65 5f 32 30 30 20 52 75 6e 20 3c 4f 62 65 |ype_200 Run <Obe| 00000120 79 24 44 69 72 3e 2e 21 52 75 6e 20 25 25 2a 30 |y$Dir>.!Run %%*0| 00000130 0a 49 63 6f 6e 53 70 72 69 74 65 73 20 3c 4f 62 |.IconSprites <Ob| 00000140 65 79 24 44 69 72 3e 2e 21 53 70 72 69 74 65 73 |ey$Dir>.!Sprites| 00000150 0a 52 75 6e 20 3c 4f 62 65 79 24 44 69 72 3e 2e |.Run <Obey$Dir>.| 00000160 43 68 6b 53 70 72 0a 57 69 6d 70 53 6c 6f 74 20 |ChkSpr.WimpSlot | 00000170 2d 6d 69 6e 20 31 39 32 4b 20 2d 6d 61 78 20 31 |-min 192K -max 1| 00000180 39 32 4b 0a 7c 4c 6f 61 64 20 61 6e 79 20 6d 6f |92K.|Load any mo| 00000190 64 75 6c 65 73 20 72 65 71 75 69 72 65 64 20 6e |dules required n| 000001a0 6f 77 0a 52 4d 45 6e 73 75 72 65 20 49 6e 74 65 |ow.RMEnsure Inte| 000001b0 72 66 61 63 65 4d 61 6e 61 67 65 72 20 32 2e 30 |rfaceManager 2.0| 000001c0 30 20 52 4d 4c 6f 61 64 20 3c 45 76 6e 74 53 68 |0 RMLoad <EvntSh| 000001d0 65 6c 6c 24 50 61 74 68 3e 49 6e 74 65 72 66 61 |ell$Path>Interfa| 000001e0 63 65 0a 52 4d 45 6e 73 75 72 65 20 49 6e 74 65 |ce.RMEnsure Inte| 000001f0 72 66 61 63 65 4d 61 6e 61 67 65 72 20 32 2e 30 |rfaceManager 2.0| 00000200 30 20 45 72 72 6f 72 20 43 6f 75 6c 64 6e 27 74 |0 Error Couldn't| 00000210 20 6c 6f 61 64 20 49 6e 74 65 72 66 61 63 65 20 | load Interface | 00000220 6d 6f 64 75 6c 65 0a 52 4d 45 6e 73 75 72 65 20 |module.RMEnsure | 00000230 4d 65 6e 75 55 74 69 6c 73 20 30 2e 31 32 20 52 |MenuUtils 0.12 R| 00000240 4d 4c 6f 61 64 20 3c 45 76 6e 74 53 68 65 6c 6c |MLoad <EvntShell| 00000250 24 50 61 74 68 3e 4d 65 6e 75 55 74 69 6c 73 0a |$Path>MenuUtils.| 00000260 52 4d 45 6e 73 75 72 65 20 4d 65 6e 75 55 74 69 |RMEnsure MenuUti| 00000270 6c 73 20 30 2e 31 32 20 45 72 72 6f 72 20 30 20 |ls 0.12 Error 0 | 00000280 45 72 72 6f 72 20 43 6f 75 6c 64 6e 27 74 20 6c |Error Couldn't l| 00000290 6f 61 64 20 4d 65 6e 75 55 74 69 6c 73 20 4d 6f |oad MenuUtils Mo| 000002a0 64 75 6c 65 0a 52 4d 45 6e 73 75 72 65 20 4d 65 |dule.RMEnsure Me| 000002b0 73 73 61 67 65 54 72 61 6e 73 20 30 2e 30 36 20 |ssageTrans 0.06 | 000002c0 52 4d 4c 6f 61 64 20 3c 45 76 6e 74 53 68 65 6c |RMLoad <EvntShel| 000002d0 6c 24 50 61 74 68 3e 4d 73 67 54 72 61 6e 73 0a |l$Path>MsgTrans.| 000002e0 52 4d 45 6e 73 75 72 65 20 4d 65 73 73 61 67 65 |RMEnsure Message| 000002f0 54 72 61 6e 73 20 30 2e 30 36 20 45 72 72 6f 72 |Trans 0.06 Error| 00000300 20 43 6f 75 6c 64 6e 27 74 20 6c 6f 61 64 20 4d | Couldn't load M| 00000310 73 67 54 72 61 6e 73 20 4d 6f 64 75 6c 65 0a 52 |sgTrans Module.R| 00000320 4d 45 6e 73 75 72 65 20 4d 65 73 73 61 67 65 54 |MEnsure MessageT| 00000330 72 61 6e 73 20 30 2e 31 31 20 52 4d 4c 6f 61 64 |rans 0.11 RMLoad| 00000340 20 3c 45 76 6e 74 53 68 65 6c 6c 24 50 61 74 68 | <EvntShell$Path| 00000350 3e 4d 65 6e 75 55 74 69 6c 0a 52 4d 45 6e 73 75 |>MenuUtil.RMEnsu| 00000360 72 65 20 4d 65 73 73 61 67 65 54 72 61 6e 73 20 |re MessageTrans | 00000370 30 2e 31 31 20 45 72 72 6f 72 20 43 6f 75 6c 64 |0.11 Error Could| 00000380 6e 27 74 20 6c 6f 61 64 20 4d 65 6e 75 55 74 69 |n't load MenuUti| 00000390 6c 20 4d 6f 64 75 6c 65 0a 7c 41 6e 64 20 63 68 |l Module.|And ch| 000003a0 65 63 6b 20 74 68 61 74 20 74 68 65 72 65 20 69 |eck that there i| 000003b0 73 20 73 74 69 6c 6c 20 65 6e 6f 75 67 68 20 6d |s still enough m| 000003c0 65 6d 6f 72 79 21 0a 57 69 6d 70 53 6c 6f 74 20 |emory!.WimpSlot | 000003d0 2d 6d 69 6e 20 31 39 32 4b 20 2d 6d 61 78 20 31 |-min 192K -max 1| 000003e0 39 32 4b 0a 52 75 6e 20 3c 54 65 73 74 4d 65 6e |92K.Run <TestMen| 000003f0 75 24 44 69 72 3e 2e 21 54 65 73 74 4d 65 6e 75 |u$Dir>.!TestMenu| 00000400 20 25 2a 30 0a | %*0.| 00000405