HSS | ECD | End Code processing |
0 | 0 | End code valid, second time End code will end horizontal drawing, |
0 | 1 | End code invalid, end code is Not processed, |
1 and | 0 | End code Enabled, horizontal drawing ends with second end code, |
1 and | 0 | End code Disabled, end code not processed, |
1 | 1 | End code invalid, end code is Not processed, |
The relationship between color mode and end code is as follows. The number of bits of the end code differs in color mode.
Color Mode | End Code | |
0 | 16 colors (color bank mode) | FH (4 bits) |
1 | 16 colors (lookup table mode) | FH (4 bits) |
2 | 64 colors (color bank mode) | FFH (8 bits) |
3 | 128 colors (color bank mode) | FFH (8 bits) |
4 | 256 colors (color bank mode) | FFH (8 bits) |
5 | 32768 colors (RGB mode) | 7FFFH (16 bits) |