diff options
Diffstat (limited to 'src/crt.h')
-rw-r--r-- | src/crt.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.16 2008/03/03 06:04:42 james + * *** empty log message *** + * * Revision 1.15 2008/03/02 10:37:56 james * *** empty log message *** * @@ -102,25 +105,29 @@ #define CRT_COLOR_NORMAL CRT_MAKE_COLOR(CRT_FGCOLOR_NORMAL,CRT_BGCOLOR_NORMAL) -typedef struct __attribute__ ((packed)) { +typedef struct __attribute__ ((packed)) +{ uint32_t chr; uint8_t attr; uint8_t color; } CRT_CA; -typedef struct { +typedef struct +{ int x; int y; } CRT_Pos; -typedef struct { +typedef struct +{ CRT_Pos s; CRT_Pos e; int dir; } CRT_ScrollHint; -typedef struct CRT_struct { +typedef struct CRT_struct +{ CRT_CA screen[CRT_CELS]; CRT_Pos pos; int hide_cursor; |