kern

annotate src/vid.h @ 13:6c9138a87e02

added register dump in panic()
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 23 Feb 2011 00:12:36 +0200
parents ebe5e0e44a9d
children
rev   line source
nuclear@0 1 #ifndef VID_H_
nuclear@0 2 #define VID_H_
nuclear@0 3
nuclear@2 4 #define WIDTH 80
nuclear@2 5 #define HEIGHT 25
nuclear@1 6
nuclear@2 7 /* the standard CGA color palette */
nuclear@1 8 enum {
nuclear@1 9 BLACK,
nuclear@1 10 BLUE,
nuclear@1 11 GREEN,
nuclear@1 12 CYAN,
nuclear@1 13 RED,
nuclear@1 14 MAGENTA,
nuclear@1 15 BROWN,
nuclear@1 16 LTGRAY,
nuclear@1 17 GRAY,
nuclear@1 18 LTBLUE,
nuclear@1 19 LTGREEN,
nuclear@1 20 LTCYAN,
nuclear@1 21 LTRED,
nuclear@1 22 LTMAGENTA,
nuclear@1 23 YELLOW,
nuclear@1 24 WHITE
nuclear@1 25 };
nuclear@1 26
nuclear@2 27 void clear_scr(void);
nuclear@1 28 void set_char(char c, int x, int y, int fg, int bg);
nuclear@2 29 void set_cursor(int x, int y);
nuclear@1 30 void scroll_scr(void);
nuclear@0 31
nuclear@0 32 #endif /* VID_H_ */