Thu, 02 Dec 2010 23:37:49 +0000
add a few colour variants
src/main.c | file | annotate | diff | revisions |
1.1 diff -r 75887b42d7e5 -r 1d55c8c7c1ac src/main.c 1.2 --- a/src/main.c Thu Dec 02 23:30:13 2010 +0000 1.3 +++ b/src/main.c Thu Dec 02 23:37:49 2010 +0000 1.4 @@ -80,8 +80,10 @@ 1.5 } 1.6 1.7 // Map the foreground and background colours 1.8 - Uint32 fg = SDL_MapRGB(s->format, 0, 255, 0); // green foreground 1.9 - Uint32 bg = SDL_MapRGB(s->format, 0, 0, 0); // black background 1.10 + Uint32 fg = SDL_MapRGB(s->format, 0x00, 0xFF, 0x00); // green foreground 1.11 +// Uint32 fg = SDL_MapRGB(s->format, 0xFF, 0xC1, 0x06); // amber foreground 1.12 +// Uint32 fg = SDL_MapRGB(s->format, 0xFF, 0xFF, 0xFF); // white foreground 1.13 + Uint32 bg = SDL_MapRGB(s->format, 0x00, 0x00, 0x00); // black background 1.14 1.15 // Refresh the 3B1 screen area first. TODO: only do this if VRAM has actually changed! 1.16 uint32_t vram_address = 0;