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

Shareware/Event/Documents/Examples/!Redraw/!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/!Redraw/!Run
Read OK:
File size: 03A8 bytes
Load address: 0000
Exec address: 0000
File contents
|ForceCFS
| !Run Obey file for Redraw Application
Set Redraw$Dir <Obey$Dir>
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
WimpSlot -min 192K -max 192K
|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
RMEnsure FontWindow 1.21 RMLoad <EvntShellSystem$Path>FontWindow
RMEnsure FontWindow 1.21 Error Couldn't load FontWindow Module
|And check that there is still enough memory!
WimpSlot -min 192K -max 192K
Run <Redraw$Dir>.!Redraw %*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 20 41 70  70 6c 69 63 61 74 69 6f  |edraw Applicatio|
00000030  6e 0a 53 65 74 20 52 65  64 72 61 77 24 44 69 72  |n.Set Redraw$Dir|
00000040  20 3c 4f 62 65 79 24 44  69 72 3e 0a 49 46 20 22  | <Obey$Dir>.IF "|
00000050  3c 45 76 6e 74 53 68 65  6c 6c 53 79 73 74 65 6d  |<EvntShellSystem|
00000060  24 50 61 74 68 3e 22 3d  22 22 20 54 48 45 4e 20  |$Path>"="" THEN |
00000070  45 52 52 4f 52 20 30 20  53 68 65 6c 6c 20 72 65  |ERROR 0 Shell re|
00000080  73 6f 75 72 63 65 73 20  6e 6f 74 20 66 6f 75 6e  |sources not foun|
00000090  64 0a 7c 43 68 61 6e 67  65 20 74 68 65 20 6e 65  |d.|Change the ne|
000000a0  78 74 20 6c 69 6e 65 20  69 66 20 79 6f 75 20 61  |xt line if you a|
000000b0  72 65 20 75 73 69 6e 67  20 61 20 64 69 66 66 65  |re using a diffe|
000000c0  72 65 6e 74 0a 7c 66 69  6c 65 74 79 70 65 20 6e  |rent.|filetype n|
000000d0  75 6d 62 65 72 0a 49 63  6f 6e 53 70 72 69 74 65  |umber.IconSprite|
000000e0  73 20 3c 4f 62 65 79 24  44 69 72 3e 2e 21 53 70  |s <Obey$Dir>.!Sp|
000000f0  72 69 74 65 73 0a 57 69  6d 70 53 6c 6f 74 20 2d  |rites.WimpSlot -|
00000100  6d 69 6e 20 31 39 32 4b  20 2d 6d 61 78 20 31 39  |min 192K -max 19|
00000110  32 4b 0a 7c 4c 6f 61 64  20 61 6e 79 20 6d 6f 64  |2K.|Load any mod|
00000120  75 6c 65 73 20 72 65 71  75 69 72 65 64 20 6e 6f  |ules required no|
00000130  77 0a 52 4d 45 6e 73 75  72 65 20 49 6e 74 65 72  |w.RMEnsure Inter|
00000140  66 61 63 65 4d 61 6e 61  67 65 72 20 32 2e 30 30  |faceManager 2.00|
00000150  20 52 4d 4c 6f 61 64 20  3c 45 76 6e 74 53 68 65  | RMLoad <EvntShe|
00000160  6c 6c 53 79 73 74 65 6d  24 50 61 74 68 3e 49 6e  |llSystem$Path>In|
00000170  74 65 72 66 61 63 65 0a  52 4d 45 6e 73 75 72 65  |terface.RMEnsure|
00000180  20 49 6e 74 65 72 66 61  63 65 4d 61 6e 61 67 65  | InterfaceManage|
00000190  72 20 32 2e 30 30 20 45  72 72 6f 72 20 43 6f 75  |r 2.00 Error Cou|
000001a0  6c 64 6e 27 74 20 6c 6f  61 64 20 49 6e 74 65 72  |ldn't load Inter|
000001b0  66 61 63 65 20 6d 6f 64  75 6c 65 0a 52 4d 45 6e  |face module.RMEn|
000001c0  73 75 72 65 20 4d 65 6e  75 55 74 69 6c 73 20 30  |sure MenuUtils 0|
000001d0  2e 31 31 20 52 4d 4c 6f  61 64 20 3c 45 76 6e 74  |.11 RMLoad <Evnt|
000001e0  53 68 65 6c 6c 53 79 73  74 65 6d 24 50 61 74 68  |ShellSystem$Path|
000001f0  3e 4d 65 6e 75 55 74 69  6c 73 0a 52 4d 45 6e 73  |>MenuUtils.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 45 72 72 6f 72  20 30 20 45 72 72 6f 72  |11 Error 0 Error|
00000220  20 43 6f 75 6c 64 6e 27  74 20 6c 6f 61 64 20 4d  | Couldn't load M|
00000230  65 6e 75 55 74 69 6c 73  20 4d 6f 64 75 6c 65 0a  |enuUtils Module.|
00000240  52 4d 45 6e 73 75 72 65  20 4d 65 73 73 61 67 65  |RMEnsure Message|
00000250  54 72 61 6e 73 20 30 2e  30 36 20 52 4d 4c 6f 61  |Trans 0.06 RMLoa|
00000260  64 20 3c 45 76 6e 74 53  68 65 6c 6c 53 79 73 74  |d <EvntShellSyst|
00000270  65 6d 24 50 61 74 68 3e  4d 73 67 54 72 61 6e 73  |em$Path>MsgTrans|
00000280  0a 52 4d 45 6e 73 75 72  65 20 4d 65 73 73 61 67  |.RMEnsure Messag|
00000290  65 54 72 61 6e 73 20 30  2e 30 36 20 45 72 72 6f  |eTrans 0.06 Erro|
000002a0  72 20 43 6f 75 6c 64 6e  27 74 20 6c 6f 61 64 20  |r Couldn't load |
000002b0  4d 73 67 54 72 61 6e 73  20 4d 6f 64 75 6c 65 0a  |MsgTrans Module.|
000002c0  52 4d 45 6e 73 75 72 65  20 46 6f 6e 74 57 69 6e  |RMEnsure FontWin|
000002d0  64 6f 77 20 31 2e 32 31  20 52 4d 4c 6f 61 64 20  |dow 1.21 RMLoad |
000002e0  3c 45 76 6e 74 53 68 65  6c 6c 53 79 73 74 65 6d  |<EvntShellSystem|
000002f0  24 50 61 74 68 3e 46 6f  6e 74 57 69 6e 64 6f 77  |$Path>FontWindow|
00000300  0a 52 4d 45 6e 73 75 72  65 20 46 6f 6e 74 57 69  |.RMEnsure FontWi|
00000310  6e 64 6f 77 20 31 2e 32  31 20 45 72 72 6f 72 20  |ndow 1.21 Error |
00000320  43 6f 75 6c 64 6e 27 74  20 6c 6f 61 64 20 46 6f  |Couldn't load Fo|
00000330  6e 74 57 69 6e 64 6f 77  20 4d 6f 64 75 6c 65 0a  |ntWindow Module.|
00000340  7c 41 6e 64 20 63 68 65  63 6b 20 74 68 61 74 20  ||And check that |
00000350  74 68 65 72 65 20 69 73  20 73 74 69 6c 6c 20 65  |there is still e|
00000360  6e 6f 75 67 68 20 6d 65  6d 6f 72 79 21 0a 57 69  |nough memory!.Wi|
00000370  6d 70 53 6c 6f 74 20 2d  6d 69 6e 20 31 39 32 4b  |mpSlot -min 192K|
00000380  20 2d 6d 61 78 20 31 39  32 4b 0a 52 75 6e 20 3c  | -max 192K.Run <|
00000390  52 65 64 72 61 77 24 44  69 72 3e 2e 21 52 65 64  |Redraw$Dir>.!Red|
000003a0  72 61 77 20 25 2a 30 0a                           |raw %*0.|
000003a8