Rev 4177 | Rev 4223 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4177 | Rev 4182 | ||
---|---|---|---|
Line 76... | Line 76... | ||
76 | static unsigned int position = 0; |
76 | static unsigned int position = 0; |
77 | 77 | ||
78 | #define BG_COLOR 0x000080 |
78 | #define BG_COLOR 0x000080 |
79 | #define FG_COLOR 0xffff00 |
79 | #define FG_COLOR 0xffff00 |
80 | 80 | ||
81 | #define CURSOR 219 |
81 | #define CURSOR 0x2588 |
82 | 82 | ||
83 | #define RED(x, bits) ((x >> (8 + 8 + 8 - bits)) & ((1 << bits) - 1)) |
83 | #define RED(x, bits) ((x >> (8 + 8 + 8 - bits)) & ((1 << bits) - 1)) |
84 | #define GREEN(x, bits) ((x >> (8 + 8 - bits)) & ((1 << bits) - 1)) |
84 | #define GREEN(x, bits) ((x >> (8 + 8 - bits)) & ((1 << bits) - 1)) |
85 | #define BLUE(x, bits) ((x >> (8 - bits)) & ((1 << bits) - 1)) |
85 | #define BLUE(x, bits) ((x >> (8 - bits)) & ((1 << bits) - 1)) |
86 | 86 |