Service manual

3) SSP register access method
Access to SSP break address register is performed through the tem-
porary register as shown below:
Fig. 6-5
Enable flags can be accessed individually.
Though enable register can be accessed individually, writing to
break address registers
and is performed at the same time as
writing to break address register
through the temporary register.
Therefore, set
and to temporary, then write into last.
Since the temporary register is commonly used by BAR sets, the
following register setting is performed after completion of setting of
each break address register.
SSP control method
Access to the enable register and the break address register is only
possible when writing to them from the CPU.
Information on which break register the SSP break is detected and is
read as binary data by reading address FFFFFFH (*1).
If there are 32 break registers, the binary expression is made with the
above 5 bits, and 0th is “00000
B
” and 31st is “11111
B
.”
When detected simultaneously by two or more break registers, one
with the smaller BAR number is read as binary data.
The break signals (NMI) and the above detection data (CMP0~4) are
held until the above detection data are read. Thus, the reading is
made in the NMI sub routine. (Clear by FFFFFFH read.)
1: FFFFFFH is not fully decoded. (FFFF00H~FFFFFFH). There-
fore any unnecessary read access in parentheses should not
be performed.
7. PRINTER control circuit
1) Block diagram
Fig. 7-1
The thermal printer (PR-45M) is controlled by the thermal printer
controller (TPRC1). The PB-RAM connected to TPRC1 serves as
a print data buffer.
2) Paper feed circuit
A pulse motor is used as the paper feed motor.
Drive sequence of the pulse motor is as follows:
1 2 3
4
A19 A18 A17 A16 A15 A8 A7 A2
EN
WR
WR
Temporary Temporary
bit 7
654321
000
CMP4
0
CMP3 CMP2 CMP1 CMP0
(FFFFFFH)
Address bus
Data bus
CPU
TPRC1
MPCA7
P.B-
RAM
RECEIVER
DRIVER
PRINTER
(PR-45)
RPFC/JPFC
RPFB/JPFB
4AC16
RPPD/JPFD
B A
C
D
M
RPFA/JPFA
VRCOM/VJCOM
TPRC1
RAS/JAS
RBS/JBS
RCS/JCS
RDS/JDS
4 – 20