Home » Archimedes archive » Acorn Computing » 1994 08 subscription disc.adf » 9408s » Shareware/Event/Documents/Examples/!VBase2/!Run
Shareware/Event/Documents/Examples/!VBase2/!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 » Acorn Computing » 1994 08 subscription disc.adf » 9408s |
Filename: | Shareware/Event/Documents/Examples/!VBase2/!Run |
Read OK: | ✔ |
File size: | 03EF bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
| !Run Obey file for VBase2 Application Set VBase2$Dir <Obey$Dir> Set Alias$@RunType_FD1 Basic -quit |"%%0|" %%*1 IF "<EvntShellSystem$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 VBase2 Unset Dummy$Path WimpSlot -min 128K -max 128K |Load any modules required now RMEnsure InterfaceManager 2.00 RMLoad <EvntShellSystem$Path>Interface RMEnsure InterfaceManager 2.00 Error Couldn't load Interface module RMEnsure MenuUtils 0.11 RMLoad <EvntShellSystem$Path>MenuUtils RMEnsure MenuUtils 0.11 Error 0 Error Couldn't load MenuUtils Module RMEnsure MessageTrans 0.06 RMLoad <EvntShellSystem$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 <VBase2$Dir>.!VBase2 %*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 56 42 61 73 65 32 20 41 70 70 6c | for VBase2 Appl| 00000020 69 63 61 74 69 6f 6e 0d 53 65 74 20 56 42 61 73 |ication.Set VBas| 00000030 65 32 24 44 69 72 20 3c 4f 62 65 79 24 44 69 72 |e2$Dir <Obey$Dir| 00000040 3e 0d 53 65 74 20 41 6c 69 61 73 24 40 52 75 6e |>.Set Alias$@Run| 00000050 54 79 70 65 5f 46 44 31 20 42 61 73 69 63 20 2d |Type_FD1 Basic -| 00000060 71 75 69 74 20 7c 22 25 25 30 7c 22 20 25 25 2a |quit |"%%0|" %%*| 00000070 31 0d 49 46 20 22 3c 45 76 6e 74 53 68 65 6c 6c |1.IF "<EvntShell| 00000080 53 79 73 74 65 6d 24 50 61 74 68 3e 22 3d 22 22 |System$Path>"=""| 00000090 20 54 48 45 4e 20 45 52 52 4f 52 20 30 20 53 68 | THEN ERROR 0 Sh| 000000a0 65 6c 6c 20 72 65 73 6f 75 72 63 65 73 20 6e 6f |ell resources no| 000000b0 74 20 66 6f 75 6e 64 0d 7c 43 68 61 6e 67 65 20 |t found.|Change | 000000c0 74 68 65 20 6e 65 78 74 20 6c 69 6e 65 20 69 66 |the next line if| 000000d0 20 79 6f 75 20 61 72 65 20 75 73 69 6e 67 20 61 | you are using a| 000000e0 20 64 69 66 66 65 72 65 6e 74 0d 7c 66 69 6c 65 | different.|file| 000000f0 74 79 70 65 20 6e 75 6d 62 65 72 0d 7c 53 65 74 |type number.|Set| 00000100 20 41 6c 69 61 73 24 40 52 75 6e 54 79 70 65 5f | Alias$@RunType_| 00000110 32 30 30 20 52 75 6e 20 3c 4f 62 65 79 24 44 69 |200 Run <Obey$Di| 00000120 72 3e 2e 21 52 75 6e 20 25 25 2a 30 0d 49 63 6f |r>.!Run %%*0.Ico| 00000130 6e 53 70 72 69 74 65 73 20 3c 4f 62 65 79 24 44 |nSprites <Obey$D| 00000140 69 72 3e 2e 21 53 70 72 69 74 65 73 0d 52 75 6e |ir>.!Sprites.Run| 00000150 20 3c 4f 62 65 79 24 44 69 72 3e 2e 43 68 6b 53 | <Obey$Dir>.ChkS| 00000160 70 72 0d 53 65 74 20 44 75 6d 6d 79 24 50 61 74 |pr.Set Dummy$Pat| 00000170 68 20 3c 52 75 6e 24 50 61 74 68 3e 2c 3c 4f 62 |h <Run$Path>,<Ob| 00000180 65 79 24 44 69 72 3e 2e 52 65 73 6f 75 72 63 65 |ey$Dir>.Resource| 00000190 73 2e 0d 52 75 6e 20 44 75 6d 6d 79 3a 52 65 73 |s..Run Dummy:Res| 000001a0 46 69 6e 64 20 56 42 61 73 65 32 0d 55 6e 73 65 |Find VBase2.Unse| 000001b0 74 20 44 75 6d 6d 79 24 50 61 74 68 0d 57 69 6d |t Dummy$Path.Wim| 000001c0 70 53 6c 6f 74 20 2d 6d 69 6e 20 31 32 38 4b 20 |pSlot -min 128K | 000001d0 2d 6d 61 78 20 31 32 38 4b 0d 7c 4c 6f 61 64 20 |-max 128K.|Load | 000001e0 61 6e 79 20 6d 6f 64 75 6c 65 73 20 72 65 71 75 |any modules requ| 000001f0 69 72 65 64 20 6e 6f 77 0d 52 4d 45 6e 73 75 72 |ired now.RMEnsur| 00000200 65 20 49 6e 74 65 72 66 61 63 65 4d 61 6e 61 67 |e InterfaceManag| 00000210 65 72 20 32 2e 30 30 20 52 4d 4c 6f 61 64 20 3c |er 2.00 RMLoad <| 00000220 45 76 6e 74 53 68 65 6c 6c 53 79 73 74 65 6d 24 |EvntShellSystem$| 00000230 50 61 74 68 3e 49 6e 74 65 72 66 61 63 65 0d 52 |Path>Interface.R| 00000240 4d 45 6e 73 75 72 65 20 49 6e 74 65 72 66 61 63 |MEnsure Interfac| 00000250 65 4d 61 6e 61 67 65 72 20 32 2e 30 30 20 45 72 |eManager 2.00 Er| 00000260 72 6f 72 20 43 6f 75 6c 64 6e 27 74 20 6c 6f 61 |ror Couldn't loa| 00000270 64 20 49 6e 74 65 72 66 61 63 65 20 6d 6f 64 75 |d Interface modu| 00000280 6c 65 0d 52 4d 45 6e 73 75 72 65 20 4d 65 6e 75 |le.RMEnsure Menu| 00000290 55 74 69 6c 73 20 30 2e 31 31 20 52 4d 4c 6f 61 |Utils 0.11 RMLoa| 000002a0 64 20 3c 45 76 6e 74 53 68 65 6c 6c 53 79 73 74 |d <EvntShellSyst| 000002b0 65 6d 24 50 61 74 68 3e 4d 65 6e 75 55 74 69 6c |em$Path>MenuUtil| 000002c0 73 0d 52 4d 45 6e 73 75 72 65 20 4d 65 6e 75 55 |s.RMEnsure MenuU| 000002d0 74 69 6c 73 20 30 2e 31 31 20 45 72 72 6f 72 20 |tils 0.11 Error | 000002e0 30 20 45 72 72 6f 72 20 43 6f 75 6c 64 6e 27 74 |0 Error Couldn't| 000002f0 20 6c 6f 61 64 20 4d 65 6e 75 55 74 69 6c 73 20 | load MenuUtils | 00000300 4d 6f 64 75 6c 65 0d 52 4d 45 6e 73 75 72 65 20 |Module.RMEnsure | 00000310 4d 65 73 73 61 67 65 54 72 61 6e 73 20 30 2e 30 |MessageTrans 0.0| 00000320 36 20 52 4d 4c 6f 61 64 20 3c 45 76 6e 74 53 68 |6 RMLoad <EvntSh| 00000330 65 6c 6c 53 79 73 74 65 6d 24 50 61 74 68 3e 4d |ellSystem$Path>M| 00000340 73 67 54 72 61 6e 73 0d 52 4d 45 6e 73 75 72 65 |sgTrans.RMEnsure| 00000350 20 4d 65 73 73 61 67 65 54 72 61 6e 73 20 30 2e | MessageTrans 0.| 00000360 30 36 20 45 72 72 6f 72 20 43 6f 75 6c 64 6e 27 |06 Error Couldn'| 00000370 74 20 6c 6f 61 64 20 4d 73 67 54 72 61 6e 73 20 |t load MsgTrans | 00000380 4d 6f 64 75 6c 65 0d 7c 41 6e 64 20 63 68 65 63 |Module.|And chec| 00000390 6b 20 74 68 61 74 20 74 68 65 72 65 20 69 73 20 |k that there is | 000003a0 73 74 69 6c 6c 20 65 6e 6f 75 67 68 20 6d 65 6d |still enough mem| 000003b0 6f 72 79 21 0d 57 69 6d 70 53 6c 6f 74 20 2d 6d |ory!.WimpSlot -m| 000003c0 69 6e 20 31 32 38 4b 20 2d 6d 61 78 20 31 32 38 |in 128K -max 128| 000003d0 4b 0d 52 75 6e 20 3c 56 42 61 73 65 32 24 44 69 |K.Run <VBase2$Di| 000003e0 72 3e 2e 21 56 42 61 73 65 32 20 25 2a 30 0d |r>.!VBase2 %*0.| 000003ef