Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/Examples/!Sliders/!Run
!AWJan95/Goodies/Event/Examples/!Sliders/!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/!Sliders/!Run |
Read OK: | ✔ |
File size: | 03D9 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
| !Run Obey file for Sliders Application Set Sliders$Dir <Obey$Dir> Set Sliders$BasicFile <Obey$Dir>.!Sliders 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 |Set Dummy$Path <Run$Path>,<Obey$Dir>.Resources. |Run Dummy:ResFind Sliders |Unset Dummy$Path WimpSlot -min 128K -max 128K |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.11 RMLoad <EvntShell$Path>MenuUtils RMEnsure MenuUtils 0.11 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 |And check that there is still enough memory! WimpSlot -min 128K -max 128K Run <Sliders$Dir>.!Sliders %*0
00000000 7c 20 21 52 75 6e 20 4f 62 65 79 20 66 69 6c 65 || !Run Obey file| 00000010 20 66 6f 72 20 53 6c 69 64 65 72 73 20 41 70 70 | for Sliders App| 00000020 6c 69 63 61 74 69 6f 6e 0a 53 65 74 20 53 6c 69 |lication.Set Sli| 00000030 64 65 72 73 24 44 69 72 20 3c 4f 62 65 79 24 44 |ders$Dir <Obey$D| 00000040 69 72 3e 0a 53 65 74 20 53 6c 69 64 65 72 73 24 |ir>.Set Sliders$| 00000050 42 61 73 69 63 46 69 6c 65 20 3c 4f 62 65 79 24 |BasicFile <Obey$| 00000060 44 69 72 3e 2e 21 53 6c 69 64 65 72 73 0a 49 46 |Dir>.!Sliders.IF| 00000070 20 22 3c 45 76 6e 74 53 68 65 6c 6c 24 50 61 74 | "<EvntShell$Pat| 00000080 68 3e 22 3d 22 22 20 54 48 45 4e 20 45 52 52 4f |h>"="" THEN ERRO| 00000090 52 20 30 20 53 68 65 6c 6c 20 72 65 73 6f 75 72 |R 0 Shell resour| 000000a0 63 65 73 20 6e 6f 74 20 66 6f 75 6e 64 0a 7c 43 |ces not found.|C| 000000b0 68 61 6e 67 65 20 74 68 65 20 6e 65 78 74 20 6c |hange the next l| 000000c0 69 6e 65 20 69 66 20 79 6f 75 20 61 72 65 20 75 |ine if you are u| 000000d0 73 69 6e 67 20 61 20 64 69 66 66 65 72 65 6e 74 |sing a different| 000000e0 0a 7c 66 69 6c 65 74 79 70 65 20 6e 75 6d 62 65 |.|filetype numbe| 000000f0 72 0a 7c 53 65 74 20 41 6c 69 61 73 24 40 52 75 |r.|Set Alias$@Ru| 00000100 6e 54 79 70 65 5f 32 30 30 20 52 75 6e 20 3c 4f |nType_200 Run <O| 00000110 62 65 79 24 44 69 72 3e 2e 21 52 75 6e 20 25 25 |bey$Dir>.!Run %%| 00000120 2a 30 0a 49 63 6f 6e 53 70 72 69 74 65 73 20 3c |*0.IconSprites <| 00000130 4f 62 65 79 24 44 69 72 3e 2e 21 53 70 72 69 74 |Obey$Dir>.!Sprit| 00000140 65 73 0a 52 75 6e 20 3c 4f 62 65 79 24 44 69 72 |es.Run <Obey$Dir| 00000150 3e 2e 43 68 6b 53 70 72 0a 7c 53 65 74 20 44 75 |>.ChkSpr.|Set Du| 00000160 6d 6d 79 24 50 61 74 68 20 3c 52 75 6e 24 50 61 |mmy$Path <Run$Pa| 00000170 74 68 3e 2c 3c 4f 62 65 79 24 44 69 72 3e 2e 52 |th>,<Obey$Dir>.R| 00000180 65 73 6f 75 72 63 65 73 2e 0a 7c 52 75 6e 20 44 |esources..|Run D| 00000190 75 6d 6d 79 3a 52 65 73 46 69 6e 64 20 53 6c 69 |ummy:ResFind Sli| 000001a0 64 65 72 73 0a 7c 55 6e 73 65 74 20 44 75 6d 6d |ders.|Unset Dumm| 000001b0 79 24 50 61 74 68 0a 57 69 6d 70 53 6c 6f 74 20 |y$Path.WimpSlot | 000001c0 2d 6d 69 6e 20 31 32 38 4b 20 2d 6d 61 78 20 31 |-min 128K -max 1| 000001d0 32 38 4b 0a 7c 4c 6f 61 64 20 61 6e 79 20 6d 6f |28K.|Load any mo| 000001e0 64 75 6c 65 73 20 72 65 71 75 69 72 65 64 20 6e |dules required n| 000001f0 6f 77 0a 52 4d 45 6e 73 75 72 65 20 49 6e 74 65 |ow.RMEnsure Inte| 00000200 72 66 61 63 65 4d 61 6e 61 67 65 72 20 32 2e 30 |rfaceManager 2.0| 00000210 30 20 52 4d 4c 6f 61 64 20 3c 45 76 6e 74 53 68 |0 RMLoad <EvntSh| 00000220 65 6c 6c 24 50 61 74 68 3e 49 6e 74 65 72 66 61 |ell$Path>Interfa| 00000230 63 65 0a 52 4d 45 6e 73 75 72 65 20 49 6e 74 65 |ce.RMEnsure Inte| 00000240 72 66 61 63 65 4d 61 6e 61 67 65 72 20 32 2e 30 |rfaceManager 2.0| 00000250 30 20 45 72 72 6f 72 20 43 6f 75 6c 64 6e 27 74 |0 Error Couldn't| 00000260 20 6c 6f 61 64 20 49 6e 74 65 72 66 61 63 65 20 | load Interface | 00000270 6d 6f 64 75 6c 65 0a 52 4d 45 6e 73 75 72 65 20 |module.RMEnsure | 00000280 4d 65 6e 75 55 74 69 6c 73 20 30 2e 31 31 20 52 |MenuUtils 0.11 R| 00000290 4d 4c 6f 61 64 20 3c 45 76 6e 74 53 68 65 6c 6c |MLoad <EvntShell| 000002a0 24 50 61 74 68 3e 4d 65 6e 75 55 74 69 6c 73 0a |$Path>MenuUtils.| 000002b0 52 4d 45 6e 73 75 72 65 20 4d 65 6e 75 55 74 69 |RMEnsure MenuUti| 000002c0 6c 73 20 30 2e 31 31 20 45 72 72 6f 72 20 30 20 |ls 0.11 Error 0 | 000002d0 45 72 72 6f 72 20 43 6f 75 6c 64 6e 27 74 20 6c |Error Couldn't l| 000002e0 6f 61 64 20 4d 65 6e 75 55 74 69 6c 73 20 4d 6f |oad MenuUtils Mo| 000002f0 64 75 6c 65 0a 52 4d 45 6e 73 75 72 65 20 4d 65 |dule.RMEnsure Me| 00000300 73 73 61 67 65 54 72 61 6e 73 20 30 2e 30 36 20 |ssageTrans 0.06 | 00000310 52 4d 4c 6f 61 64 20 3c 45 76 6e 74 53 68 65 6c |RMLoad <EvntShel| 00000320 6c 24 50 61 74 68 3e 4d 73 67 54 72 61 6e 73 0a |l$Path>MsgTrans.| 00000330 52 4d 45 6e 73 75 72 65 20 4d 65 73 73 61 67 65 |RMEnsure Message| 00000340 54 72 61 6e 73 20 30 2e 30 36 20 45 72 72 6f 72 |Trans 0.06 Error| 00000350 20 43 6f 75 6c 64 6e 27 74 20 6c 6f 61 64 20 4d | Couldn't load M| 00000360 73 67 54 72 61 6e 73 20 4d 6f 64 75 6c 65 0a 7c |sgTrans Module.|| 00000370 41 6e 64 20 63 68 65 63 6b 20 74 68 61 74 20 74 |And check that t| 00000380 68 65 72 65 20 69 73 20 73 74 69 6c 6c 20 65 6e |here is still en| 00000390 6f 75 67 68 20 6d 65 6d 6f 72 79 21 0a 57 69 6d |ough memory!.Wim| 000003a0 70 53 6c 6f 74 20 2d 6d 69 6e 20 31 32 38 4b 20 |pSlot -min 128K | 000003b0 2d 6d 61 78 20 31 32 38 4b 0a 52 75 6e 20 3c 53 |-max 128K.Run <S| 000003c0 6c 69 64 65 72 73 24 44 69 72 3e 2e 21 53 6c 69 |liders$Dir>.!Sli| 000003d0 64 65 72 73 20 25 2a 30 0a |ders %*0.| 000003d9