Skip to content
Snippets Groups Projects
Commit bdf82610 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Switch from "the CTerm palette" to the colodore one

parent b3f55216
No related branches found
No related tags found
No related merge requests found
......@@ -233,6 +233,7 @@ struct dac_colors dac_default[TOTAL_DAC_SIZE] = {
/* C64 colours */
/* Black, White, Red, Cyan, Purple, Green, Blue, Yellow */
/* Orange, Brown, Lt Red, Dk Grey, Grey, Lt Green, Lt Blue, Lt Grey */
#if 0
/* Taken from CTerm source */
{0x00, 0x00, 0x00}, // Black
{0xFD, 0xFE, 0xFC}, // White
......@@ -250,6 +251,29 @@ struct dac_colors dac_default[TOTAL_DAC_SIZE] = {
{0x59, 0xFE, 0x59}, // Light Green
{0x5F, 0x53, 0xFE}, // Light Blue
{0xA4, 0xA7, 0xA2}, // Light Grey
#else
/*
* Taken from https://www.pepto.de/projects/colorvic/
* a much more convincing source.
*/
{0x00, 0x00, 0x00},
{0xFF, 0xFF, 0xFF},
{0x81, 0x33, 0x38},
{0x75, 0xCE, 0xC8},
{0x8E, 0x3C, 0x97},
{0x56, 0xAC, 0x4D},
{0x2E, 0x2C, 0x9B},
{0xED, 0xF1, 0x71},
{0x8E, 0x50, 0x29},
{0x55, 0x38, 0x00},
{0xC4, 0x6C, 0x71},
{0x4A, 0x4A, 0x4A},
{0x7B, 0x7B, 0x7B},
{0xA9, 0xFF, 0x9F},
{0x70, 0x6D, 0xEB},
{0xB2, 0xB2, 0xB2},
#endif
/* Atari Colours */
/* BG, FG */
{0, 81, 129}, {96, 183, 231},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment