Home » Archimedes archive » Archimedes World » AW-1996-02-Disc2.adf » !Z80Dem_Z80Demo » Docs/Keys

Docs/Keys

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 » Archimedes World » AW-1996-02-Disc2.adf » !Z80Dem_Z80Demo
Filename: Docs/Keys
Read OK:
File size: 05B9 bytes
Load address: 0000
Exec address: 0000
File contents
Z80Em has a completely configurable mapping of the
Archimedes keyboard to the Spectrum keyboard.
The mapping can be changed just by altering the
file !Z80Em.Resources.Keys - each line specifies
first a Spectrum key followed by up to 4 Archimedes
keys that act as that key. (Each Archimedes key can
be assigned to multiple Spectrum keys - eg Delete is
mapped to both CapsShift and 0 in the supplied keymap)

Select on the icon bar to resume emulation/start emulator
Adjust on the icon bar to reset the emulator

f1              volume down
f2              volume up
f3              save snapshot as <Z80Em$Dir>.^.!Z80Snap
shift-f3        save screenshot as <Z80Em$Dir>.^.!Z80Screen
f4              reload snapshot
f7              increase "speed"
f8              decrease "speed"
f9              rewind "tape"
f10             reset Spectrum
f11             cause NMI
esc,f12,Menu    pause and exit back to desktop

the Spectrum cursor keys (5=Left,6=Down,7=Right,8=Up)
& 0 (fire) emulate a Kempston joystick.
Also, the Acorn Joystick SWI interface is supported,
and emulates a Kempston Joystick if present.

See !Z80Em.Resources.Keys for the other key mappings

Supplied mapping:

