HARDWARE ManualVDP2 User's ManualChapter 10 Dot Color Data
BackForward
VDP2 User's Manual / Chapter 10 Dot Color Data

■ 10.2 RGB format dot color data

The dot color data in RGB format is 15-bit data for sprites and 15-bit or 24-bit data for scrolling depending on the number of character colors, and is used as the dot color data as it is without going through the color RAM. If the dot color data is 15 bits, the lower 3 bits of each RGB are fixed to 0 and used.

 

● Sprite dot color data

The RGB format sprite dot color data is 5 bits each for RGB, and the lower 3 bits of each are fixed to 0 and output. Figure 10.5 shows the sprite dot color data in RGB format.

Figure 10.5 RGB sprite dot color data

・ Sprite dot color data
 14
 13
 12
 11
 Ten
 9
 8
 7
 6
 5
 4
 3
 2
 1
 0
BLUE data 5 bits GREEN data 5 bits RED data 5 bits

・ Output BLUE data
 7
 6
 5
 4
 3
 2
 1
 0
BLUE data 5 bits 0 0 0

・ Output GREEN data
 7
 6
 5
 4
 3
 2
 1
 0
GREEN data 5 bits 0 0 0

-Output RED data
 7
 6
 5
 4
 3
 2
 1
 0
RED data 5 bits 0 0 0

 

● Scroll dot color data

The RGB format scroll dot color data differs depending on the number of character colors. In the case of 15 bits, the lower 3 bits of each RGB are fixed to 0 and output.
The back screen outputs the lower 3 bits of each RGB fixed to 0, as in the case where the number of character colors on the scroll screen is 32768.

Figure 10.6 shows the scroll dot color data in RGB format.

Figure 10.6 Scroll dot color data in RGB format

◆ When the number of character colors is 32768
・ Scroll dot color data
 14
 13
 12
 11
 Ten
 9
 8
 7
 6
 5
 4
 3
 2
 1
 0
BLUE data 5 bits GREEN data 5 bits RED data 5 bits

・ Output BLUE data
 7
 6
 5
 4
 3
 2
 1
 0
BLUE data 5 bits 0 0 0

・ Output GREEN data
 7
 6
 5
 4
 3
 2
 1
 0
GREEN data 5 bits 0 0 0

-Output RED data
 7
 6
 5
 4
 3
 2
 1
 0
RED data 5 bits 0 0 0

◆ When the number of character colors is 16.77 million
・ Scroll dot color data
 twenty three
 twenty two
 twenty one
 20
 19
 18
 17
 16
BLUE data 8 bits

 15
 14
 13
 12
 11
 Ten
 9
 8
 7
 6
 5
 4
 3
 2
 1
 0
GREEN data 8 bits RED data 8 bits

・ Output BLUE data
 7
 6
 5
 4
 3
 2
 1
 0
BLUE data 8 bits

・ Output GREEN data
 7
 6
 5
 4
 3
 2
 1
 0
GREEN data 8 bits

-Output RED data
 7
 6
 5
 4
 3
 2
 1
 0
RED data 8 bits


BackForward
HARDWARE ManualVDP2 User's ManualChapter 10 Dot Color Data
Copyright SEGA ENTERPRISES, LTD., 1997