Home » Archimedes archive » Acorn User » Acorn User - Updated Shareware Collection (1994).adf » Programs » !TemplEd/!Run

!TemplEd/!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 User » Acorn User - Updated Shareware Collection (1994).adf » Programs
Filename: !TemplEd/!Run
Read OK:
File size: 022D bytes
Load address: 0000
Exec address: 0000
File contents
|
| !Run file for !TemplEd
|
Set TemplEd$Dir <Obey$Dir>
Set Alias$@RunType_FEC Run <TemplEd$Dir>.!Run %%*0
IconSprites <TemplEd$Dir>.!Sprites
RMEnsure BorderUtils 0.0 RMLoad <TemplEd$Dir>.BorderUtil
RMEnsure MenuUtils 0.11 RMLoad <TemplEd$Dir>.MenuUtils
If "<System$Path>" = "" then Error 0 System resources cannot be found
RMEnsure MessageTrans 0.0 RMLoad System:modules.MsgTrans
|
| NOTE: 112k is enough for my machine with Risc OS 3.10
|       Other OS versions may require a larger WimpSlot
|
WimpSlot -min 112K -max 112K
Run <TemplEd$Dir>.!RunImage %*0
00000000  7c 0a 7c 20 21 52 75 6e  20 66 69 6c 65 20 66 6f  ||.| !Run file fo|
00000010  72 20 21 54 65 6d 70 6c  45 64 0a 7c 0a 53 65 74  |r !TemplEd.|.Set|
00000020  20 54 65 6d 70 6c 45 64  24 44 69 72 20 3c 4f 62  | TemplEd$Dir <Ob|
00000030  65 79 24 44 69 72 3e 0a  53 65 74 20 41 6c 69 61  |ey$Dir>.Set Alia|
00000040  73 24 40 52 75 6e 54 79  70 65 5f 46 45 43 20 52  |s$@RunType_FEC R|
00000050  75 6e 20 3c 54 65 6d 70  6c 45 64 24 44 69 72 3e  |un <TemplEd$Dir>|
00000060  2e 21 52 75 6e 20 25 25  2a 30 0a 49 63 6f 6e 53  |.!Run %%*0.IconS|
00000070  70 72 69 74 65 73 20 3c  54 65 6d 70 6c 45 64 24  |prites <TemplEd$|
00000080  44 69 72 3e 2e 21 53 70  72 69 74 65 73 0a 52 4d  |Dir>.!Sprites.RM|
00000090  45 6e 73 75 72 65 20 42  6f 72 64 65 72 55 74 69  |Ensure BorderUti|
000000a0  6c 73 20 30 2e 30 20 52  4d 4c 6f 61 64 20 3c 54  |ls 0.0 RMLoad <T|
000000b0  65 6d 70 6c 45 64 24 44  69 72 3e 2e 42 6f 72 64  |emplEd$Dir>.Bord|
000000c0  65 72 55 74 69 6c 0a 52  4d 45 6e 73 75 72 65 20  |erUtil.RMEnsure |
000000d0  4d 65 6e 75 55 74 69 6c  73 20 30 2e 31 31 20 52  |MenuUtils 0.11 R|
000000e0  4d 4c 6f 61 64 20 3c 54  65 6d 70 6c 45 64 24 44  |MLoad <TemplEd$D|
000000f0  69 72 3e 2e 4d 65 6e 75  55 74 69 6c 73 0a 49 66  |ir>.MenuUtils.If|
00000100  20 22 3c 53 79 73 74 65  6d 24 50 61 74 68 3e 22  | "<System$Path>"|
00000110  20 3d 20 22 22 20 74 68  65 6e 20 45 72 72 6f 72  | = "" then Error|
00000120  20 30 20 53 79 73 74 65  6d 20 72 65 73 6f 75 72  | 0 System resour|
00000130  63 65 73 20 63 61 6e 6e  6f 74 20 62 65 20 66 6f  |ces cannot be fo|
00000140  75 6e 64 0a 52 4d 45 6e  73 75 72 65 20 4d 65 73  |und.RMEnsure Mes|
00000150  73 61 67 65 54 72 61 6e  73 20 30 2e 30 20 52 4d  |sageTrans 0.0 RM|
00000160  4c 6f 61 64 20 53 79 73  74 65 6d 3a 6d 6f 64 75  |Load System:modu|
00000170  6c 65 73 2e 4d 73 67 54  72 61 6e 73 0a 7c 0a 7c  |les.MsgTrans.|.||
00000180  20 4e 4f 54 45 3a 20 31  31 32 6b 20 69 73 20 65  | NOTE: 112k is e|
00000190  6e 6f 75 67 68 20 66 6f  72 20 6d 79 20 6d 61 63  |nough for my mac|
000001a0  68 69 6e 65 20 77 69 74  68 20 52 69 73 63 20 4f  |hine with Risc O|
000001b0  53 20 33 2e 31 30 0a 7c  20 20 20 20 20 20 20 4f  |S 3.10.|       O|
000001c0  74 68 65 72 20 4f 53 20  76 65 72 73 69 6f 6e 73  |ther OS versions|
000001d0  20 6d 61 79 20 72 65 71  75 69 72 65 20 61 20 6c  | may require a l|
000001e0  61 72 67 65 72 20 57 69  6d 70 53 6c 6f 74 0a 7c  |arger WimpSlot.||
000001f0  0a 57 69 6d 70 53 6c 6f  74 20 2d 6d 69 6e 20 31  |.WimpSlot -min 1|
00000200  31 32 4b 20 2d 6d 61 78  20 31 31 32 4b 0a 52 75  |12K -max 112K.Ru|
00000210  6e 20 3c 54 65 6d 70 6c  45 64 24 44 69 72 3e 2e  |n <TemplEd$Dir>.|
00000220  21 52 75 6e 49 6d 61 67  65 20 25 2a 30           |!RunImage %*0|
0000022d