HARDWARE ManualVDP2 User's ManualChapter 4 Scroll screen
BackForward
VDP2 User's Manual / Chapter 4 Scroll Screen

● Pattern name control register

The pattern name control register specifies the pattern name data size, character number auxiliary mode, and pattern name auxiliary data. This is a write-only 16-bit register located at addresses 180030H to 180038H. After turning on the power or resetting, the value will be cleared to 0, so be sure to set it.

PNCN0 180030H
 15
 14
 13
 12
 11
 Ten
 09 09
 08 08
 N0PNB
 N0CNSM
 ---
 ---
 ---
 ---
 N0SPR
 N0SCC

 07 07
 06 06
 05 05
 04
 03 03
 02 02
 01 01
 00
 N0SPLT6
 N0SPLT5
 N0SPLT4
 N0SCN4
 N0SCN3
 N0SCN2
 N0SCN1
 N0SCN0 

PNCN1 180032H
 15
 14
 13
 12
 11
 Ten
 09 09
 08 08
 N1PNB
 N1CNSM
 ---
 ---
 ---
 ---
 N1SPR
 N1SCC

 07 07
 06 06
 05 05
 04
 03 03
 02 02
 01 01
 00
 N1SPLT6
 N1SPLT5
 N1SPLT4
 N1SCN4
 N1SCN3
 N1SCN2
 N1SCN1
 N1SCN0 

PNCN2 180034H
 15
 14
 13
 12
 11
 Ten
 09 09
 08 08
 N2PNB
 N2CNSM
 ---
 ---
 ---
 ---
 N2SPR
 N2SCC

 07 07
 06 06
 05 05
 04
 03 03
 02 02
 01 01
 00
 N2SPLT6
 N2SPLT5
 N2SPLT4
 N2SCN4
 N2SCN3
 N2SCN2
 N2SCN1
 N2SCN0 

PNCN3 180036H
 15
 14
 13
 12
 11
 Ten
 09 09
 08 08
 N3PNB
 N3CNSM
 ---
 ---
 ---
 ---
 N3SPR
 N3SCC

 07 07
 06 06
 05 05
 04
 03 03
 02 02
 01 01
 00
 N3SPLT6
 N3SPLT5
 N3SPLT4
 N3SCN4
 N3SCN3
 N3SCN2
 N3SCN1
 N3SCN0 

PNCR 180038H
 15
 14
 13
 12
 11
 Ten
 09 09
 08 08
 R0PNB
 R0CNSM
 ---
 ---
 ---
 ---
 R0SPR
 R0SCC

 07 07
 06 06
 05 05
 04
 03 03
 02 02
 01 01
 00
 R0SPLT6
 R0SPLT5
 R0SPLT4
 R0SCN4
 R0SCN3
 R0SCN2
 R0SCN1
 R0SCN0

     
Pattern name data size bit: Pattern name data size bit (N0PNB , N1PNB, N2PNB, N3PNB, R0PNB)
Specifies the pattern name data size when displaying in cell format.

N0PNB 180030H Bit 15 For NBG0 (or for RBG1)
N1PNB 180032H Bit 15 For NBG1
N2PNB 180034H Bit 15 For NBG2
N3PNB 180036H Bit 15 For NBG3
R0PNB 180038H Bit 15 For RBG0

xxPNB Pattern name data size
 0
2 words
 1
1 word
Note The bit name xx can be N0, N1, N2, N3, or R0.

    

Character number auxiliary mode bit: Character number supplement bit
(N0CNSM, N1CNSM, N2CNSM, N3CNSM, R0CNSM)
Specifies the character number auxiliary mode when the pattern name data size on the pattern name table is 1 word.

N0CNSM 180030H Bit 14 For NBG0 (or for RBG1)
N1CNSM 180032H Bit 14 For NBG1
N2CNSM 180034H Bit 14 For NBG2
N3CNSM 180036H Bit 14 For NBG3
R0CNSM 180038H Bit 14 For RBG0

xxCNSM process
 0
 Mode 0
The character number in the pattern name data is 10 bits.
Inversion function can be specified for each character
 1
 Mode 1
The character number in the pattern name data is 12 bits.
Invert function cannot be used
Note The bit name xx can be N0, N1, N2, N3, or R0.

     
Special priority bit (for pattern name auxiliary data) : Supplementary special priority bit
(N0SPR, N1SPR, N2SPR, N3SPR, R0SPR)
Specifies a special priority bit as pattern name auxiliary data when the pattern name data size is one word.

N0SPR 180030H Bit 9 For NBG0 (or for RBG1)
N1SPR 180032H Bit 9 For NBG1
N2SPR 180034H Bit 9 For NBG2
N3SPR 180036H Bit 9 For NBG3
R0SPR 180038H Bit 9 For RBG0

For details on how to use this bit, refer to "11.2 Special Priority Function".

     

Special color operation bit (for pattern name auxiliary data)
: Supplementary special color calculation bit
(N0SCC, N1SCC, N2SCC, N3SCC, R0SCC)
Specifies a special color operation bit as pattern name auxiliary data when the pattern name data size is 1 word.

N0SCC 180030H Bit 8 For NBG0 (or for RBG1)
N1SCC 180032H Bit 8 For NBG1
N2SCC 180034H Bit 8 For NBG2
N3SCC 180036H Bit 8 For NBG3
R0SCC 180038H Bit 8 For RBG0

For details on how to use this bit, refer to "12.2 Special Color Arithmetic Function>".

     

Auxiliary pallet number bit: Supplementary palette number bit
(N0SPLT6 to N0SPLT4, N1SPLT6 to N1SPLT4, N2SPLT6 to N2SPLT4, N3SPLT6 to N3SPLT4, R0SPLT6 to R0SPLT4)
Specifies the palette number bit as pattern name auxiliary data when the pattern name data size is 1 word. The auxiliary palette number bit is added to the palette number bit of the pattern name data by 3 bits.

N0SPLT6 to N0SPLT4 180030H Bits 7-5 For NBG0 (or for RBG1)
N1SPLT6 to N1SPLT4 180032H Bits 7-5 For NBG1
N2SPLT6 ~ N2SPLT4 180034H Bits 7-5 For NBG2
N3SPLT6 to N3SPLT4 180036H Bits 7-5 For NBG3
R0SPLT6 to R0SPLT4 180038H Bits 7-5 For RBG0

     
Auxiliary character number bit: Supplementary character number bit
(N0SCN4 to N0SCN0, N1SCN4 to N1SCN0, N2SCN4 to N2SCN0, N3SCN4 to N3SCN0, R0SCN4 to R0SCN0)
Specifies the character number bit as pattern name auxiliary data when the pattern name data size is 1 word. Five auxiliary character number bits are added to the character number bits of the pattern name data.

N0SCN4 to N0SCN0 180030H Bits 4-0 For NBG0 (or for RBG1)
N1SCN4 to N1SCN0 180032H Bits 4-0 For NBG1
N2SCN4 to N2SCN0 180034H Bits 4-0 For NBG2
N3SCN4 to N3SCN0 180036H Bits 4-0 For NBG3
R0SCN4 to R0SCN0 180038H Bits 4-0 For RBG0


BackForward
HARDWARE Manual VDP2 User's ManualChapter 4 Scroll screen
Copyright SEGA ENTERPRISES, LTD., 1997