offset | size | function |
---|---|---|
$00 | word | identifier |
$02 | $04 | image size |
$06 | variable | CLUT (present if required) |
variable | variable | bitmap data |
"PP" | Palette mode 256 colors/32768 colors |
---|---|
"DC" | RGB mode 32768 colors |
"RL" | Run length mode 256 colors/32768 colors |
"FP" | Palette mode 256 colors/approximately 16.77 million colors |
"FC" | RGB mode approximately 16.77 million colors |
"pp" | Palette mode 16 colors/32768 colors |
"fp" | Palette mode 16 colors/approximately 16.77 million colors |
offset | size | Explanation |
---|---|---|
$00 | ||
$02 |
offset | size | function |
---|---|---|
$00 | word or | CLUT data |
MSB Color data LSB │ │ Blue │ Green │ Red │ ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ │*│4│3│2│1│0│4│3│2│1│0│4│3│2│1│0│ └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘
MSB │ Color code │ │ Blue │ ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ │*│−│−│−│−│−│−│−│7│6│5│4│3│2│1│0│ └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘ LSB │ Green │ Red │ ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ │7│6│5│4│3│2│1│0│7│6│5│4│3│2│1│0│ └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘
offset | size | function |
---|---|---|
From $00 |
MSB LSB │ Palette code │ ┌─┬─┬─┬─┬─┬─┬─┬─┐ │7│6│5│4│3│2│1│0│ └─┴─┴─┴─┴─┴─┴─┴─┘
MSB Color data LSB │ │ Blue │ Green │ Red │ ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ │*│4│3│2│1│0│4│3│2│1│0│4│3│2│1│0│ └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘
MSB │ Color code │ │ Blue │ ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ │*│−│−│−│−│−│−│−│7│6│5│4│3│2│1│0│ └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘ LSB │ Green │ Red │ ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ │7│6│5│4│3│2│1│0│7│6│5│4│3│2│1│0│ └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘
MSB LSB │Even coordinate│Odd coordinate │ │code │code │ ┌───┬───┬───┬───┬───┬───┬───┬───┐ │ 3 │ 2 │ 1 │ 0 │ 3 │ 2 │ 1 │ 0 │ └───┴───┴───┴───┴───┴───┴───┴───┘
MSB LSB │ Run length │ CLUT index num│ ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ │7│6│5│4│3│2│1│0│7│6│5│4│3│2│1│0│ └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