Specifications
II-64 EPSON S1C62N82 TECHNICAL SOFTWARE
CHAPTER 3: PERIPHERAL CIRCUITS (Melody Generator)
A melody interrupt occurs when the melody ROM data is
read out with the end bit set to "1". This indicates the end of
melody playing.
0E7H, D0: Interrupt mask bit
D0: 1Enable interrupt at the end of melody play.
D0: 0Interrupt cannot be generated even if play
is ending.
0ECH, D0: Interrupt factor flag
This bit will be reset to "0" when the user reads it.
D0: 1Interrupt has occured already, and pro-
gram will jump to interrupt vector 10AH.
Because the melody interrupt has the
highest priority, the interrupt service will
finish first, and this flag should be read to
be cleared.
D0: 0Interrupt has not been generated yet.
Volume: 00H–7FH (128 words)
Word: 10 bits/word
Refer to data setting as below:
Melody interrupt
Table 3.11.3
Melody ROM data
Fig. 3.11.7
End data
D8 D7 D6 D5 D4 D3 D2 D1 D0
Note data Scale data
End
data
D9
Attack
data
D0: End Data
Melody play will stop after the note playing when this data is
set to "1".
End data
(D0)
Read
MO
1 note play 1 note play 1 note play
0 0 1
Interrupt
Melody ROM