Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/Examples/!Redraw2/!Run
!AWJan95/Goodies/Event/Examples/!Redraw2/!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/!Redraw2/!Run |
Read OK: | ✔ |
File size: | 0384 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
|ForceCFS | !Run Obey file for Redraw2 Application Set Redraw2$Dir <Obey$Dir> Set Redraw2$BasicFile <Obey$Dir>.!Redraw2 Set Alias$@RunType_FD1 Basic -quit |"%%0|" %%*1 IF "<EvntShell$Path>"="" THEN ERROR 0 Shell resources not found |Change the next line if you are using a different |filetype number IconSprites <Obey$Dir>.!Sprites Run <Obey$Dir>.ChkSpr WimpSlot -min 150K -max 150K |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 150K -max 150K Run <Redraw2$Dir>.!Redraw2 %*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 52 | Obey file for R| 00000020 65 64 72 61 77 32 20 41 70 70 6c 69 63 61 74 69 |edraw2 Applicati| 00000030 6f 6e 0a 53 65 74 20 52 65 64 72 61 77 32 24 44 |on.Set Redraw2$D| 00000040 69 72 20 3c 4f 62 65 79 24 44 69 72 3e 0a 53 65 |ir <Obey$Dir>.Se| 00000050 74 20 52 65 64 72 61 77 32 24 42 61 73 69 63 46 |t Redraw2$BasicF| 00000060 69 6c 65 20 3c 4f 62 65 79 24 44 69 72 3e 2e 21 |ile <Obey$Dir>.!| 00000070 52 65 64 72 61 77 32 0a 53 65 74 20 41 6c 69 61 |Redraw2.Set Alia| 00000080 73 24 40 52 75 6e 54 79 70 65 5f 46 44 31 20 42 |s$@RunType_FD1 B| 00000090 61 73 69 63 20 2d 71 75 69 74 20 7c 22 25 25 30 |asic -quit |"%%0| 000000a0 7c 22 20 25 25 2a 31 0a 49 46 20 22 3c 45 76 6e ||" %%*1.IF "<Evn| 000000b0 74 53 68 65 6c 6c 24 50 61 74 68 3e 22 3d 22 22 |tShell$Path>"=""| 000000c0 20 54 48 45 4e 20 45 52 52 4f 52 20 30 20 53 68 | THEN ERROR 0 Sh| 000000d0 65 6c 6c 20 72 65 73 6f 75 72 63 65 73 20 6e 6f |ell resources no| 000000e0 74 20 66 6f 75 6e 64 0a 7c 43 68 61 6e 67 65 20 |t found.|Change | 000000f0 74 68 65 20 6e 65 78 74 20 6c 69 6e 65 20 69 66 |the next line if| 00000100 20 79 6f 75 20 61 72 65 20 75 73 69 6e 67 20 61 | you are using a| 00000110 20 64 69 66 66 65 72 65 6e 74 0a 7c 66 69 6c 65 | different.|file| 00000120 74 79 70 65 20 6e 75 6d 62 65 72 0a 49 63 6f 6e |type number.Icon| 00000130 53 70 72 69 74 65 73 20 3c 4f 62 65 79 24 44 69 |Sprites <Obey$Di| 00000140 72 3e 2e 21 53 70 72 69 74 65 73 0a 52 75 6e 20 |r>.!Sprites.Run | 00000150 3c 4f 62 65 79 24 44 69 72 3e 2e 43 68 6b 53 70 |<Obey$Dir>.ChkSp| 00000160 72 0a 57 69 6d 70 53 6c 6f 74 20 2d 6d 69 6e 20 |r.WimpSlot -min | 00000170 31 35 30 4b 20 2d 6d 61 78 20 31 35 30 4b 0a 7c |150K -max 150K.|| 00000180 4c 6f 61 64 20 61 6e 79 20 6d 6f 64 75 6c 65 73 |Load any modules| 00000190 20 72 65 71 75 69 72 65 64 20 6e 6f 77 0a 52 4d | required now.RM| 000001a0 45 6e 73 75 72 65 20 49 6e 74 65 72 66 61 63 65 |Ensure Interface| 000001b0 4d 61 6e 61 67 65 72 20 32 2e 30 30 20 52 4d 4c |Manager 2.00 RML| 000001c0 6f 61 64 20 3c 45 76 6e 74 53 68 65 6c 6c 24 50 |oad <EvntShell$P| 000001d0 61 74 68 3e 49 6e 74 65 72 66 61 63 65 0a 52 4d |ath>Interface.RM| 000001e0 45 6e 73 75 72 65 20 49 6e 74 65 72 66 61 63 65 |Ensure Interface| 000001f0 4d 61 6e 61 67 65 72 20 32 2e 30 30 20 45 72 72 |Manager 2.00 Err| 00000200 6f 72 20 43 6f 75 6c 64 6e 27 74 20 6c 6f 61 64 |or Couldn't load| 00000210 20 49 6e 74 65 72 66 61 63 65 20 6d 6f 64 75 6c | Interface modul| 00000220 65 0a 52 4d 45 6e 73 75 72 65 20 4d 65 6e 75 55 |e.RMEnsure MenuU| 00000230 74 69 6c 73 20 30 2e 31 31 20 52 4d 4c 6f 61 64 |tils 0.11 RMLoad| 00000240 20 3c 45 76 6e 74 53 68 65 6c 6c 24 50 61 74 68 | <EvntShell$Path| 00000250 3e 4d 65 6e 75 55 74 69 6c 73 0a 52 4d 45 6e 73 |>MenuUtils.RMEns| 00000260 75 72 65 20 4d 65 6e 75 55 74 69 6c 73 20 30 2e |ure MenuUtils 0.| 00000270 31 31 20 45 72 72 6f 72 20 30 20 45 72 72 6f 72 |11 Error 0 Error| 00000280 20 43 6f 75 6c 64 6e 27 74 20 6c 6f 61 64 20 4d | Couldn't load M| 00000290 65 6e 75 55 74 69 6c 73 20 4d 6f 64 75 6c 65 0a |enuUtils Module.| 000002a0 52 4d 45 6e 73 75 72 65 20 4d 65 73 73 61 67 65 |RMEnsure Message| 000002b0 54 72 61 6e 73 20 30 2e 30 36 20 52 4d 4c 6f 61 |Trans 0.06 RMLoa| 000002c0 64 20 3c 45 76 6e 74 53 68 65 6c 6c 24 50 61 74 |d <EvntShell$Pat| 000002d0 68 3e 4d 73 67 54 72 61 6e 73 0a 52 4d 45 6e 73 |h>MsgTrans.RMEns| 000002e0 75 72 65 20 4d 65 73 73 61 67 65 54 72 61 6e 73 |ure MessageTrans| 000002f0 20 30 2e 30 36 20 45 72 72 6f 72 20 43 6f 75 6c | 0.06 Error Coul| 00000300 64 6e 27 74 20 6c 6f 61 64 20 4d 73 67 54 72 61 |dn't load MsgTra| 00000310 6e 73 20 4d 6f 64 75 6c 65 0a 7c 41 6e 64 20 63 |ns Module.|And c| 00000320 68 65 63 6b 20 74 68 61 74 20 74 68 65 72 65 20 |heck that there | 00000330 69 73 20 73 74 69 6c 6c 20 65 6e 6f 75 67 68 20 |is still enough | 00000340 6d 65 6d 6f 72 79 21 0a 57 69 6d 70 53 6c 6f 74 |memory!.WimpSlot| 00000350 20 2d 6d 69 6e 20 31 35 30 4b 20 2d 6d 61 78 20 | -min 150K -max | 00000360 31 35 30 4b 0a 52 75 6e 20 3c 52 65 64 72 61 77 |150K.Run <Redraw| 00000370 32 24 44 69 72 3e 2e 21 52 65 64 72 61 77 32 20 |2$Dir>.!Redraw2 | 00000380 25 2a 30 0a |%*0.| 00000384