Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
28 lines
959 B
C
28 lines
959 B
C
// MSXgl palette
|
|
// by Guillaume "Aoineko" Blanchard (2022) under CC BY-SA free license
|
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
#include "core.h"
|
|
#include "color.h"
|
|
|
|
// Default MSX1 (TMS9918) palette
|
|
const u16 g_PaletteMSX1[] =
|
|
{
|
|
#if (VDP_USE_PALETTE16)
|
|
RGB16(0, 0, 0), // Transparent
|
|
#endif
|
|
RGB16(0, 0, 0), // Black
|
|
RGB16(1, 5, 1), // Medium green
|
|
RGB16(3, 6, 3), // Light green
|
|
RGB16(2, 2, 6), // Dark blue
|
|
RGB16(3, 3, 7), // Light blue
|
|
RGB16(5, 2, 2), // Dark red
|
|
RGB16(2, 6, 7), // Cyan
|
|
RGB16(6, 2, 2), // Medium red
|
|
RGB16(6, 3, 3), // Light red
|
|
RGB16(5, 5, 2), // Dark yellow
|
|
RGB16(6, 6, 3), // Light yellow
|
|
RGB16(1, 4, 1), // Dark green
|
|
RGB16(5, 2, 5), // Magenta
|
|
RGB16(5, 5, 5), // Gray
|
|
RGB16(7, 7, 7) // White
|
|
}; |