
NY6 User Manual
Ver 1.3 2019/03/28
39
3.15.3 VOL
The VOL register specifies the digital volume control of Mixer. The VOL has 16 steps. 0x0 means the
smallest volume (or mute) and 0xF is the loudest level. Recommended VOL value associated with total
active channels are listed in the table below.
Total active
channel
Recommended
VOL value
6
0x3
4
0x4
2
0x8
1
0xF
3.16 Register Without Address Mapping
This Section will describe registers with implied addressing mode. There is no address assigned to this
kind of registers, shows as below:
Name
R/W
Bit
Description
Initial
C
R/W
1
Arithmetic carry flag
0x0
Z
R/W
1
Arithmetic zero flag
0x0
BANK
R
3
ROM bank register
0x0
PAGE
R
3
3-bit RAM page register
0x0
CHNM
R/W
3
3-bit channel number register of desired channel
0x0
ENV
R/W
8
8-bit envelope of CH#
0x00
HPF
R
1
1-bit Head Play Flag of CH#
0x00
PFLG
R
1
1-bit Play Flag of CH#
0x00
PH
RW
12
12-bit PH value of CH#
0x000
MIXDT
R
12
12-bit Mixer data
0x000
3.16.1 BANK
The bank register is used to switch the program bank when the total program size has exceeded the
capacity of single program bank. This register of NY6 series is 3-bit wide and the BANK instruction will
write the specific number to bank register. Each program bank can address up to 64K words space and
at most 8 banks are supported in NY6 chip. While the program execution will change to another
program bank by JMP or CALL instruction, the bank register should be set with the program bank of
targeting address in advance. Therefore, combining with bank register and 64K words program page,
the total address space is 512K words.
3.16.2 PAGE
There are 6 memory pages in NY6 series. As PAGE register is not a system register or a memory
mapped register, it can only be written by the MPG instruction and can’t be read. The MPG instruction
will write the specific page number to PAGE register.