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

■10.2 Dot color data in RGB format

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

 

●Sprite dot color data

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

Figure 10.5 Sprite dot color data in RGB format

・Sprite dot color data
 14
 13
 12
 11
 10
 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

Scroll dot color data in RGB format varies 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 is output with the lower 3 bits of each RGB fixed to 0, similar to when the scroll screen has 32768 character colors.

Scroll dot color data in RGB format is shown in Figure 10.6.

Figure 10.6 Scroll dot color data in RGB format

◆When the number of character colors is 32768 colors
・Scroll dot color data
 14
 13
 12
 11
 10
 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 colors
・Scroll dot color data
 23
 22
 21
 20
 19
 18
 17
 16
BLUE data 8 bits

 15
 14
 13
 12
 11
 10
 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