Rev 8818 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8818 | Rev 9766 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | 3 | ||
Line 4... | Line 4... | ||
4 | #include |
4 | #include |
5 | 5 | ||
- | 6 | int main() |
|
6 | int main() |
7 | { |
7 | { |
8 | if (con_init()) |
Line 8... | Line 9... | ||
8 | if(con_init()) return 1; // init fail |
9 | return 1; // init fail |
Line 9... | Line 10... | ||
9 | (*con_set_title)("Console colors"); |
10 | (*con_set_tsitle)("Console colors"); |
10 | 11 | ||
11 | // con_write_asciiz("\033[0;31;42m test \n"); // red on green bk |
12 | // con_write_asciiz("\033[0;31;42m test \n"); // red on green bk |
12 | 13 | ||
13 | for(int i = 30; i < 48; i++){ |
14 | for (int i = 30; i < 48; i++) { |
Line 14... | Line 15... | ||
14 | (*con_printf)("\033[%dmColor 0x%02X: ", i, i); |
15 | (*con_printf)("\033[%dmColor 0x%02X: ", i, i); |