Mike Frysinger | fee531e | 2008-04-18 20:44:11 -0400 | [diff] [blame] | 1 | #include <video_logo.h> |
| 2 | #define write_dest_byte(val) {*dest++=val;} |
| 3 | #define BLACK (0x01800180) /* black pixel pattern */ |
| 4 | #define BLUE (0x296E29F0) /* blue pixel pattern */ |
| 5 | #define RED (0x51F0515A) /* red pixel pattern */ |
| 6 | #define MAGENTA (0x6ADE6ACA) /* magenta pixel pattern */ |
| 7 | #define GREEN (0x91229136) /* green pixel pattern */ |
| 8 | #define CYAN (0xAA10AAA6) /* cyan pixel pattern */ |
| 9 | #define YELLOW (0xD292D210) /* yellow pixel pattern */ |
| 10 | #define WHITE (0xFE80FE80) /* white pixel pattern */ |
| 11 | |
Mike Frysinger | fee531e | 2008-04-18 20:44:11 -0400 | [diff] [blame] | 12 | typedef struct { |
| 13 | unsigned int sav; |
| 14 | unsigned int eav; |
| 15 | } system_code_type; |
| 16 | |
| 17 | const system_code_type system_code_map[] = { |
| 18 | { 0xFF000080, 0xFF00009D }, |
| 19 | { 0xFF0000AB, 0xFF0000B6 }, |
| 20 | { 0xFF0000C7, 0xFF0000DA }, |
| 21 | { 0xFF0000EC, 0xFF0000F1 }, |
| 22 | }; |