You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
258 lines
5.4 KiB
258 lines
5.4 KiB
int dpal775[256][3] = {
|
|
{0x00, 0x00, 0x00}, /* cosmic colors */
|
|
{0x00, 0x00, 0x80},
|
|
{0x00, 0x80, 0x00},
|
|
{0x00, 0x80, 0x80},
|
|
{0x80, 0x00, 0x00},
|
|
{0x80, 0x00, 0x80},
|
|
{0x80, 0x80, 0x00},
|
|
{0x00, 0x00, 0x00}, // {0xc0, 0xc0, 0xc0}, //not used
|
|
{0x00, 0x00, 0x00}, // {0xc0, 0xdc, 0xc0}, //not used
|
|
{0x00, 0x00, 0x00}, // {0xf0, 0xca, 0xa6}, //not used
|
|
{0x00, 0x00, 0x40},
|
|
{0x00, 0x00, 0xc0},
|
|
{0x00, 0x2b, 0x00},
|
|
{0x00, 0x2b, 0x40},
|
|
{0x00, 0x2b, 0x80},
|
|
{0x00, 0x2b, 0xbf},
|
|
{0x00, 0x2b, 0xff},
|
|
{0x00, 0x55, 0x00},
|
|
{0x00, 0x55, 0x40},
|
|
{0x00, 0x55, 0x80},
|
|
{0x00, 0x55, 0xbf},
|
|
{0x00, 0x55, 0xff},
|
|
{0x00, 0x80, 0x40},
|
|
{0x00, 0x80, 0xbf},
|
|
{0x00, 0x80, 0xff},
|
|
{0x00, 0xaa, 0x00},
|
|
{0x00, 0xaa, 0x40},
|
|
{0x00, 0xaa, 0x80},
|
|
{0x00, 0xaa, 0xbf},
|
|
{0x00, 0xaa, 0xff},
|
|
{0x00, 0xd5, 0x00},
|
|
{0x00, 0xd5, 0x40},
|
|
{0x00, 0xd5, 0x80},
|
|
{0x00, 0xd5, 0xbf},
|
|
{0x00, 0xd5, 0xff},
|
|
{0x00, 0xff, 0x40},
|
|
{0x00, 0xff, 0x80},
|
|
{0x00, 0xff, 0xbf},
|
|
{0x2b, 0x00, 0x00},
|
|
{0x2b, 0x00, 0x40},
|
|
{0x2b, 0x00, 0x80},
|
|
{0x2b, 0x00, 0xbf},
|
|
{0x2b, 0x00, 0xff},
|
|
{0x2b, 0x2b, 0x00},
|
|
{0x2b, 0x2b, 0x40},
|
|
{0x2b, 0x2b, 0x80},
|
|
{0x2b, 0x2b, 0xbf},
|
|
{0x2b, 0x2b, 0xff},
|
|
{0x2b, 0x55, 0x00},
|
|
{0x2b, 0x55, 0x40},
|
|
{0x2b, 0x55, 0x80},
|
|
{0x2b, 0x55, 0xbf},
|
|
{0x2b, 0x55, 0xff},
|
|
{0x2b, 0x80, 0x00},
|
|
{0x2b, 0x80, 0x40},
|
|
{0x2b, 0x80, 0x80},
|
|
{0x2b, 0x80, 0xbf},
|
|
{0x2b, 0x80, 0xff},
|
|
{0x2b, 0xaa, 0x00},
|
|
{0x2b, 0xaa, 0x40},
|
|
{0x2b, 0xaa, 0x80},
|
|
{0x2b, 0xaa, 0xbf},
|
|
{0x2b, 0xaa, 0xff},
|
|
{0x2b, 0xd5, 0x00},
|
|
{0x2b, 0xd5, 0x40},
|
|
{0x2b, 0xd5, 0x80},
|
|
{0x2b, 0xd5, 0xbf},
|
|
{0x2b, 0xd5, 0xff},
|
|
{0x2b, 0xff, 0x00},
|
|
{0x2b, 0xff, 0x40},
|
|
{0x2b, 0xff, 0x80},
|
|
{0x2b, 0xff, 0xbf},
|
|
{0x2b, 0xff, 0xff},
|
|
{0x55, 0x00, 0x00},
|
|
{0x55, 0x00, 0x40},
|
|
{0x55, 0x00, 0x80},
|
|
{0x55, 0x00, 0xbf},
|
|
{0x55, 0x00, 0xff},
|
|
{0x55, 0x2b, 0x00},
|
|
{0x55, 0x2b, 0x40},
|
|
{0x55, 0x2b, 0x80},
|
|
{0x55, 0x2b, 0xbf},
|
|
{0x55, 0x2b, 0xff},
|
|
{0x55, 0x55, 0x00},
|
|
{0x55, 0x55, 0x40},
|
|
{0x55, 0x55, 0x80},
|
|
{0x55, 0x55, 0xbf},
|
|
{0x55, 0x55, 0xff},
|
|
{0x55, 0x80, 0x00},
|
|
{0x55, 0x80, 0x40},
|
|
{0x55, 0x80, 0x80},
|
|
{0x55, 0x80, 0xbf},
|
|
{0x55, 0x80, 0xff},
|
|
{0x55, 0xaa, 0x00},
|
|
{0x55, 0xaa, 0x40},
|
|
{0x55, 0xaa, 0x80},
|
|
{0x55, 0xaa, 0xbf},
|
|
{0x55, 0xaa, 0xff},
|
|
{0x55, 0xd5, 0x00},
|
|
{0x55, 0xd5, 0x40},
|
|
{0x55, 0xd5, 0x80},
|
|
{0x55, 0xd5, 0xbf},
|
|
{0x55, 0xd5, 0xff},
|
|
{0x55, 0xff, 0x00},
|
|
{0x55, 0xff, 0x40},
|
|
{0x55, 0xff, 0x80},
|
|
{0x55, 0xff, 0xbf},
|
|
{0x55, 0xff, 0xff},
|
|
{0x80, 0x00, 0x40},
|
|
{0x80, 0x00, 0xbf},
|
|
{0x80, 0x00, 0xff},
|
|
{0x80, 0x2b, 0x00},
|
|
{0x80, 0x2b, 0x40},
|
|
{0x80, 0x2b, 0x80},
|
|
{0x80, 0x2b, 0xbf},
|
|
{0x80, 0x2b, 0xff},
|
|
{0x80, 0x55, 0x00},
|
|
{0x80, 0x55, 0x40},
|
|
{0x80, 0x55, 0x80},
|
|
{0x80, 0x55, 0xbf},
|
|
{0x80, 0x55, 0xff},
|
|
{0x80, 0x80, 0x40},
|
|
{0x80, 0x80, 0xbf},
|
|
{0x80, 0x80, 0xff},
|
|
{0x80, 0xaa, 0x00},
|
|
{0x80, 0xaa, 0x40},
|
|
{0x80, 0xaa, 0x80},
|
|
{0x80, 0xaa, 0xbf},
|
|
{0x80, 0xaa, 0xff},
|
|
{0x80, 0xd5, 0x00},
|
|
{0x80, 0xd5, 0x40},
|
|
{0x80, 0xd5, 0x80},
|
|
{0x80, 0xd5, 0xbf},
|
|
{0x80, 0xd5, 0xff},
|
|
{0x80, 0xff, 0x00},
|
|
{0x80, 0xff, 0x40},
|
|
{0x80, 0xff, 0x80},
|
|
{0x80, 0xff, 0xbf},
|
|
{0x80, 0xff, 0xff},
|
|
{0xaa, 0x00, 0x00},
|
|
{0xaa, 0x00, 0x40},
|
|
{0xaa, 0x00, 0x80},
|
|
{0xaa, 0x00, 0xbf},
|
|
{0xaa, 0x00, 0xff},
|
|
{0xaa, 0x2b, 0x00},
|
|
{0xaa, 0x2b, 0x40},
|
|
{0xaa, 0x2b, 0x80},
|
|
{0xaa, 0x2b, 0xbf},
|
|
{0xaa, 0x2b, 0xff},
|
|
{0xaa, 0x55, 0x00},
|
|
{0xaa, 0x55, 0x40},
|
|
{0xaa, 0x55, 0x80},
|
|
{0xaa, 0x55, 0xbf},
|
|
{0xaa, 0x55, 0xff},
|
|
{0xaa, 0x80, 0x00},
|
|
{0xaa, 0x80, 0x40},
|
|
{0xaa, 0x80, 0x80},
|
|
{0xaa, 0x80, 0xbf},
|
|
{0xaa, 0x80, 0xff},
|
|
{0xaa, 0xaa, 0x00},
|
|
{0xaa, 0xaa, 0x40},
|
|
{0xaa, 0xaa, 0x80},
|
|
{0xaa, 0xaa, 0xbf},
|
|
{0xaa, 0xaa, 0xff},
|
|
{0xaa, 0xd5, 0x00},
|
|
{0xaa, 0xd5, 0x40},
|
|
{0xaa, 0xd5, 0x80},
|
|
{0xaa, 0xd5, 0xbf},
|
|
{0xaa, 0xd5, 0xff},
|
|
{0xaa, 0xff, 0x00},
|
|
{0xaa, 0xff, 0x40},
|
|
{0xaa, 0xff, 0x80},
|
|
{0xaa, 0xff, 0xbf},
|
|
{0xaa, 0xff, 0xff},
|
|
{0xd5, 0x00, 0x00},
|
|
{0xd5, 0x00, 0x40},
|
|
{0xd5, 0x00, 0x80},
|
|
{0xd5, 0x00, 0xbf},
|
|
{0xd5, 0x00, 0xff},
|
|
{0xd5, 0x2b, 0x00},
|
|
{0xd5, 0x2b, 0x40},
|
|
{0xd5, 0x2b, 0x80},
|
|
{0xd5, 0x2b, 0xbf},
|
|
{0xd5, 0x2b, 0xff},
|
|
{0xd5, 0x55, 0x00},
|
|
{0xd5, 0x55, 0x40},
|
|
{0xd5, 0x55, 0x80},
|
|
{0xd5, 0x55, 0xbf},
|
|
{0xd5, 0x55, 0xff},
|
|
{0xd5, 0x80, 0x00},
|
|
{0xd5, 0x80, 0x40},
|
|
{0xd5, 0x80, 0x80},
|
|
{0xd5, 0x80, 0xbf},
|
|
{0xd5, 0x80, 0xff},
|
|
{0xd5, 0xaa, 0x00},
|
|
{0xd5, 0xaa, 0x40},
|
|
{0xd5, 0xaa, 0x80},
|
|
{0xd5, 0xaa, 0xbf},
|
|
{0xd5, 0xaa, 0xff},
|
|
{0xd5, 0xd5, 0x00},
|
|
{0xd5, 0xd5, 0x40},
|
|
{0xd5, 0xd5, 0x80},
|
|
{0xd5, 0xd5, 0xbf},
|
|
{0xd5, 0xd5, 0xff},
|
|
{0xd5, 0xff, 0x00},
|
|
{0xd5, 0xff, 0x40},
|
|
{0xd5, 0xff, 0x80},
|
|
{0xd5, 0xff, 0xbf},
|
|
{0xd5, 0xff, 0xff},
|
|
{0xff, 0x00, 0x40},
|
|
{0xff, 0x00, 0x80},
|
|
{0xff, 0x00, 0xbf},
|
|
{0xff, 0x2b, 0x00},
|
|
{0xff, 0x2b, 0x40},
|
|
{0xff, 0x2b, 0x80},
|
|
{0xff, 0x2b, 0xbf},
|
|
{0xff, 0x2b, 0xff},
|
|
{0xff, 0x55, 0x00},
|
|
{0xff, 0x55, 0x40},
|
|
{0xff, 0x55, 0x80},
|
|
{0xff, 0x55, 0xbf},
|
|
{0xff, 0x55, 0xff},
|
|
{0xff, 0x80, 0x00},
|
|
{0xff, 0x80, 0x40},
|
|
{0xff, 0x80, 0x80},
|
|
{0xff, 0x80, 0xbf},
|
|
{0xff, 0x80, 0xff},
|
|
{0xff, 0xaa, 0x00},
|
|
{0xff, 0xaa, 0x40},
|
|
{0xff, 0xaa, 0x80},
|
|
{0xff, 0xaa, 0xbf},
|
|
{0xff, 0xaa, 0xff},
|
|
{0xff, 0xd5, 0x00},
|
|
{0xff, 0xd5, 0x40},
|
|
{0xff, 0xd5, 0x80},
|
|
{0xff, 0xd5, 0xbf},
|
|
{0xff, 0xd5, 0xff},
|
|
{0xff, 0xff, 0x40},
|
|
{0xff, 0xff, 0x80},
|
|
{0xff, 0xff, 0xbf},
|
|
{0x00, 0x00, 0x01}, /* six extra colors */
|
|
{0x00, 0x00, 0x02},
|
|
{0x00, 0x00, 0x03},
|
|
{0x00, 0x00, 0x04},
|
|
{0x00, 0x00, 0x05},
|
|
{0x00, 0x00, 0x06},
|
|
{0x00, 0x00, 0x00}, // {0xf0, 0xfb, 0xff}, //not used
|
|
{0x00, 0x00, 0x00}, // {0xa4, 0xa0, 0xa0}, //not used
|
|
{0x80, 0x80, 0x80},
|
|
{0x00, 0x00, 0xff},
|
|
{0x00, 0xff, 0x00},
|
|
{0x00, 0xff, 0xff},
|
|
{0xff, 0x00, 0x00},
|
|
{0xff, 0x00, 0xff},
|
|
{0xff, 0xff, 0x00},
|
|
{0xff, 0xff, 0xff}
|
|
};
|