Shift         CapsShift
Alt           SymbolShift
Cursor keys   Cursor keys
Delete        CapsShift-0
<-|           CapsShift-0
Tab           CapsShift-SymbolShift (Extended Mode)
;             Return
,             SymbolShift
.             Space
Keypad        RHS of Spectrum keyboard
00000000  5a 38 30 45 6d 20 68 61  73 20 61 20 63 6f 6d 70  |Z80Em has a comp|
00000010  6c 65 74 65 6c 79 20 63  6f 6e 66 69 67 75 72 61  |letely configura|
00000020  62 6c 65 20 6d 61 70 70  69 6e 67 20 6f 66 20 74  |ble mapping of t|
00000030  68 65 0a 41 72 63 68 69  6d 65 64 65 73 20 6b 65  |he.Archimedes ke|
00000040  79 62 6f 61 72 64 20 74  6f 20 74 68 65 20 53 70  |yboard to the Sp|
00000050  65 63 74 72 75 6d 20 6b  65 79 62 6f 61 72 64 2e  |ectrum keyboard.|
00000060  0a 54 68 65 20 6d 61 70  70 69 6e 67 20 63 61 6e  |.The mapping can|
00000070  20 62 65 20 63 68 61 6e  67 65 64 20 6a 75 73 74  | be changed just|
00000080  20 62 79 20 61 6c 74 65  72 69 6e 67 20 74 68 65  | by altering the|
00000090  0a 66 69 6c 65 20 21 5a  38 30 45 6d 2e 52 65 73  |.file !Z80Em.Res|
000000a0  6f 75 72 63 65 73 2e 4b  65 79 73 20 2d 20 65 61  |ources.Keys - ea|
000000b0  63 68 20 6c 69 6e 65 20  73 70 65 63 69 66 69 65  |ch line specifie|
000000c0  73 0a 66 69 72 73 74 20  61 20 53 70 65 63 74 72  |s.first a Spectr|
000000d0  75 6d 20 6b 65 79 20 66  6f 6c 6c 6f 77 65 64 20  |um key followed |
000000e0  62 79 20 75 70 20 74 6f  20 34 20 41 72 63 68 69  |by up to 4 Archi|
000000f0  6d 65 64 65 73 0a 6b 65  79 73 20 74 68 61 74 20  |medes.keys that |
00000100  61 63 74 20 61 73 20 74  68 61 74 20 6b 65 79 2e  |act as that key.|
00000110  20 28 45 61 63 68 20 41  72 63 68 69 6d 65 64 65  | (Each Archimede|
00000120  73 20 6b 65 79 20 63 61  6e 0a 62 65 20 61 73 73  |s key can.be ass|
00000130  69 67 6e 65 64 20 74 6f  20 6d 75 6c 74 69 70 6c  |igned to multipl|
00000140  65 20 53 70 65 63 74 72  75 6d 20 6b 65 79 73 20  |e Spectrum keys |
00000150  2d 20 65 67 20 44 65 6c  65 74 65 20 69 73 0a 6d  |- eg Delete is.m|
00000160  61 70 70 65 64 20 74 6f  20 62 6f 74 68 20 43 61  |apped to both Ca|
00000170  70 73 53 68 69 66 74 20  61 6e 64 20 30 20 69 6e  |psShift and 0 in|
00000180  20 74 68 65 20 73 75 70  70 6c 69 65 64 20 6b 65  | the supplied ke|
00000190  79 6d 61 70 29 0a 0a 53  65 6c 65 63 74 20 6f 6e  |ymap)..Select on|
000001a0  20 74 68 65 20 69 63 6f  6e 20 62 61 72 20 74 6f  | the icon bar to|
000001b0  20 72 65 73 75 6d 65 20  65 6d 75 6c 61 74 69 6f  | resume emulatio|
000001c0  6e 2f 73 74 61 72 74 20  65 6d 75 6c 61 74 6f 72  |n/start emulator|
000001d0  0a 41 64 6a 75 73 74 20  6f 6e 20 74 68 65 20 69  |.Adjust on the i|
000001e0  63 6f 6e 20 62 61 72 20  74 6f 20 72 65 73 65 74  |con bar to reset|
000001f0  20 74 68 65 20 65 6d 75  6c 61 74 6f 72 0a 0a 66  | the emulator..f|
00000200  31 20 20 20 20 20 20 20  20 20 20 20 20 20 20 76  |1              v|
00000210  6f 6c 75 6d 65 20 64 6f  77 6e 0a 66 32 20 20 20  |olume down.f2   |
00000220  20 20 20 20 20 20 20 20  20 20 20 76 6f 6c 75 6d  |           volum|
00000230  65 20 75 70 0a 66 33 20  20 20 20 20 20 20 20 20  |e up.f3         |
00000240  20 20 20 20 20 73 61 76  65 20 73 6e 61 70 73 68  |     save snapsh|
00000250  6f 74 20 61 73 20 3c 5a  38 30 45 6d 24 44 69 72  |ot as <Z80Em$Dir|
00000260  3e 2e 5e 2e 21 5a 38 30  53 6e 61 70 0a 73 68 69  |>.^.!Z80Snap.shi|
00000270  66 74 2d 66 33 20 20 20  20 20 20 20 20 73 61 76  |ft-f3        sav|
00000280  65 20 73 63 72 65 65 6e  73 68 6f 74 20 61 73 20  |e screenshot as |
00000290  3c 5a 38 30 45 6d 24 44  69 72 3e 2e 5e 2e 21 5a  |<Z80Em$Dir>.^.!Z|
000002a0  38 30 53 63 72 65 65 6e  0a 66 34 20 20 20 20 20  |80Screen.f4     |
000002b0  20 20 20 20 20 20 20 20  20 72 65 6c 6f 61 64 20  |         reload |
000002c0  73 6e 61 70 73 68 6f 74  0a 66 37 20 20 20 20 20  |snapshot.f7     |
000002d0  20 20 20 20 20 20 20 20  20 69 6e 63 72 65 61 73  |         increas|
000002e0  65 20 22 73 70 65 65 64  22 0a 66 38 20 20 20 20  |e "speed".f8    |
000002f0  20 20 20 20 20 20 20 20  20 20 64 65 63 72 65 61  |          decrea|
00000300  73 65 20 22 73 70 65 65  64 22 0a 66 39 20 20 20  |se "speed".f9   |
00000310  20 20 20 20 20 20 20 20  20 20 20 72 65 77 69 6e  |           rewin|
00000320  64 20 22 74 61 70 65 22  0a 66 31 30 20 20 20 20  |d "tape".f10    |
00000330  20 20 20 20 20 20 20 20  20 72 65 73 65 74 20 53  |         reset S|
00000340  70 65 63 74 72 75 6d 0a  66 31 31 20 20 20 20 20  |pectrum.f11     |
00000350  20 20 20 20 20 20 20 20  63 61 75 73 65 20 4e 4d  |        cause NM|
00000360  49 0a 65 73 63 2c 66 31  32 2c 4d 65 6e 75 20 20  |I.esc,f12,Menu  |
00000370  20 20 70 61 75 73 65 20  61 6e 64 20 65 78 69 74  |  pause and exit|
00000380  20 62 61 63 6b 20 74 6f  20 64 65 73 6b 74 6f 70  | back to desktop|
00000390  0a 0a 74 68 65 20 53 70  65 63 74 72 75 6d 20 63  |..the Spectrum c|
000003a0  75 72 73 6f 72 20 6b 65  79 73 20 28 35 3d 4c 65  |ursor keys (5=Le|
000003b0  66 74 2c 36 3d 44 6f 77  6e 2c 37 3d 52 69 67 68  |ft,6=Down,7=Righ|
000003c0  74 2c 38 3d 55 70 29 0a  26 20 30 20 28 66 69 72  |t,8=Up).& 0 (fir|
000003d0  65 29 20 65 6d 75 6c 61  74 65 20 61 20 4b 65 6d  |e) emulate a Kem|
000003e0  70 73 74 6f 6e 20 6a 6f  79 73 74 69 63 6b 2e 0a  |pston joystick..|
000003f0  41 6c 73 6f 2c 20 74 68  65 20 41 63 6f 72 6e 20  |Also, the Acorn |
00000400  4a 6f 79 73 74 69 63 6b  20 53 57 49 20 69 6e 74  |Joystick SWI int|
00000410  65 72 66 61 63 65 20 69  73 20 73 75 70 70 6f 72  |erface is suppor|
00000420  74 65 64 2c 0a 61 6e 64  20 65 6d 75 6c 61 74 65  |ted,.and emulate|
00000430  73 20 61 20 4b 65 6d 70  73 74 6f 6e 20 4a 6f 79  |s a Kempston Joy|
00000440  73 74 69 63 6b 20 69 66  20 70 72 65 73 65 6e 74  |stick if present|
00000450  2e 0a 0a 53 65 65 20 21  5a 38 30 45 6d 2e 52 65  |...See !Z80Em.Re|
00000460  73 6f 75 72 63 65 73 2e  4b 65 79 73 20 66 6f 72  |sources.Keys for|
00000470  20 74 68 65 20 6f 74 68  65 72 20 6b 65 79 20 6d  | the other key m|
00000480  61 70 70 69 6e 67 73 0a  0a 53 75 70 70 6c 69 65  |appings..Supplie|
00000490  64 20 6d 61 70 70 69 6e  67 3a 0a 0a 53 68 69 66  |d mapping:..Shif|
000004a0  74 20 20 20 20 20 20 20  20 20 43 61 70 73 53 68  |t         CapsSh|
000004b0  69 66 74 0a 41 6c 74 20  20 20 20 20 20 20 20 20  |ift.Alt         |
000004c0  20 20 53 79 6d 62 6f 6c  53 68 69 66 74 0a 43 75  |  SymbolShift.Cu|
000004d0  72 73 6f 72 20 6b 65 79  73 20 20 20 43 75 72 73  |rsor keys   Curs|
000004e0  6f 72 20 6b 65 79 73 0a  44 65 6c 65 74 65 20 20  |or keys.Delete  |
000004f0  20 20 20 20 20 20 43 61  70 73 53 68 69 66 74 2d  |      CapsShift-|
00000500  30 0a 3c 2d 7c 20 20 20  20 20 20 20 20 20 20 20  |0.<-|           |
00000510  43 61 70 73 53 68 69 66  74 2d 30 0a 54 61 62 20  |CapsShift-0.Tab |
00000520  20 20 20 20 20 20 20 20  20 20 43 61 70 73 53 68  |          CapsSh|
00000530  69 66 74 2d 53 79 6d 62  6f 6c 53 68 69 66 74 20  |ift-SymbolShift |
00000540  28 45 78 74 65 6e 64 65  64 20 4d 6f 64 65 29 0a  |(Extended Mode).|
00000550  3b 20 20 20 20 20 20 20  20 20 20 20 20 20 52 65  |;             Re|
00000560  74 75 72 6e 0a 2c 20 20  20 20 20 20 20 20 20 20  |turn.,          |
00000570  20 20 20 53 79 6d 62 6f  6c 53 68 69 66 74 0a 2e  |   SymbolShift..|
00000580  20 20 20 20 20 20 20 20  20 20 20 20 20 53 70 61  |             Spa|
00000590  63 65 0a 4b 65 79 70 61  64 20 20 20 20 20 20 20  |ce.Keypad       |
000005a0  20 52 48 53 20 6f 66 20  53 70 65 63 74 72 75 6d  | RHS of Spectrum|
000005b0  20 6b 65 79 62 6f 61 72  64                       | keyboard|
000005b9