8 BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, LTGREY,
9 GREY, LTBLUE, LTGREEN, LTCYAN, LTRED, LTMAGENTA, YELLOW, WHITE
12 enum { VID_UNK, VID_MDA, VID_CGA, VID_EGA, VID_PGA, VID_MCGA, VID_VGA };
14 #define VID_ATTR(fg, bg) (((uint8_t)(bg) << 4) | ((uint8_t)(fg)))
16 extern struct console con_vid;
22 void vid_clearline(int row);
24 void vid_scroll(int line);
26 void vid_setcursor(int x, int y);
27 void vid_fgcolor(int color);
28 void vid_bgcolor(int color);
30 void vid_glyph(int x, int y, int c, int attr);
31 void vid_text(int x, int y, const char *s, int attr);