Figure 4.10 Bit configuration when the pattern name data is one word
(1) Character size: 1 horizontal cell x 1 vertical cell Number of character colors: 16 colors Character number Auxiliary mode: Mode 0
● Pattern name data in the pattern name table
bit15 | bit14 | bit13 | bit12 | bit11 | bit10 | bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Palette number | Inversion function | Character number |
|---|
| 3 | 2 | 1 | 0 | Up and down | Left and right | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
● Auxiliary data in the pattern name control register
bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Special features | Palette number | Character number |
|---|
| PR | CC | 6 | 5 | 4 | 14 | 13 | 12 | 11 | Ten |
PR: Special priority bit
CC: Special color arithmetic bit
(2) Character size: 1 horizontal cell x 1 vertical cell Number of character colors: 16 colors Character number Auxiliary mode: Mode 1
● Pattern name data in the pattern name table
bit15 | bit14 | bit13 | bit12 | bit11 | bit10 | bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Palette number | Character number |
|---|
| 3 | 2 | 1 | 0 | 11 | Ten | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
● Auxiliary data in the pattern name control register
bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Special features | Palette number | Character number |
|---|
| PR | CC | 6 | 5 | 4 | 14 | 13 | 12 | --- | --- |
PR: Special priority bit
CC: Special color arithmetic bit
[Note] "-" is ignored
(3) Character size: 1 horizontal cell x 1 vertical cell Number of character colors: Other than 16 colors Character number Auxiliary mode: Mode 0
● Pattern name data in the pattern name table
bit15 | bit14 | bit13 | bit12 | bit11 | bit10 | bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Palette number | Inversion function | Character number |
|---|
| --- | 6 | 5 | 4 | Up and down | Left and right | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
[Note] "-" is ignored ● Auxiliary data in the pattern name control register
bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Special features | Palette number | Character number |
|---|
| PR | CC | --- | --- | --- | 14 | 13 | 12 | 11 | Ten |
PR: Special priority bit
CC: Special color arithmetic bit
[Note] "-" is ignored
(4) Character size: 1 horizontal cell x 1 vertical cell Number of character colors: Other than 16 colors Character number Auxiliary mode: Mode 1
● Pattern name data in the pattern name table
bit15 | bit14 | bit13 | bit12 | bit11 | bit10 | bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Palette number | Character number |
|---|
| --- | 6 | 5 | 4 | 11 | Ten | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
● Auxiliary data in the pattern name control register
bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Special features | Palette number | Character number |
|---|
| PR | CC | --- | --- | --- | 14 | 13 | 12 | --- | --- |
PR: Special priority bit
CC: Special color arithmetic bit
[Note] "-" is ignored
(5) Character size: 2 horizontal cells x 2 vertical cells Number of character colors: 16 colors Character number Auxiliary mode: Mode 0
● Pattern name data in the pattern name table
bit15 | bit14 | bit13 | bit12 | bit11 | bit10 | bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Palette number | Inversion function | Character number |
|---|
| 3 | 2 | 1 | 0 | Up and down | Left and right | 11 | Ten | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 |
● Auxiliary data in the pattern name control register
bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Special features | Palette number | Character number |
|---|
| PR | CC | 6 | 5 | 4 | 14 | 13 | 12 | 1 | 0 |
PR: Special priority bit
CC: Special color arithmetic bit
(6) Character size: 2 horizontal cells x 2 vertical cells Number of character colors: Other than 16 colors Character number Auxiliary mode: Mode 1
● Pattern name data in the pattern name table
bit15 | bit14 | bit13 | bit12 | bit11 | bit10 | bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Palette number | Character number |
|---|
| --- | 6 | 5 | 4 | 13 | 12 | 11 | Ten | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 |
● Auxiliary data in the pattern name control register
bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Special features | Palette number | Character number |
|---|
| PR | CC | 6 | 5 | 4 | 14 | --- | --- | 1 | 0 |
PR: Special priority bit
CC: Special color arithmetic bit
[Note] "-" is ignored
- ◆ Character number
- The character number is 15-bit data and specifies the start address of the character pattern to be displayed at that position. The boundary of the character pattern by this character number is always 20H. If the VRAM capacity is 4M bits, the most significant bit (bit 14) of the character number is not used.
- ◆ Palette number
- The palette number is 7-bit data, and specifies the start address of the color palette used for the character pattern displayed at that position. This data is used only when the color format is palette format, not when it is RGB format. The palette number is attached to the dot color code of the character pattern to make a total of 11 bits of dot color data, so the bits used will change depending on the number of character colors. Figure 4.11 shows the configuration of 11-bit dot color data.
- Figure 4.11 Dot color data based on the number of character colors
- ● Number of character colors: 16 colors
bit10 | bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Palette number | Dot color code |
|---|
| 6 | 5 | 4 | 3 | 2 | 1 | 0 | 3 | 2 | 1 | 0 |
- ● Number of character colors: 256 colors
bit10 | bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Palette number | Dot color code |
|---|
| 6 | 5 | 4 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
- ● Number of character colors: 2048 colors
bit10 | bit9 | bit8 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
| Dot color code |
|---|
| Ten | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
- ◆ Special function bit
- The special function bit is 2-bit data and specifies whether to use the special function for the character pattern displayed at that position. The special function bits include a special priority bit that controls the priority number and a special color operation bit that controls the color operation. For details on the special priority bit, see 11.2 Special Priority Function. For details on the special color calculation bit, refer to " 12.2 Special Color Calculation Function".
- ◆ Inversion function bit
- The inversion function bit is 2-bit data and specifies whether to use the inversion function for the character pattern displayed at that position. The inversion function bits include the upside down 064 left / right inversion bit that inverts the character pattern up / down. Table 4.7 shows the inversion function bits, and Fig. 4.12 shows an example of the inversion display of the character pattern.
- Table 4.7 Inversion function bits
Upside down bit | Left / right inversion bit | process | | 0 | 0 | Do not flip either up / down or left / right |
| 0 | 1 | Invert only left and right |
| 1 | 0 | Invert only upside down |
| 1 | 1 | Invert both up and down and left and right |
Figure 4.12 Reverse display of character patterns

- ◆ Left / right inversion function Bit limitation
- The cell format normal scroll screen (NBG0,1) left / right inversion function bit is valid only when the number of character colors is 16 or 256. Otherwise, do not set it to "1".
▲ Back | Forward ▼
★ HARDWARE Manual VDP2 User's Manual ★ Chapter 4 Scroll screen
Copyright SEGA ENTERPRISES, LTD., 1997