Aubrey Li | 26bf7de | 2007-03-19 01:24:52 +0800 | [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 | } SystemCodeType; |
| 19 | |
| 20 | const SystemCodeType SystemCodeMap[4] = { |
| 21 | {0xFF000080, 0xFF00009D}, |
| 22 | {0xFF0000AB, 0xFF0000B6}, |
| 23 | {0xFF0000C7, 0xFF0000DA}, |
| 24 | {0xFF0000EC, 0xFF0000F1} |
| 25 | }; |