Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/Demo/!Demo/!Run

!AWJan95/Goodies/Event/Demo/!Demo/!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/Demo/!Demo/!Run
Read OK:
File size: 0376 bytes
Load address: 0000
Exec address: 0000
File contents
| !Run Obey file for Demo Application
Set Demo$Dir <Obey$Dir>
Set Demo$BasicFile <Obey$Dir>.!Demo
|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 Demo
Unset Dummy$Path
WimpSlot -min 128K -max 128K
|Load any modules required now
RMEnsure InterfaceManager 2.00 RMLoad <Obey$Dir>.Interface
RMEnsure InterfaceManager 2.00 Error Couldn't load Interface module
RMEnsure MenuUtils 0.11 RMLoad <Obey$Dir>.MenuUtils
RMEnsure MenuUtils 0.11 Error 0 Error Couldn't load MenuUtils Module
RMEnsure MessageTrans 0.06 RMLoad <Obey$Dir>.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 <Demo$Dir>.!RunImage %*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 44 65 6d  6f 20 41 70 70 6c 69 63  | for Demo Applic|
00000020  61 74 69 6f 6e 0a 53 65  74 20 44 65 6d 6f 24 44  |ation.Set Demo$D|
00000030  69 72 20 3c 4f 62 65 79  24 44 69 72 3e 0a 53 65  |ir <Obey$Dir>.Se|
00000040  74 20 44 65 6d 6f 24 42  61 73 69 63 46 69 6c 65  |t Demo$BasicFile|
00000050  20 3c 4f 62 65 79 24 44  69 72 3e 2e 21 44 65 6d  | <Obey$Dir>.!Dem|
00000060  6f 0a 7c 43 68 61 6e 67  65 20 74 68 65 20 6e 65  |o.|Change the ne|
00000070  78 74 20 6c 69 6e 65 20  69 66 20 79 6f 75 20 61  |xt line if you a|
00000080  72 65 20 75 73 69 6e 67  20 61 20 64 69 66 66 65  |re using a diffe|
00000090  72 65 6e 74 0a 7c 66 69  6c 65 74 79 70 65 20 6e  |rent.|filetype n|
000000a0  75 6d 62 65 72 0a 7c 53  65 74 20 41 6c 69 61 73  |umber.|Set Alias|
000000b0  24 40 52 75 6e 54 79 70  65 5f 32 30 30 20 52 75  |$@RunType_200 Ru|
000000c0  6e 20 3c 4f 62 65 79 24  44 69 72 3e 2e 21 52 75  |n <Obey$Dir>.!Ru|
000000d0  6e 20 25 25 2a 30 0a 49  63 6f 6e 53 70 72 69 74  |n %%*0.IconSprit|
000000e0  65 73 20 3c 4f 62 65 79  24 44 69 72 3e 2e 21 53  |es <Obey$Dir>.!S|
000000f0  70 72 69 74 65 73 0a 52  75 6e 20 3c 4f 62 65 79  |prites.Run <Obey|
00000100  24 44 69 72 3e 2e 43 68  6b 53 70 72 0a 53 65 74  |$Dir>.ChkSpr.Set|
00000110  20 44 75 6d 6d 79 24 50  61 74 68 20 3c 52 75 6e  | Dummy$Path <Run|
00000120  24 50 61 74 68 3e 2c 3c  4f 62 65 79 24 44 69 72  |$Path>,<Obey$Dir|
00000130  3e 2e 52 65 73 6f 75 72  63 65 73 2e 0a 52 75 6e  |>.Resources..Run|
00000140  20 44 75 6d 6d 79 3a 52  65 73 46 69 6e 64 20 44  | Dummy:ResFind D|
00000150  65 6d 6f 0a 55 6e 73 65  74 20 44 75 6d 6d 79 24  |emo.Unset Dummy$|
00000160  50 61 74 68 0a 57 69 6d  70 53 6c 6f 74 20 2d 6d  |Path.WimpSlot -m|
00000170  69 6e 20 31 32 38 4b 20  2d 6d 61 78 20 31 32 38  |in 128K -max 128|
00000180  4b 0a 7c 4c 6f 61 64 20  61 6e 79 20 6d 6f 64 75  |K.|Load any modu|
00000190  6c 65 73 20 72 65 71 75  69 72 65 64 20 6e 6f 77  |les required now|
000001a0  0a 52 4d 45 6e 73 75 72  65 20 49 6e 74 65 72 66  |.RMEnsure Interf|
000001b0  61 63 65 4d 61 6e 61 67  65 72 20 32 2e 30 30 20  |aceManager 2.00 |
000001c0  52 4d 4c 6f 61 64 20 3c  4f 62 65 79 24 44 69 72  |RMLoad <Obey$Dir|
000001d0  3e 2e 49 6e 74 65 72 66  61 63 65 0a 52 4d 45 6e  |>.Interface.RMEn|
000001e0  73 75 72 65 20 49 6e 74  65 72 66 61 63 65 4d 61  |sure InterfaceMa|
000001f0  6e 61 67 65 72 20 32 2e  30 30 20 45 72 72 6f 72  |nager 2.00 Error|
00000200  20 43 6f 75 6c 64 6e 27  74 20 6c 6f 61 64 20 49  | Couldn't load I|
00000210  6e 74 65 72 66 61 63 65  20 6d 6f 64 75 6c 65 0a  |nterface module.|
00000220  52 4d 45 6e 73 75 72 65  20 4d 65 6e 75 55 74 69  |RMEnsure MenuUti|
00000230  6c 73 20 30 2e 31 31 20  52 4d 4c 6f 61 64 20 3c  |ls 0.11 RMLoad <|
00000240  4f 62 65 79 24 44 69 72  3e 2e 4d 65 6e 75 55 74  |Obey$Dir>.MenuUt|
00000250  69 6c 73 0a 52 4d 45 6e  73 75 72 65 20 4d 65 6e  |ils.RMEnsure Men|
00000260  75 55 74 69 6c 73 20 30  2e 31 31 20 45 72 72 6f  |uUtils 0.11 Erro|
00000270  72 20 30 20 45 72 72 6f  72 20 43 6f 75 6c 64 6e  |r 0 Error Couldn|
00000280  27 74 20 6c 6f 61 64 20  4d 65 6e 75 55 74 69 6c  |'t load MenuUtil|
00000290  73 20 4d 6f 64 75 6c 65  0a 52 4d 45 6e 73 75 72  |s Module.RMEnsur|
000002a0  65 20 4d 65 73 73 61 67  65 54 72 61 6e 73 20 30  |e MessageTrans 0|
000002b0  2e 30 36 20 52 4d 4c 6f  61 64 20 3c 4f 62 65 79  |.06 RMLoad <Obey|
000002c0  24 44 69 72 3e 2e 4d 73  67 54 72 61 6e 73 0a 52  |$Dir>.MsgTrans.R|
000002d0  4d 45 6e 73 75 72 65 20  4d 65 73 73 61 67 65 54  |MEnsure MessageT|
000002e0  72 61 6e 73 20 30 2e 30  36 20 45 72 72 6f 72 20  |rans 0.06 Error |
000002f0  43 6f 75 6c 64 6e 27 74  20 6c 6f 61 64 20 4d 73  |Couldn't load Ms|
00000300  67 54 72 61 6e 73 20 4d  6f 64 75 6c 65 0a 7c 41  |gTrans Module.|A|
00000310  6e 64 20 63 68 65 63 6b  20 74 68 61 74 20 74 68  |nd check that th|
00000320  65 72 65 20 69 73 20 73  74 69 6c 6c 20 65 6e 6f  |ere is still eno|
00000330  75 67 68 20 6d 65 6d 6f  72 79 21 0a 57 69 6d 70  |ugh memory!.Wimp|
00000340  53 6c 6f 74 20 2d 6d 69  6e 20 31 32 38 4b 20 2d  |Slot -min 128K -|
00000350  6d 61 78 20 31 32 38 4b  0a 52 75 6e 20 3c 44 65  |max 128K.Run <De|
00000360  6d 6f 24 44 69 72 3e 2e  21 52 75 6e 49 6d 61 67  |mo$Dir>.!RunImag|
00000370  65 20 25 2a 30 0a                                 |e %*0.|
00000376