Home » Archimedes archive » Acorn Computing » 1994 08 subscription disc.adf » 9408s » Shareware/Event/Documents/Examples/!Redraw2/!Run

Shareware/Event/Documents/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 » Acorn Computing » 1994 08 subscription disc.adf » 9408s
Filename: Shareware/Event/Documents/Examples/!Redraw2/!Run
Read OK:
File size: 0369 bytes
Load address: 0000
Exec address: 0000
File contents
| !Run Obey file for Redraw2 Application
Set Redraw2$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
IconSprites <Obey$Dir>.!Sprites
Run <Obey$Dir>.ChkSpr
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 <Redraw2$Dir>.!Redraw2 %*0
00000000  0a 7c 20 21 52 75 6e 20  4f 62 65 79 20 66 69 6c  |.| !Run Obey fil|
00000010  65 20 66 6f 72 20 52 65  64 72 61 77 32 20 41 70  |e for Redraw2 Ap|
00000020  70 6c 69 63 61 74 69 6f  6e 0a 53 65 74 20 52 65  |plication.Set Re|
00000030  64 72 61 77 32 24 44 69  72 20 3c 4f 62 65 79 24  |draw2$Dir <Obey$|
00000040  44 69 72 3e 0a 53 65 74  20 41 6c 69 61 73 24 40  |Dir>.Set Alias$@|
00000050  52 75 6e 54 79 70 65 5f  46 44 31 20 42 61 73 69  |RunType_FD1 Basi|
00000060  63 20 2d 71 75 69 74 20  7c 22 25 25 30 7c 22 20  |c -quit |"%%0|" |
00000070  25 25 2a 31 0a 49 46 20  22 3c 45 76 6e 74 53 68  |%%*1.IF "<EvntSh|
00000080  65 6c 6c 53 79 73 74 65  6d 24 50 61 74 68 3e 22  |ellSystem$Path>"|
00000090  3d 22 22 20 54 48 45 4e  20 45 52 52 4f 52 20 30  |="" THEN ERROR 0|
000000a0  20 53 68 65 6c 6c 20 72  65 73 6f 75 72 63 65 73  | Shell resources|
000000b0  20 6e 6f 74 20 66 6f 75  6e 64 0a 7c 43 68 61 6e  | not found.|Chan|
000000c0  67 65 20 74 68 65 20 6e  65 78 74 20 6c 69 6e 65  |ge the next line|
000000d0  20 69 66 20 79 6f 75 20  61 72 65 20 75 73 69 6e  | if you are usin|
000000e0  67 20 61 20 64 69 66 66  65 72 65 6e 74 0a 7c 66  |g a different.|f|
000000f0  69 6c 65 74 79 70 65 20  6e 75 6d 62 65 72 0a 49  |iletype number.I|
00000100  63 6f 6e 53 70 72 69 74  65 73 20 3c 4f 62 65 79  |conSprites <Obey|
00000110  24 44 69 72 3e 2e 21 53  70 72 69 74 65 73 0a 52  |$Dir>.!Sprites.R|
00000120  75 6e 20 3c 4f 62 65 79  24 44 69 72 3e 2e 43 68  |un <Obey$Dir>.Ch|
00000130  6b 53 70 72 0a 57 69 6d  70 53 6c 6f 74 20 2d 6d  |kSpr.WimpSlot -m|
00000140  69 6e 20 31 32 38 4b 20  2d 6d 61 78 20 31 32 38  |in 128K -max 128|
00000150  4b 0a 7c 4c 6f 61 64 20  61 6e 79 20 6d 6f 64 75  |K.|Load any modu|
00000160  6c 65 73 20 72 65 71 75  69 72 65 64 20 6e 6f 77  |les required now|
00000170  0a 52 4d 45 6e 73 75 72  65 20 49 6e 74 65 72 66  |.RMEnsure Interf|
00000180  61 63 65 4d 61 6e 61 67  65 72 20 32 2e 30 30 20  |aceManager 2.00 |
00000190  52 4d 4c 6f 61 64 20 3c  45 76 6e 74 53 68 65 6c  |RMLoad <EvntShel|
000001a0  6c 53 79 73 74 65 6d 24  50 61 74 68 3e 49 6e 74  |lSystem$Path>Int|
000001b0  65 72 66 61 63 65 0a 52  4d 45 6e 73 75 72 65 20  |erface.RMEnsure |
000001c0  49 6e 74 65 72 66 61 63  65 4d 61 6e 61 67 65 72  |InterfaceManager|
000001d0  20 32 2e 30 30 20 45 72  72 6f 72 20 43 6f 75 6c  | 2.00 Error Coul|
000001e0  64 6e 27 74 20 6c 6f 61  64 20 49 6e 74 65 72 66  |dn't load Interf|
000001f0  61 63 65 20 6d 6f 64 75  6c 65 0a 52 4d 45 6e 73  |ace module.RMEns|
00000200  75 72 65 20 4d 65 6e 75  55 74 69 6c 73 20 30 2e  |ure MenuUtils 0.|
00000210  31 31 20 52 4d 4c 6f 61  64 20 3c 45 76 6e 74 53  |11 RMLoad <EvntS|
00000220  68 65 6c 6c 53 79 73 74  65 6d 24 50 61 74 68 3e  |hellSystem$Path>|
00000230  4d 65 6e 75 55 74 69 6c  73 0a 52 4d 45 6e 73 75  |MenuUtils.RMEnsu|
00000240  72 65 20 4d 65 6e 75 55  74 69 6c 73 20 30 2e 31  |re MenuUtils 0.1|
00000250  31 20 45 72 72 6f 72 20  30 20 45 72 72 6f 72 20  |1 Error 0 Error |
00000260  43 6f 75 6c 64 6e 27 74  20 6c 6f 61 64 20 4d 65  |Couldn't load Me|
00000270  6e 75 55 74 69 6c 73 20  4d 6f 64 75 6c 65 0a 52  |nuUtils Module.R|
00000280  4d 45 6e 73 75 72 65 20  4d 65 73 73 61 67 65 54  |MEnsure MessageT|
00000290  72 61 6e 73 20 30 2e 30  36 20 52 4d 4c 6f 61 64  |rans 0.06 RMLoad|
000002a0  20 3c 45 76 6e 74 53 68  65 6c 6c 53 79 73 74 65  | <EvntShellSyste|
000002b0  6d 24 50 61 74 68 3e 4d  73 67 54 72 61 6e 73 0a  |m$Path>MsgTrans.|
000002c0  52 4d 45 6e 73 75 72 65  20 4d 65 73 73 61 67 65  |RMEnsure Message|
000002d0  54 72 61 6e 73 20 30 2e  30 36 20 45 72 72 6f 72  |Trans 0.06 Error|
000002e0  20 43 6f 75 6c 64 6e 27  74 20 6c 6f 61 64 20 4d  | Couldn't load M|
000002f0  73 67 54 72 61 6e 73 20  4d 6f 64 75 6c 65 0a 7c  |sgTrans Module.||
00000300  41 6e 64 20 63 68 65 63  6b 20 74 68 61 74 20 74  |And check that t|
00000310  68 65 72 65 20 69 73 20  73 74 69 6c 6c 20 65 6e  |here is still en|
00000320  6f 75 67 68 20 6d 65 6d  6f 72 79 21 0a 57 69 6d  |ough memory!.Wim|
00000330  70 53 6c 6f 74 20 2d 6d  69 6e 20 31 32 38 4b 20  |pSlot -min 128K |
00000340  2d 6d 61 78 20 31 32 38  4b 0a 52 75 6e 20 3c 52  |-max 128K.Run <R|
00000350  65 64 72 61 77 32 24 44  69 72 3e 2e 21 52 65 64  |edraw2$Dir>.!Red|
00000360  72 61 77 32 20 25 2a 30  0a                       |raw2 %*0.|
00000369