8 BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, LTGREY,
9 GREY, LTBLUE, LTGREEN, LTCYAN, LTRED, LTMAGENTA, YELLOW, WHITE
12 enum { DISP_UNK, DISP_MDA, DISP_CGA, DISP_EGA, DISP_PGA, DISP_MCGA, DISP_VGA };
14 #define DISP_ATTR(fg, bg) (((uint8_t)(bg) << 4) | ((uint8_t)(fg)))
16 extern struct console con_disp;
21 void clear_disp(void);
22 void scroll_disp(int line);
24 void set_cursor(int x, int y);
25 void set_fgcolor(int color);
26 void set_bgcolor(int color);
28 void draw_glyph(int x, int y, int c, int attr);
29 void draw_text(int x, int y, const char *s, int attr);