Sharp logo
MZ-80A Keyboard Map 
written by Maurice Hawes 
Source: SUC-magazine July 2001, Volume 21, Number 2, p. 11  


This map appears on page 167 of the MZ-80A Owners Manual, in a slightly different format. However, no information is given there on how to achieve independent key scanning.

( 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
( Bit is zero if key is pressed )
Y = $F0
SHIFT
GRPH
****
****
****
****
****
****
****
****
****
****
BREAK
CTL
$F1

Z
****
****
INST
DEL
A
Q
W
!
1
"
2
$F2
C
X
S
D
E
R
#
3
$
4
$F3

B
V
F
G
T
Y
%
5
&
6
$F4
SPACE
N
H
J
U
I
'
7
(
8
$F5
M
<
,
K
L
O
P
)
9
-
0
$F6
>
.
/
+
;
*
:
'
@
{
[
=
-
~
^
$F7
?
****
****
}
]
CR
UP
DOWN
RIGHT
LEFT
|
\
CLR
HOME
$F8
(NP)
0
(NP)
00
(NP)
1
(NP)
2
(NP)
4
(NP)
5
(NP)
7
(NP)
8
$F9
(NP)
 
****
(NP)
****
(NP)
(NP)
(NP)
(NP)

(NP) = key is on the seperate numeric keypad

NOTE that,on the MZ-80A, the two SHIFT keys are mapped to the same point on the matrix. Therefore, you can STROBE row $F0 and then check KEY DATA BIT 0, which will be ZERO if one of the two SHIFT keys is being pressed.

( It will also be ZERO if both SHIFT keys are being pressed simultaneously, but that is a rather academic point ).


Go to the top of this page Home

last updated September 2, 2002
SUC / UK: Maurice Hawes