Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/Examples/!TestDraw/!Run
!AWJan95/Goodies/Event/Examples/!TestDraw/!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/!TestDraw/!Run |
Read OK: | ✔ |
File size: | 04CA bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
| !Run Obey file for TestDraw Application Set TestDraw$Dir <Obey$Dir> Set TestDraw$BasicFile <Obey$Dir>.!TestDraw 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 TestDraw |Unset Dummy$Path WimpSlot -min 256K -max 256K |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 RMEnsure DrawFile 1.01 RMLoad <Obey$Dir>.DrawFile RMEnsure DrawFile 1.01 Error Couldn't load DrawFile Module |RMEnsure WimpExtension 2.18 RMLoad <Obey$Dir>.WimpExt |RMEnsure WimpExtension 2.18 Error Couldn't load WimpExtension Module |And check that there is still enough memory! WimpSlot -min 256K -max 256K Run <TestDraw$Dir>.!TestDraw %*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 54 65 73 74 44 72 61 77 20 41 70 | for TestDraw Ap| 00000020 70 6c 69 63 61 74 69 6f 6e 0a 53 65 74 20 54 65 |plication.Set Te| 00000030 73 74 44 72 61 77 24 44 69 72 20 3c 4f 62 65 79 |stDraw$Dir <Obey| 00000040 24 44 69 72 3e 0a 53 65 74 20 54 65 73 74 44 72 |$Dir>.Set TestDr| 00000050 61 77 24 42 61 73 69 63 46 69 6c 65 20 3c 4f 62 |aw$BasicFile <Ob| 00000060 65 79 24 44 69 72 3e 2e 21 54 65 73 74 44 72 61 |ey$Dir>.!TestDra| 00000070 77 0a 49 46 20 22 3c 45 76 6e 74 53 68 65 6c 6c |w.IF "<EvntShell| 00000080 24 50 61 74 68 3e 22 3d 22 22 20 54 48 45 4e 20 |$Path>"="" THEN | 00000090 45 52 52 4f 52 20 30 20 53 68 65 6c 6c 20 72 65 |ERROR 0 Shell re| 000000a0 73 6f 75 72 63 65 73 20 6e 6f 74 20 66 6f 75 6e |sources not foun| 000000b0 64 0a 7c 43 68 61 6e 67 65 20 74 68 65 20 6e 65 |d.|Change the ne| 000000c0 78 74 20 6c 69 6e 65 20 69 66 20 79 6f 75 20 61 |xt line if you a| 000000d0 72 65 20 75 73 69 6e 67 20 61 20 64 69 66 66 65 |re using a diffe| 000000e0 72 65 6e 74 0a 7c 66 69 6c 65 74 79 70 65 20 6e |rent.|filetype n| 000000f0 75 6d 62 65 72 0a 7c 53 65 74 20 41 6c 69 61 73 |umber.|Set Alias| 00000100 24 40 52 75 6e 54 79 70 65 5f 32 30 30 20 52 75 |$@RunType_200 Ru| 00000110 6e 20 3c 4f 62 65 79 24 44 69 72 3e 2e 21 52 75 |n <Obey$Dir>.!Ru| 00000120 6e 20 25 25 2a 30 0a 49 63 6f 6e 53 70 72 69 74 |n %%*0.IconSprit| 00000130 65 73 20 3c 4f 62 65 79 24 44 69 72 3e 2e 21 53 |es <Obey$Dir>.!S| 00000140 70 72 69 74 65 73 0a 52 75 6e 20 3c 4f 62 65 79 |prites.Run <Obey| 00000150 24 44 69 72 3e 2e 43 68 6b 53 70 72 0a 7c 53 65 |$Dir>.ChkSpr.|Se| 00000160 74 20 44 75 6d 6d 79 24 50 61 74 68 20 3c 52 75 |t Dummy$Path <Ru| 00000170 6e 24 50 61 74 68 3e 2c 3c 4f 62 65 79 24 44 69 |n$Path>,<Obey$Di| 00000180 72 3e 2e 52 65 73 6f 75 72 63 65 73 2e 0a 7c 52 |r>.Resources..|R| 00000190 75 6e 20 44 75 6d 6d 79 3a 52 65 73 46 69 6e 64 |un Dummy:ResFind| 000001a0 20 54 65 73 74 44 72 61 77 0a 7c 55 6e 73 65 74 | TestDraw.|Unset| 000001b0 20 44 75 6d 6d 79 24 50 61 74 68 0a 57 69 6d 70 | Dummy$Path.Wimp| 000001c0 53 6c 6f 74 20 2d 6d 69 6e 20 32 35 36 4b 20 2d |Slot -min 256K -| 000001d0 6d 61 78 20 32 35 36 4b 0a 7c 4c 6f 61 64 20 61 |max 256K.|Load a| 000001e0 6e 79 20 6d 6f 64 75 6c 65 73 20 72 65 71 75 69 |ny modules requi| 000001f0 72 65 64 20 6e 6f 77 0a 52 4d 45 6e 73 75 72 65 |red now.RMEnsure| 00000200 20 49 6e 74 65 72 66 61 63 65 4d 61 6e 61 67 65 | InterfaceManage| 00000210 72 20 32 2e 30 30 20 52 4d 4c 6f 61 64 20 3c 45 |r 2.00 RMLoad <E| 00000220 76 6e 74 53 68 65 6c 6c 24 50 61 74 68 3e 49 6e |vntShell$Path>In| 00000230 74 65 72 66 61 63 65 0a 52 4d 45 6e 73 75 72 65 |terface.RMEnsure| 00000240 20 49 6e 74 65 72 66 61 63 65 4d 61 6e 61 67 65 | InterfaceManage| 00000250 72 20 32 2e 30 30 20 45 72 72 6f 72 20 43 6f 75 |r 2.00 Error Cou| 00000260 6c 64 6e 27 74 20 6c 6f 61 64 20 49 6e 74 65 72 |ldn't load Inter| 00000270 66 61 63 65 20 6d 6f 64 75 6c 65 0a 52 4d 45 6e |face module.RMEn| 00000280 73 75 72 65 20 4d 65 6e 75 55 74 69 6c 73 20 30 |sure MenuUtils 0| 00000290 2e 31 31 20 52 4d 4c 6f 61 64 20 3c 45 76 6e 74 |.11 RMLoad <Evnt| 000002a0 53 68 65 6c 6c 24 50 61 74 68 3e 4d 65 6e 75 55 |Shell$Path>MenuU| 000002b0 74 69 6c 73 0a 52 4d 45 6e 73 75 72 65 20 4d 65 |tils.RMEnsure Me| 000002c0 6e 75 55 74 69 6c 73 20 30 2e 31 31 20 45 72 72 |nuUtils 0.11 Err| 000002d0 6f 72 20 30 20 45 72 72 6f 72 20 43 6f 75 6c 64 |or 0 Error Could| 000002e0 6e 27 74 20 6c 6f 61 64 20 4d 65 6e 75 55 74 69 |n't load MenuUti| 000002f0 6c 73 20 4d 6f 64 75 6c 65 0a 52 4d 45 6e 73 75 |ls Module.RMEnsu| 00000300 72 65 20 4d 65 73 73 61 67 65 54 72 61 6e 73 20 |re MessageTrans | 00000310 30 2e 30 36 20 52 4d 4c 6f 61 64 20 3c 45 76 6e |0.06 RMLoad <Evn| 00000320 74 53 68 65 6c 6c 24 50 61 74 68 3e 4d 73 67 54 |tShell$Path>MsgT| 00000330 72 61 6e 73 0a 52 4d 45 6e 73 75 72 65 20 4d 65 |rans.RMEnsure Me| 00000340 73 73 61 67 65 54 72 61 6e 73 20 30 2e 30 36 20 |ssageTrans 0.06 | 00000350 45 72 72 6f 72 20 43 6f 75 6c 64 6e 27 74 20 6c |Error Couldn't l| 00000360 6f 61 64 20 4d 73 67 54 72 61 6e 73 20 4d 6f 64 |oad MsgTrans Mod| 00000370 75 6c 65 0a 52 4d 45 6e 73 75 72 65 20 44 72 61 |ule.RMEnsure Dra| 00000380 77 46 69 6c 65 20 31 2e 30 31 20 52 4d 4c 6f 61 |wFile 1.01 RMLoa| 00000390 64 20 3c 4f 62 65 79 24 44 69 72 3e 2e 44 72 61 |d <Obey$Dir>.Dra| 000003a0 77 46 69 6c 65 0a 52 4d 45 6e 73 75 72 65 20 44 |wFile.RMEnsure D| 000003b0 72 61 77 46 69 6c 65 20 31 2e 30 31 20 45 72 72 |rawFile 1.01 Err| 000003c0 6f 72 20 43 6f 75 6c 64 6e 27 74 20 6c 6f 61 64 |or Couldn't load| 000003d0 20 44 72 61 77 46 69 6c 65 20 4d 6f 64 75 6c 65 | DrawFile Module| 000003e0 0a 7c 52 4d 45 6e 73 75 72 65 20 57 69 6d 70 45 |.|RMEnsure WimpE| 000003f0 78 74 65 6e 73 69 6f 6e 20 32 2e 31 38 20 52 4d |xtension 2.18 RM| 00000400 4c 6f 61 64 20 3c 4f 62 65 79 24 44 69 72 3e 2e |Load <Obey$Dir>.| 00000410 57 69 6d 70 45 78 74 0a 7c 52 4d 45 6e 73 75 72 |WimpExt.|RMEnsur| 00000420 65 20 57 69 6d 70 45 78 74 65 6e 73 69 6f 6e 20 |e WimpExtension | 00000430 32 2e 31 38 20 45 72 72 6f 72 20 43 6f 75 6c 64 |2.18 Error Could| 00000440 6e 27 74 20 6c 6f 61 64 20 57 69 6d 70 45 78 74 |n't load WimpExt| 00000450 65 6e 73 69 6f 6e 20 4d 6f 64 75 6c 65 0a 7c 41 |ension Module.|A| 00000460 6e 64 20 63 68 65 63 6b 20 74 68 61 74 20 74 68 |nd check that th| 00000470 65 72 65 20 69 73 20 73 74 69 6c 6c 20 65 6e 6f |ere is still eno| 00000480 75 67 68 20 6d 65 6d 6f 72 79 21 0a 57 69 6d 70 |ugh memory!.Wimp| 00000490 53 6c 6f 74 20 2d 6d 69 6e 20 32 35 36 4b 20 2d |Slot -min 256K -| 000004a0 6d 61 78 20 32 35 36 4b 0a 52 75 6e 20 3c 54 65 |max 256K.Run <Te| 000004b0 73 74 44 72 61 77 24 44 69 72 3e 2e 21 54 65 73 |stDraw$Dir>.!Tes| 000004c0 74 44 72 61 77 20 25 2a 30 0a |tDraw %*0.| 000004ca