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