Document 196715

What is a Universal Interface Card?
This card is a circuit board that is available for B bits parallel interface. The card is inserted into any connector of Sharp
Interface Unit MZ-BOIO, and is used for interface between central processor MZ-BOK and your peripheral device.
Port address can be set up by a port address selector on the board. However this card needs some modification -_
wiring, soldering, etc. - - to match use.
How to use
(1) On the standard board, there are ICs 7404N that are mounted in the IC sockets at the output stage of output port.
However, ·llthese ICs should be changed with the following ICs in response to the load condition.
7405N, 7406N, 7407N, 7414N, 7416N, 7417N, etc.
(2) Resistors at input/output stage
At the input/output stage, pull-up, pull-down or terminal resistors can be mounted on the board. ·2lYou should mount
suitable resistors in response to load conditions.
(3) To mount input/output connector
There lire many holes with dimensions shown below in the card for connecting an input/output cable_ Use a suitableconnector.
~----------~~~
0.1 inch
Tfr~~~~.
--- --- --
-o-o~
t"-
0.1 inch
50 holes a line
(4) Port address setting
Port address settirig depends on a port address selector (PS) that consists of multiple switches. The numbers described on
the selector a correspond to the following address bus respectively.
Switch No.
7
6
5
4
3
Address bus
AB7
AB6
ABs
AB4
AB3
2
AB2
1
ABI
OFF condition of a switch corresponds to logic "1 ", and ON condition to logic "0". For example, when setting
up a port address to decimal value (100ho, the condition of each switch will be as follows.
Switch No.
7
Condition
ON
6
OFF
5
4
3
2
1
OFF
ON
ON
OFF
ON
Because the decimal value (100lto is a binary value (01100100h.
(100)10
1
Oh
Ss
LABo
i
Therefore, the condition of the selector should be as illustrated beloW.
s s s s s s s
Port address range is 0 to 255 (OOH to FFH). '4)However, you should specify a port address in the range 0 to 239 (OOH
to EFH).
(5) Port address
110 to 117 (Input port)
120 to 127 (Input port)
010 to 0 17 (Output port)
0 10 to 027 (Output port)
even address
odd address
even address
odd address
(6) Control
Basic SP-5025 or Disk Basic SP-6015 has the following input/output commands.
INP #PORT, X . . . . . . . . . . . . . . . . SP-5025
INP @PORT, X . . . . . . . . . . . . . . . . SP-6015
These mean that 8 bits data is input from the specified port address "PORT" and then is set to variable X as decimal
value (0 to 255).
OUT #PORT, X . . . . . . . . . . . . . . . SP-5025
OUT @PORT, X . . . . . . . . . . . . . . . SP-6015
These mean that value X (0 to 255) is output to the specified port address "PORT" as 8 bits binary value.
With executing the above commands, the port address code is changed to a binary code, which is output to address
bus Ao toA 7 •
I/O control can be also available with Z80 machine language such as "Machine Language", "Systems Program", etc ..
*** Note ***
Incorrect operation may damage the card. Pay special attention to the modifications and handling.
* 1) Never mistake the ICs inserting direction when changing other ICs. Reverse insertion damages them.
*2) 00 not use unsuitable pull-up, pull-down or terminal resistors.
*3) 00 not use two or more interface cards with same port address at a time.
correspondence of port address.
ICs' may be broken because of the
*4) Port addresses FOH to FFH are occupied with Sharp optional peripherals.
*5) We assume no responsibility for any trouble which is caused by universal interface cards altered by the user.
Specifications
(1) Number of ports
Input
: 2 ports
Output : 2 ports
(2) Port address setting
Whole address setting possible
(3) Connection with bus line
Bus
Symbols
Employed IC
Data bus
oBo to oB 7
74LS04N,74LS125N
Address bus
ABo to AB7
74 LS266N
Control bus
IORGB
ROB
WRB
RESET
74 LS266N
74LS42N
74LS42N
74 LS04N
Each signal is as per TTL level. The electronical specification is in accordance with one of ICs' employed.
(4) Port input
TTL level, non latch system
Signals are input to the data bus via IC 74LS125 with the same logic.
The electronic specification is in accordance with one of IC 74 LS 125.
(5) Port output
TTL level, latch system
Signals are output via IC 7404 with the same logic.
The electronic specification is in accordance with one of IC 7404.
(6) Bus line terminals and employed ICs
Refer to the circuit diagram (see page 4).
(7) Operating temperature
o to 35°C
(8) Storage temperature
-15 to 60°C
(9) Power source
o.C. +5V (supplied from Interface Unit MZ-8010)
2
Parts arrangement pattern
,...
......
N
......~
--"y"or-~~..,..-
_.J\./'.,. _
O~~
--"v v-I~~
--"v'\r-
--"v'''.,.-
--"v v-
_Jo v ..,..-
--"v"v-
_...I'./'v--
8£jJv--
-~~}lv--
-...1''1 v-t;.~
_Joy \1- _
_...I'v v--
_J~~v--
..
--"v'. ..,..-
-~¥£t;.~
_,J\"
~
_-"9 f\.,._
-~gi-
v--
t;.t;.~
L£~
£g}l
gt;.~
_ ./'y
y--
29t!
--",/"v--
gg,,~
--"v v-
--"'v v--
>-4
_...I'y"'v--
_...I'v"-r-
It;.~
6t;.~
- -"'1"""'-
--"'" v-
S.
..
~
N
......
U
9g~
Lg~
-i~
~~
19):1
--""
-~(J"-
8t;.~
u
-"""g"\ro ,,~
s.
Lt;.~
lC)
-4~
U
6g~
-~gi-
6£~
co
8~~
(j)
lC)
u
u
to9...~
g9~
U
-i~
.,...
I
0
0
co
N
~
.
.,...
<
~~
....
,...
0
--"",/'..,--
--"'~~""'-
£~
- -"vl\..rt;.~
.
"v--
_J\
~~
v",,-
- J'o
w.
9~
--"y"..r-
0
l"N
.
0
w
--'\,"'.,-8~
- -"'v"v-6~
/"v-
_Ji. ..
-~~):Iv--~~~v-02~
u
--" "ort;.Z~
--" """gZ~
co
U
U
~
<.)
(\J
I'-
('()
-
u
U
to
u
to
21~
-j~~or- r0
--1\,,'\,--
U
-i~
0
u
I'-
~~
~
-4~
u
u
-H0
-j~~v--
N
91~
--"v"vLI~
_Jo
m
lC)
U
U
v ",,--
N
U
U
92~
--"
....,.-
to
LZ~v--
_..Jo
N
v
8~
--" "'v--
£z~
('()
-
- .J\,,"V'"-
--" "v--
2~~
.. 0
_.9;~vII~
_.J"o,,"..,-_
_J
--" "vN
U)
-""'" "'",-
IZ~
"'...,._
S.
_J'o,,"v--
t;.1~
L~
S.
I'U
6~~
O£~
_Joy"v-I£~
_Jot;~-
~
0
u
Cl)
u
Cl.
-.Av ",,"-
0
.....
u
r0
+
££~
<l:
(\J
u
0
-i~
(J)
u
0:: 0
-I~
U)
U
':>':>/\
ON8
3
~~
0::
~
u
~~
-&
('()
U
.,..
C\J .J..
U
.Ilo
AB!I
'4
A88
AB7
AB8
All!!
A84
'7
'8
'9
"'!IUS
'NTB
GHD
HALTB 2D
2'
Wlfii 22
;;REQii 25
29
30
.5'1
GI'ID
GND
GND
GM)
.5'1
::J
'"
'0
?\ ....
0::1
.
'"
c,n ...
,
c,na.
0 __
~j
g~
J.
KEL 4800-060-035
MOTHER 80f;RD
110 CONNECTOR
A: RART'S 'SIDE
I--
27
28
.5'1
.5'1
A80
24
26
AB2
AB'
23
ROB
10R08
AB'
A89
,6
RESET
M'8
ABIO
'5
--
A812
A813
'3
"
12
ABI.
•
5bJ
I'~O
PS
o
AB' •
AB2 •
AB' •
AB_ •
AB5 •
I
AB6-
J;
PESET
LSO.
33 K X 7
'f.\
< \\
I I I I I I
""\
8\~
~ \\,e2
6\~
""1
• I I I I I I
!?Oo
LS266
I I I I I
I I I I
I I I
I I
.
.. ROI
• RD2
LS04
)0.;1
5 40
0.5'1
1<
W.
'2
RST
o+5V
A80
Rt'B -
WR8
LS04
RST
Wo
;>-RDO>-
RDI
R~2
RD'
RD4
'105
--
P
B
C
~
fL..2.
~
Rc
•
/
40
•
11
"
8
6
B
..-.!.
~
~
,--!.o
Tl)
I CLEAR
9 CLOCK
13 10
:C9
LS'25A
!L-!.
Ice
LSl25A
-<;t-
IQ
~
L-'.
.!!L2
2
9
2
12
9
.5Vo
C>
1C14
740'
C>
ICI5
"
I
o-----!l
~
o--'.Q
~
?
lIIIIIIJ
I
9
120
121
1>2
OZ.
''''
12.
I",
127
I IIIIII1
II II I II 1
2
12
•
6
2
12
4
10
V
.5 o
7404
--- -y '.
-~
LSl75
l'l ~c
12 3D
30
4
ICIO
20
20
5 40
CLEAR
CLOCK
UNIVERSAL I/O CARD
Ri
DBO
DBC
1
c-'
081
I"
I IQ
083
DB.
085
08"
087
DB'
'"
11.
"6
I 17
IIII II 11-1r7 Ill.'.... ~!
R5T
;'0
ROI
RD2
RO'
~\TO 8:1\'1
0('0
011
012
013
,----Y
,--!.
'2--~
30
20 L-.'~
40 ~~
'--',,-'
30 lC11
_ 20
12
RD_ >---~ 10
R05
1>06
DB.
.5Vo
2
'2
4
6
014
-<> 0'5
016
0'7
ROT .>--------~ 40
"2
Wo
Wi
RC
Ri
[>0
1(16
7404
2
12
-.;
DBl
4
'0 ~
20
30
40
[>0
lel1
_
'0
I"
IC6
LS42
~
~ __ 3
~
la~
20
30
40
7404
08'
084
DB5
086
DBT
15 A
"
"
12 0
I CLEAR
9 CLOCK
10
12 ?O
4 3D 1(12
LSl75
CLEAR
13 40
---'
~ CLOCK
13 ID
4 20 IC13
12
R06 : > - - :;0
ROT
-~~~I
"
"I
--'LjIIC2
ABT~'~----------------
'OR08'
080 .
OB!
082
3~4
A815
10
.. RD3
1~~'2
GHO
9
083 •
080
8
.-RD5
P06
084~-RD4
9~3
•
C'B2
083
5
~.
5~6
DBI
08.
4
086
7
OB!'
LS04
087'~-QD7
6
085
2
081
3
,
B
GHD
'"
I
020
021
022
023
02'
025
02e
027
3
tu
tu
--..,
00
c..
~
t:
_.
n
..,_.
()