ETC EM60_0001REGISTERTABLE

EM60000 RAM DEFINE TABLE :
RAM register :
b7
b6
2000/6/27
b5
b4
R0
R1
IAR
TCC
Indirect RAM data
R2
PC
Program Counter, 13bit 8K ROM max.
R3
R4
SF
RSR
RAM Bank 0-3
R5
INTC
ENI
R6
R7
MTC
R8
WDT
-
PL1
PL2H
R9
RA
Mapping
MODE
-
-
-
Speech Melody interface Register
RB
Port 1
Port 1 Read data
RC
RD
Port 2
Port 3
Port 2 R/W data
RE
Port 4
Port 4 R/W data
RF
Port 5
Port 5 Write data
R10
R11
MULT
PRODL
Multiplier
R12
PRODH
Multiplication result High
R13
R14
Acc_BUF
SF_BUF
R15
RSR_BUF
R16
R17
R9_BUF
CH_Flag
R18
R19
R1A
R1B
R1C
R1D
R1E
R1F
b3
b2
b1
b0
P
Z
DC
C
Timer up Counter
PS2
PS1
-
PS0
T
Indirect RAM address 00-3F for R0
-
-
MIE
PL2L
-
TCIE
MIF
TCIF
Melody Time down Counter
DA SEL DA SET
WAKEH WAKEL
CH2
CH1
WTE
CH0
Port 3 R/W data
Multiplication result Low
FMCH4 FMCH3 FMCH2 FMCH1 FSCH2
FSCH1
Bank 0 (RSR=00xx-xxxx)
R20
R21
R22
R23
R24
R25
R26
R27
R28
R29
R2A
R2B
R2C
R2D
R2E
R2F
R30
R31
R32
R33
R34
R35
R36
R37
R38
R39
R3A
R3B
R3C
R3D
R3E
R3F
Bank 1 (RSR=01xx-xxxx)
Bank 2
Bank 3
(RSR=10xx-xxxx)
(RSR=11xx-xxxx)
S1Status
R20
M1Status
R21
R22
R23
R24
R25
R26
R27
M1Inst
R28
R29
R2A
R2B
R2C
R2D
R2E
R2F
M2Status
R30
M3Status
R31
M3Inst
MchStatus
R32
R33
R34
R35
R36
R37
M3Beat0
Inst 0~64 = 0 0 w w
M3Beat1
Beat0
M3Envelope
Beat1
M3Volume
Envelope (init.=0x7Fh)
M3EnvDptr
Volume (init.=0x7Fh) * Envelope => ENV
R38
R39
R3A
R3B
R3C
R3D
R3E
R3F
M4Status
NoteBuf = 0 I I N N N N N
M4Inst
Mtemp = w w w w
M4Beat0
MchNumber = R9
M4Beat1
OrgInst
M4Envelope
NewInst
FSign
FMark
FAct
S1Temp
FSil
S1Temp
S1code
M1Beat0
S1Beat0
S1SegCode
S1Next
M1Beat1
S1Beat1
S1SegCount
S1Xn
M1Envelope
S1Buf
S1PreXn
S1Detta
M1Volume
S1Dp
M1EnvDptr
S1SilCount
S1Volume
S2Status
M2Inst
S2Temp
S2Temp
S2code
M2Beat0
S2Beat0
S2SegCode
S2Next
M2Beat1
S2Beat1
S2SegCount
S2Xn
M2Envelope
S2Buf
S2PreXn
S2Detta
M2Volume
S2Dp
M2EnvDptr
S2SilCount
S2Volume
MchCtrl
FChInst
Fpause
FSpose
FNoteon EnvType EnvType InstStep
wwww
EnvDptr
M4Volume
M4EnvDptr
wwII
Spose 0-7
InstStep
-
EnvState
EM60000 I/O Register List :
b7
IOC 5
Prescaler
IOC 6 … IOC C
IOC D
IOC E
IOC F
P2 I/O
P3 I/O
P4 I/O
b6
b5
b4
b3
b2
Melody Precaler 1/2-1/256
TCC Precaler 1/2- 1/256
MSR2
MSR1
MSR0
TSR2
TSR1
TSR0
Speech /Melody interface Register
Port 2 Input/Output set. 1=input, 0=output (init = 0xFFh)
Port 3 Input/Output set. 1=input, 0=output (init = 0xFFh)
Port 4 Input/Output set. 1=input, 0=output (init = 0xFFh)
b1
b0
WDT rate 1:1-1:8
WSR1
WSR0
EM60000 Speech/Melody Register List :
R9 Mapped
Type
b7 b6
0 S ch1
-
RA MODE
b5 b4 b3
b2
b1
b0
SENA
SENT
Speech
Speech
En Active En Int.
MENA
Melody
Enable
Active
Volume
DA range
DAC_ON
0-7 step
0=b7-b0
1=b8-b1
2=b9-b2
3=b7-b0
1 S ch2
4
5
6
7
M ch1
M ch2
M ch3
M ch4
-
8 DAC 1
18 DAC 2
2
read ROM
data
-
-
-
-
-
-
-
IOC 6
IOC 7
ADD L
ADD M
ADD H
DATA
RATE
(4bit 1M) Wave data Sample rate
ADD L
ADD M
ADD H
(2bit 256K)
-
DA mixer Ch En
b0=S ch1,
b1=S ch2
b2=M ch1,
b3=M ch2
b4=M ch3,
b5=M ch4
ADD L
-
-
-
ADD M
IOC 8
IOC 9
ADD H
DATA
(4bit 1M) ROM data
IOC A
ENV
Envelop
(b6-b0)
-
-
IOC B
IOC C
DA 1
DA2
F1
Frequency
Fractional
(b7-b2)
-
-
F2
Frequency
Integer
(b7-b0)
-
-