Mike Frysinger | 93fd13a | 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 | |
| 12 | #define true 1 |
| 13 | #define false 0 |
| 14 | |
| 15 | typedef struct { |
| 16 | unsigned int sav; |
| 17 | unsigned int eav; |
| 18 | } system_code_type; |
| 19 | |
| 20 | const system_code_type system_code_map[] = { |
| 21 | { 0xFF000080, 0xFF00009D }, |
| 22 | { 0xFF0000AB, 0xFF0000B6 }, |
| 23 | { 0xFF0000C7, 0xFF0000DA }, |
| 24 | { 0xFF0000EC, 0xFF0000F1 }, |
| 25 | }; |