Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
679800f7
Commit
679800f7
authored
May 18, 2021
by
Deucе
👌🏾
Browse files
Switch from "the CTerm palette" to the colodore one
See
https://www.pepto.de/projects/colorvic/
for details.
parent
a5c619fc
Pipeline
#2236
passed with stage
in 8 minutes and 57 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
src/conio/vidmodes.c
src/conio/vidmodes.c
+24
-0
No files found.
src/conio/vidmodes.c
View file @
679800f7
...
...
@@ -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
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment