MZ-80B / MZ-2500 Keyboard Map
written by Maurice Hawes
Source: SUC-magazine July 2001, Volume 21, Number 2, p. 14
|
The keyboard map on p. 54 of the MZ-80B Owner's Manual shows ALL the
characters that may be obtained from each key, including lower-case
and graphics. The simplified version below shows only 'normal' characters.
Note that the top 3 rpws refer exclusive to the Function Keys and the
Numeric Keypad. Note also that unused points in the matrix are indicated
by two rows of "****".
|
KEY DATA BITS
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
X= $01
|
$02
|
$04
|
$08
|
$10
|
$20
|
$40
|
$80
|
STROBE
ROW
|
( Bit is zero if key is pressed )
|
$00 |
F1
|
F2
|
F3
|
F4
|
F5
|
F6
|
F7
|
F8
|
$01 |
F9
|
F10
|
(NP)
8
|
(NP)
9
|
(NP)
00
|
(NP)
.
|
(NP)
+
|
(NP)
-
|
$02 |
(NP)
0
|
(NP)
1
|
(NP)
2
|
(NP)
3
|
(NP)
4
|
(NP)
5
|
(NP)
6
|
(NP)
7
|
$03 |
TAB
|
SPACE
|
CR
|
UP
|
DOWN
|
LEFT
|
RIGHT
|
BREAK
|
$04 |
/
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
$05 |
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
$06 |
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
$07 |
X
|
Y
|
Z
|
^
|
\
|
?
|
.
|
,
|
$08 |
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
$09 |
8
|
9
|
:
|
;
|
-
|
@
|
[
|
****
****
|
$0A |
]
|
****
****
|
HOME
|
DEL
|
****
****
|
****
****
|
****
****
|
****
****
|
$0B |
GRPH
|
SLOCK
|
SHIFT
|
RVS
|
****
****
|
****
****
|
****
****
|
****
****
|
NOTE: As on the MZ-80A and MZ-700, both SHIFT keys appear at the same
pont on the matrix; so testing BIT 2 of row $0B will detect wether EITHER
of the SHIFT keys is being pressed.
|
MZ-2500 keyscanning is done exactly as on the MZ-80B, via Ports $E8
and $EA, and the Keyboard Matrix is very similar. However, there are
some minor changes, plus several extra new keys.
( Note that unused points in the matrix are indicated by two rows of
"****" )
|
KEY DATA BITS
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
X= $01
|
$02
|
$04
|
$08
|
$10
|
$20
|
$40
|
$80
|
STROBE
ROW
|
( Bit is zero if key is pressed )
|
$00 |
F1
|
F2
|
F3
|
F4
|
F5
|
F6
|
F7
|
F8
|
$01 |
F9
|
F10
|
(NP)
8
|
(NP)
9
|
(NP)
,
|
(NP)
.
|
(NP)
+
|
(NP)
-
|
$02 |
(NP)
0
|
(NP)
1
|
(NP)
2
|
(NP)
3
|
(NP)
4
|
(NP)
5
|
(NP)
6
|
(NP)
7
|
$03 |
TAB
|
SPACE
|
CR
|
UP
|
DOWN
|
LEFT
|
RIGHT
|
BREAK
|
$04 |
/
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
$05 |
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
$06 |
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
$07 |
X
|
Y
|
Z
|
^
|
YEN
|
_
|
.
|
,
|
$08 |
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
$09 |
8
|
9
|
:
|
;
|
-
|
@
|
[
|
****
****
|
$0A |
]
|
COPY
|
CLR
|
INST
|
BS
|
ESC
|
(NP)
*
|
(NP)
/
|
$0B |
GRPH
|
SLOCK
|
SHIFT
|
KANA
|
CTRL
|
****
****
|
****
****
|
****
****
|
$0C |
KJ1
|
KJ2
|
****
****
|
****
****
|
****
****
|
****
****
|
****
****
|
****
****
|
$0D |
LOGO
KEY
|
****
****
|
****
****
|
****
****
|
****
****
|
****
****
|
****
****
|
****
****
|
For details of the minor changes on the man MZ-2500 keyboard ( compared
with the MZ-80B ) and a brief guide to the special GRPH, KANA, KJ1,
KJ2 and LOGO keys on the MZ-2500, see the next
page.
Also on the next page, an MZ-2500 BASIC
program that enables you to find the position of any key on the keyboard
matrix.
|