Home » Archimedes archive » Acorn User » AU 1994-01.adf » !EasyKeys_EasyKeys » !EasyKeys/!Run

!EasyKeys/!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 » AU 1994-01.adf » !EasyKeys_EasyKeys
Filename: !EasyKeys/!Run
Read OK:
File size: 02B7 bytes
Load address: 0000
Exec address: 0000
File contents
| run file for EasyKeys application
|
IconSprites <Obey$Dir>.!Sprites
|
if "<System$Path>" = "" then Error 0 System resources cannot be found
|
RMEnsure Draw 1.01 Error You need Draw 1.01 or later
|
RMEnsure SharedCLibrary 3.50 RMLoad System:Modules.Clib
RMEnsure SharedCLibrary 3.50 Error You need Clib 3.50 or later
| 
RMEnsure FPEmulator 2.70 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.70 Error You need FPEmulator 2.70 or later
|
RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
|
*Set EasyKeys$Dir <Obey$Dir>
| Claim a "slot" from the WIMP
*WimpSlot -min 128k -max 128k
*Run <EasyKeys$Dir>.!RunImage %*0
00000000  7c 20 72 75 6e 20 66 69  6c 65 20 66 6f 72 20 45  || run file for E|
00000010  61 73 79 4b 65 79 73 20  61 70 70 6c 69 63 61 74  |asyKeys applicat|
00000020  69 6f 6e 0a 7c 0a 49 63  6f 6e 53 70 72 69 74 65  |ion.|.IconSprite|
00000030  73 20 3c 4f 62 65 79 24  44 69 72 3e 2e 21 53 70  |s <Obey$Dir>.!Sp|
00000040  72 69 74 65 73 0a 7c 0a  69 66 20 22 3c 53 79 73  |rites.|.if "<Sys|
00000050  74 65 6d 24 50 61 74 68  3e 22 20 3d 20 22 22 20  |tem$Path>" = "" |
00000060  74 68 65 6e 20 45 72 72  6f 72 20 30 20 53 79 73  |then Error 0 Sys|
00000070  74 65 6d 20 72 65 73 6f  75 72 63 65 73 20 63 61  |tem resources ca|
00000080  6e 6e 6f 74 20 62 65 20  66 6f 75 6e 64 0a 7c 0a  |nnot be found.|.|
00000090  52 4d 45 6e 73 75 72 65  20 44 72 61 77 20 31 2e  |RMEnsure Draw 1.|
000000a0  30 31 20 45 72 72 6f 72  20 59 6f 75 20 6e 65 65  |01 Error You nee|
000000b0  64 20 44 72 61 77 20 31  2e 30 31 20 6f 72 20 6c  |d Draw 1.01 or l|
000000c0  61 74 65 72 0a 7c 0a 52  4d 45 6e 73 75 72 65 20  |ater.|.RMEnsure |
000000d0  53 68 61 72 65 64 43 4c  69 62 72 61 72 79 20 33  |SharedCLibrary 3|
000000e0  2e 35 30 20 52 4d 4c 6f  61 64 20 53 79 73 74 65  |.50 RMLoad Syste|
000000f0  6d 3a 4d 6f 64 75 6c 65  73 2e 43 6c 69 62 0a 52  |m:Modules.Clib.R|
00000100  4d 45 6e 73 75 72 65 20  53 68 61 72 65 64 43 4c  |MEnsure SharedCL|
00000110  69 62 72 61 72 79 20 33  2e 35 30 20 45 72 72 6f  |ibrary 3.50 Erro|
00000120  72 20 59 6f 75 20 6e 65  65 64 20 43 6c 69 62 20  |r You need Clib |
00000130  33 2e 35 30 20 6f 72 20  6c 61 74 65 72 0a 7c 20  |3.50 or later.| |
00000140  0a 52 4d 45 6e 73 75 72  65 20 46 50 45 6d 75 6c  |.RMEnsure FPEmul|
00000150  61 74 6f 72 20 32 2e 37  30 20 52 4d 4c 6f 61 64  |ator 2.70 RMLoad|
00000160  20 53 79 73 74 65 6d 3a  4d 6f 64 75 6c 65 73 2e  | System:Modules.|
00000170  46 50 45 6d 75 6c 61 74  6f 72 0a 52 4d 45 6e 73  |FPEmulator.RMEns|
00000180  75 72 65 20 46 50 45 6d  75 6c 61 74 6f 72 20 32  |ure FPEmulator 2|
00000190  2e 37 30 20 45 72 72 6f  72 20 59 6f 75 20 6e 65  |.70 Error You ne|
000001a0  65 64 20 46 50 45 6d 75  6c 61 74 6f 72 20 32 2e  |ed FPEmulator 2.|
000001b0  37 30 20 6f 72 20 6c 61  74 65 72 0a 7c 0a 52 4d  |70 or later.|.RM|
000001c0  45 6e 73 75 72 65 20 43  6f 6c 6f 75 72 54 72 61  |Ensure ColourTra|
000001d0  6e 73 20 30 2e 35 31 20  52 4d 4c 6f 61 64 20 53  |ns 0.51 RMLoad S|
000001e0  79 73 74 65 6d 3a 4d 6f  64 75 6c 65 73 2e 43 6f  |ystem:Modules.Co|
000001f0  6c 6f 75 72 73 0a 52 4d  45 6e 73 75 72 65 20 43  |lours.RMEnsure C|
00000200  6f 6c 6f 75 72 54 72 61  6e 73 20 30 2e 35 31 20  |olourTrans 0.51 |
00000210  45 72 72 6f 72 20 59 6f  75 20 6e 65 65 64 20 43  |Error You need C|
00000220  6f 6c 6f 75 72 54 72 61  6e 73 20 30 2e 35 31 20  |olourTrans 0.51 |
00000230  6f 72 20 6c 61 74 65 72  0a 7c 0a 2a 53 65 74 20  |or later.|.*Set |
00000240  45 61 73 79 4b 65 79 73  24 44 69 72 20 3c 4f 62  |EasyKeys$Dir <Ob|
00000250  65 79 24 44 69 72 3e 0a  7c 20 43 6c 61 69 6d 20  |ey$Dir>.| Claim |
00000260  61 20 22 73 6c 6f 74 22  20 66 72 6f 6d 20 74 68  |a "slot" from th|
00000270  65 20 57 49 4d 50 0a 2a  57 69 6d 70 53 6c 6f 74  |e WIMP.*WimpSlot|
00000280  20 2d 6d 69 6e 20 31 32  38 6b 20 2d 6d 61 78 20  | -min 128k -max |
00000290  31 32 38 6b 0a 2a 52 75  6e 20 3c 45 61 73 79 4b  |128k.*Run <EasyK|
000002a0  65 79 73 24 44 69 72 3e  2e 21 52 75 6e 49 6d 61  |eys$Dir>.!RunIma|
000002b0  67 65 20 25 2a 30 0a                              |ge %*0.|
000002b7