NY6 User Manual
Ver 1.3 2019/03/28
16
Inst./Event
Function
LDEN
Load RPT[7:0] to ENV, according to CHNM.
RBEN
Load ENV to RPT[7:0], according to CHNM
PLAY
Play RPT to HVPR, according to CHNM.
LDSEC
Load RPT to TVPR, according to CHNM.
LDPH
Load RPT[11:0] to PH, according to CHNM.
RBVPR
Read HVPR to RPT, according to CHNM.
RBNVPR
Read TVPR to RPT, according to CHNM.
LDPR
Load RPT to DPR/STK, according to CHNM.
RBPR
Read DPR/STK to RPT, according to CHNM.
RBSPRH
Read SPR[23:12] to RPT[11:0]
RBSPRL
Read SPR[11:0] to RPT[11:0]
LDSPRH
Load RPT[11:0] to SPR[23:12]
LDSPRL
Load RPT[11:0] to SPR[11:0]
RBDA
Read DAC[11:8] data to RPT2(RPT[11:8])
LDPC
Move RPT to PC
RBPC
Move PC to RPT
XMD0
Use {PAGE, RPT1[1:0], RPT0} as address to access indexed RAM data.
XMD1
Use {PAGE, RPT3[1:0], RPT2} as address to access indexed RAM data.
2.4.4 Head Voice Pointer (HVPR) & Tail Voice Pointer (TVPR)
Because NY6 is a 6-channel sound processor, 6 voice pointers each with 21-bit width are necessary for
playing speech or MIDI of each channel. When PLAY is executed, the system loads RPT to HVPR of
the channel that assigned by the CHNM register. When LDSEC is executed, the system loads RPT to
TVPR of the channel that assigned by the CHNM register. Therefore, users have to move the start
address of the speech or MIDI data to RPT first. Moreover, users can read HVPR/TVPR back by
RBVPR/RBNVPR instruction, because RBVPR/RBNVPR moves HVPR/TVPR of the channel that
assigned by the CHNM register to RPT. The HVPR/TVPR max width is 18 bits for NY6A/6B and 21 bits
for NY6C.
2.4.5 Data Pointer (DPR)
Eight data pointers each with 21-bit width are necessary for reading ROM data of each channel. When
LDPR is executed, the system loads RPT to DPR of the channel that assigned by the CHNM register.
The read back ROM data is placed on ROD2[1:0], ROD1, ACC. ACC is the 4 LSB of ROM data.
Besides, users can read DPR back by RBPR instruction, because RBPR moves DPR of the channel
that assigned by the CHNM register to RPT. The DPR max width is 18 bits for NY6A and 21 bits for
NY6B/NY6C. Unused DPR can be used as STK.