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

Switch from "the CTerm palette" to the colodore one

parent a5c619fc
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2236 passed
...@@ -233,6 +233,7 @@ struct dac_colors dac_default[TOTAL_DAC_SIZE] = { ...@@ -233,6 +233,7 @@ struct dac_colors dac_default[TOTAL_DAC_SIZE] = {
/* C64 colours */ /* C64 colours */
/* Black, White, Red, Cyan, Purple, Green, Blue, Yellow */ /* Black, White, Red, Cyan, Purple, Green, Blue, Yellow */
/* Orange, Brown, Lt Red, Dk Grey, Grey, Lt Green, Lt Blue, Lt Grey */ /* Orange, Brown, Lt Red, Dk Grey, Grey, Lt Green, Lt Blue, Lt Grey */
#if 0
/* Taken from CTerm source */ /* Taken from CTerm source */
{0x00, 0x00, 0x00}, // Black {0x00, 0x00, 0x00}, // Black
{0xFD, 0xFE, 0xFC}, // White {0xFD, 0xFE, 0xFC}, // White
...@@ -250,6 +251,29 @@ struct dac_colors dac_default[TOTAL_DAC_SIZE] = { ...@@ -250,6 +251,29 @@ struct dac_colors dac_default[TOTAL_DAC_SIZE] = {
{0x59, 0xFE, 0x59}, // Light Green {0x59, 0xFE, 0x59}, // Light Green
{0x5F, 0x53, 0xFE}, // Light Blue {0x5F, 0x53, 0xFE}, // Light Blue
{0xA4, 0xA7, 0xA2}, // Light Grey {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 */ /* Atari Colours */
/* BG, FG */ /* BG, FG */
{0, 81, 129}, {96, 183, 231}, {0, 81, 129}, {96, 183, 231},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment