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

Shareware/Event/Documents/Examples/!Text-DTP/!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/!Text-DTP/!Run
Read OK:
File size: 0373 bytes
Load address: 0000
Exec address: 0000
File contents
|ForceCFS
| !Run Obey file for Text-DTP Application
Set Text-DTP$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
|Set Alias$@RunType_200 Run <Obey$Dir>.!Run %%*0
IconSprites <Obey$Dir>.!Sprites
Run <Obey$Dir>.ChkSpr
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>MenuMod
RMEnsure MenuUtils 0.11 Error 0 Error Couldn't load MenuMod 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 192K -max 192K
Run <Text-DTP$Dir>.!Text-DTP %*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 54  | Obey file for T|
00000020  65 78 74 2d 44 54 50 20  41 70 70 6c 69 63 61 74  |ext-DTP Applicat|
00000030  69 6f 6e 0a 53 65 74 20  54 65 78 74 2d 44 54 50  |ion.Set Text-DTP|
00000040  24 44 69 72 20 3c 4f 62  65 79 24 44 69 72 3e 0a  |$Dir <Obey$Dir>.|
00000050  49 46 20 22 3c 45 76 6e  74 53 68 65 6c 6c 53 79  |IF "<EvntShellSy|
00000060  73 74 65 6d 24 50 61 74  68 3e 22 3d 22 22 20 54  |stem$Path>"="" T|
00000070  48 45 4e 20 45 52 52 4f  52 20 30 20 53 68 65 6c  |HEN ERROR 0 Shel|
00000080  6c 20 72 65 73 6f 75 72  63 65 73 20 6e 6f 74 20  |l resources not |
00000090  66 6f 75 6e 64 0a 7c 43  68 61 6e 67 65 20 74 68  |found.|Change th|
000000a0  65 20 6e 65 78 74 20 6c  69 6e 65 20 69 66 20 79  |e next line if y|
000000b0  6f 75 20 61 72 65 20 75  73 69 6e 67 20 61 20 64  |ou are using a d|
000000c0  69 66 66 65 72 65 6e 74  0a 7c 66 69 6c 65 74 79  |ifferent.|filety|
000000d0  70 65 20 6e 75 6d 62 65  72 0a 7c 53 65 74 20 41  |pe number.|Set A|
000000e0  6c 69 61 73 24 40 52 75  6e 54 79 70 65 5f 32 30  |lias$@RunType_20|
000000f0  30 20 52 75 6e 20 3c 4f  62 65 79 24 44 69 72 3e  |0 Run <Obey$Dir>|
00000100  2e 21 52 75 6e 20 25 25  2a 30 0a 49 63 6f 6e 53  |.!Run %%*0.IconS|
00000110  70 72 69 74 65 73 20 3c  4f 62 65 79 24 44 69 72  |prites <Obey$Dir|
00000120  3e 2e 21 53 70 72 69 74  65 73 0a 52 75 6e 20 3c  |>.!Sprites.Run <|
00000130  4f 62 65 79 24 44 69 72  3e 2e 43 68 6b 53 70 72  |Obey$Dir>.ChkSpr|
00000140  0a 57 69 6d 70 53 6c 6f  74 20 2d 6d 69 6e 20 31  |.WimpSlot -min 1|
00000150  39 32 4b 20 2d 6d 61 78  20 31 39 32 4b 0a 7c 4c  |92K -max 192K.|L|
00000160  6f 61 64 20 61 6e 79 20  6d 6f 64 75 6c 65 73 20  |oad any modules |
00000170  72 65 71 75 69 72 65 64  20 6e 6f 77 0a 52 4d 45  |required now.RME|
00000180  6e 73 75 72 65 20 49 6e  74 65 72 66 61 63 65 4d  |nsure InterfaceM|
00000190  61 6e 61 67 65 72 20 32  2e 30 30 20 52 4d 4c 6f  |anager 2.00 RMLo|
000001a0  61 64 20 3c 45 76 6e 74  53 68 65 6c 6c 53 79 73  |ad <EvntShellSys|
000001b0  74 65 6d 24 50 61 74 68  3e 49 6e 74 65 72 66 61  |tem$Path>Interfa|
000001c0  63 65 0a 52 4d 45 6e 73  75 72 65 20 49 6e 74 65  |ce.RMEnsure Inte|
000001d0  72 66 61 63 65 4d 61 6e  61 67 65 72 20 32 2e 30  |rfaceManager 2.0|
000001e0  30 20 45 72 72 6f 72 20  43 6f 75 6c 64 6e 27 74  |0 Error Couldn't|
000001f0  20 6c 6f 61 64 20 49 6e  74 65 72 66 61 63 65 20  | load Interface |
00000200  6d 6f 64 75 6c 65 0a 52  4d 45 6e 73 75 72 65 20  |module.RMEnsure |
00000210  4d 65 6e 75 55 74 69 6c  73 20 30 2e 31 31 20 52  |MenuUtils 0.11 R|
00000220  4d 4c 6f 61 64 20 3c 45  76 6e 74 53 68 65 6c 6c  |MLoad <EvntShell|
00000230  53 79 73 74 65 6d 24 50  61 74 68 3e 4d 65 6e 75  |System$Path>Menu|
00000240  4d 6f 64 0a 52 4d 45 6e  73 75 72 65 20 4d 65 6e  |Mod.RMEnsure Men|
00000250  75 55 74 69 6c 73 20 30  2e 31 31 20 45 72 72 6f  |uUtils 0.11 Erro|
00000260  72 20 30 20 45 72 72 6f  72 20 43 6f 75 6c 64 6e  |r 0 Error Couldn|
00000270  27 74 20 6c 6f 61 64 20  4d 65 6e 75 4d 6f 64 20  |'t load MenuMod |
00000280  4d 6f 64 75 6c 65 0a 52  4d 45 6e 73 75 72 65 20  |Module.RMEnsure |
00000290  4d 65 73 73 61 67 65 54  72 61 6e 73 20 30 2e 30  |MessageTrans 0.0|
000002a0  36 20 52 4d 4c 6f 61 64  20 3c 45 76 6e 74 53 68  |6 RMLoad <EvntSh|
000002b0  65 6c 6c 53 79 73 74 65  6d 24 50 61 74 68 3e 4d  |ellSystem$Path>M|
000002c0  73 67 54 72 61 6e 73 0a  52 4d 45 6e 73 75 72 65  |sgTrans.RMEnsure|
000002d0  20 4d 65 73 73 61 67 65  54 72 61 6e 73 20 30 2e  | MessageTrans 0.|
000002e0  30 36 20 45 72 72 6f 72  20 43 6f 75 6c 64 6e 27  |06 Error Couldn'|
000002f0  74 20 6c 6f 61 64 20 4d  73 67 54 72 61 6e 73 20  |t load MsgTrans |
00000300  4d 6f 64 75 6c 65 0a 7c  41 6e 64 20 63 68 65 63  |Module.|And chec|
00000310  6b 20 74 68 61 74 20 74  68 65 72 65 20 69 73 20  |k that there is |
00000320  73 74 69 6c 6c 20 65 6e  6f 75 67 68 20 6d 65 6d  |still enough mem|
00000330  6f 72 79 21 0a 57 69 6d  70 53 6c 6f 74 20 2d 6d  |ory!.WimpSlot -m|
00000340  69 6e 20 31 39 32 4b 20  2d 6d 61 78 20 31 39 32  |in 192K -max 192|
00000350  4b 0a 52 75 6e 20 3c 54  65 78 74 2d 44 54 50 24  |K.Run <Text-DTP$|
00000360  44 69 72 3e 2e 21 54 65  78 74 2d 44 54 50 20 25  |Dir>.!Text-DTP %|
00000370  2a 30 0a                                          |*0.|
00000373