Home » Archimedes archive » Acorn Computing » 1993 06 Mega Disk.adf » 93_06 » KeyStroke/!KeysDemo/!Run

KeyStroke/!KeysDemo/!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 » 1993 06 Mega Disk.adf » 93_06
Filename: KeyStroke/!KeysDemo/!Run
Read OK:
File size: 01CF bytes
Load address: 0000
Exec address: 0000
File contents
| !KeysDemo V2.00 (08-Mar-1993)
| � Quantum Software
| Written by Alisdair J�rgensen
| Demonstration version
Set KeysDemo$Dir <Obey$Dir>
IconSprites <KeysDemo$Dir>.!Sprites
WimpSlot -min 128K -max 128K
If "<System$Path>" = "" Then Error 0 System resources not found (please insert a disc with !System and try again)
If "<Keystroke%Var>" = "" Then SetEval Keystroke%Var 1
IF "<Keystroke%Inc>" = "" Then SetEval Keystroke%Inc 1
Basic -quit <KeysDemo$Dir>.!RunImage
00000000  7c 20 21 4b 65 79 73 44  65 6d 6f 20 56 32 2e 30  || !KeysDemo V2.0|
00000010  30 20 28 30 38 2d 4d 61  72 2d 31 39 39 33 29 0a  |0 (08-Mar-1993).|
00000020  7c 20 a9 20 51 75 61 6e  74 75 6d 20 53 6f 66 74  || . Quantum Soft|
00000030  77 61 72 65 0a 7c 20 57  72 69 74 74 65 6e 20 62  |ware.| Written b|
00000040  79 20 41 6c 69 73 64 61  69 72 20 4a f8 72 67 65  |y Alisdair J.rge|
00000050  6e 73 65 6e 0a 7c 20 44  65 6d 6f 6e 73 74 72 61  |nsen.| Demonstra|
00000060  74 69 6f 6e 20 76 65 72  73 69 6f 6e 0a 53 65 74  |tion version.Set|
00000070  20 4b 65 79 73 44 65 6d  6f 24 44 69 72 20 3c 4f  | KeysDemo$Dir <O|
00000080  62 65 79 24 44 69 72 3e  0a 49 63 6f 6e 53 70 72  |bey$Dir>.IconSpr|
00000090  69 74 65 73 20 3c 4b 65  79 73 44 65 6d 6f 24 44  |ites <KeysDemo$D|
000000a0  69 72 3e 2e 21 53 70 72  69 74 65 73 0a 57 69 6d  |ir>.!Sprites.Wim|
000000b0  70 53 6c 6f 74 20 2d 6d  69 6e 20 31 32 38 4b 20  |pSlot -min 128K |
000000c0  2d 6d 61 78 20 31 32 38  4b 0a 49 66 20 22 3c 53  |-max 128K.If "<S|
000000d0  79 73 74 65 6d 24 50 61  74 68 3e 22 20 3d 20 22  |ystem$Path>" = "|
000000e0  22 20 54 68 65 6e 20 45  72 72 6f 72 20 30 20 53  |" Then Error 0 S|
000000f0  79 73 74 65 6d 20 72 65  73 6f 75 72 63 65 73 20  |ystem resources |
00000100  6e 6f 74 20 66 6f 75 6e  64 20 28 70 6c 65 61 73  |not found (pleas|
00000110  65 20 69 6e 73 65 72 74  20 61 20 64 69 73 63 20  |e insert a disc |
00000120  77 69 74 68 20 21 53 79  73 74 65 6d 20 61 6e 64  |with !System and|
00000130  20 74 72 79 20 61 67 61  69 6e 29 0a 49 66 20 22  | try again).If "|
00000140  3c 4b 65 79 73 74 72 6f  6b 65 25 56 61 72 3e 22  |<Keystroke%Var>"|
00000150  20 3d 20 22 22 20 54 68  65 6e 20 53 65 74 45 76  | = "" Then SetEv|
00000160  61 6c 20 4b 65 79 73 74  72 6f 6b 65 25 56 61 72  |al Keystroke%Var|
00000170  20 31 0a 49 46 20 22 3c  4b 65 79 73 74 72 6f 6b  | 1.IF "<Keystrok|
00000180  65 25 49 6e 63 3e 22 20  3d 20 22 22 20 54 68 65  |e%Inc>" = "" The|
00000190  6e 20 53 65 74 45 76 61  6c 20 4b 65 79 73 74 72  |n SetEval Keystr|
000001a0  6f 6b 65 25 49 6e 63 20  31 0a 42 61 73 69 63 20  |oke%Inc 1.Basic |
000001b0  2d 71 75 69 74 20 3c 4b  65 79 73 44 65 6d 6f 24  |-quit <KeysDemo$|
000001c0  44 69 72 3e 2e 21 52 75  6e 49 6d 61 67 65 0a     |Dir>.!RunImage.|
000001cf