color mode | mode | Content | 1pixel | |||
---|---|---|---|---|---|---|
bit 5 | 4 | 3 | Number of colors | mode name | ||
0 | 0 | 0 | 0 | 16 colors | color bank mode | 4bit |
0 | 0 | 1 | 1 | 16 colors | lookup table mode | 4bit |
0 | 1 | 0 | 2 | 64 colors | color bank mode | 8bit |
0 | 1 | 1 | 3 | 128 colors | color bank mode | 8bit |
1 | 0 | 0 | 4 | 256 colors | color bank mode | 8bit |
1 | 0 | 1 | 5 | 32768 colors | RGB mode | 16bit |
Other than those above | → | Setting prohibited (please do not set) |
Bit 15 12 11 8 7 4 3 0 ┌────────┬────────┬────────┬────────┐ +00H |Pixel 0 |Pixel 1 |Pixel 2 |Pixel 3 | ├────────┼────────┼────────┼────────┤ +02H |Pixel 4 |Pixel 5 |Pixel 6 |Pixel 7 | └────────┴────────┴────────┴────────┘
For an original picture of 8 pixels horizontally ┌───────┬───────┐ +00H→|0 1 2 3 4 5 6 7|←+02H ├───────┼───────┤ +04H→│8 9 A B C D E F│←+06H ├───────┼───────┤ │ : : │ │ : : │
bit 15 8 7 0 ┌────────────────┬──────────────────┐ +00H | Pixel 0 Pixel 1 | ├────────────────┼──────────────────┤ +02H | Pixel 2 Pixel 3 | ├────────────────┼──────────────────┤ +04H | Pixel 4 Pixel 5 | ├────────────────┼──────────────────┤ +06H │ Pixel 6 Pixel 7 │ ├────────────────┼──────────────────┤ │ : : │
For an original picture of 8 pixels horizontally ┌───┬───┬───┬───┐ +00H →│0 1│2 3│4 5│6 7│← +06H ├───┼───┼───┼───┤ +08H →│8 9│A B│C D│E F│← +0EH ├───┼───┼───┼───┤ │ : │ : │ : │ : │ │ : │ : │ : │ : │
bit 15 8 7 0 ┌────────────────┬──────────────────┐ +00H | Pixel 0 Pixel 0 | | (upper byte) (lower byte) | ├────────────────┼──────────────────┤ +02H | Pixel 1 Pixel 1 | | (upper byte) (lower byte) | ├────────────────┼──────────────────┤ +04H | Pixel 2 Pixel 2 | | (upper byte) (lower byte) | ├────────────────┼──────────────────┤ +06H | Pixel 3 Pixel 3 | | (upper byte) (lower byte) | ├────────────────┼──────────────────┤ +08H | Pixel 4 Pixel 4 | | (upper byte) (lower byte) | ├────────────────┼──────────────────┤ +0AH | Pixel 5 Pixel 5 | | (upper byte) (lower byte) | ├────────────────┼──────────────────┤ +0CH │ Pixel 6 Pixel 6 │ | (upper byte) (lower byte) | ├────────────────┼──────────────────┤ │ : : │
MSB LSB ┌─┬─────────┬─────────┬─────────┐ │ │ B │ G │ R │ │1├─┬─┬─┬─┬─┼─┬─┬─┬─┬─┼─┬─┬─┬─┬─┤ │ │4│3│2│1│0│4│3│2│1│0│4│3│2│1│0│ └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘ [Note] MBS is “1”
pixel data | drawing data |
---|---|
0000H | transparent color code |
0001H | |
7FFEH | end code |
8000H | RGB code |
For an original picture of 8 pixels horizontally ┌─┬─┬─┬─┬─┬─┬─┬─┐ +00H →│0│1│2│3│4│5│6│7│← +0EH ├─┼─┼─┼─┼─┼─┼─┼─┤ +10H →│8│9│A│B│C│D│E│F│← +1EH ├─┼─┼─┼─┼─┼─┼─┼─┤ │:│:│:│:│:│:│:│:│ │:│:│:│:│:│:│:│:│