1 /* ======================================================================= */
3 /* ======================================================================= */
5 // This stuff is entirely non-portable MSDOS-ish code. Note the hardware
6 // address below, for the standard location of the EGA video buffer.
12 BLACK, /* dark colors */
20 DARKGRAY, /* light colors */
31 #define SCREEN_FP(x,y) \
32 ((char far *) (0xB8000000L | ((unsigned) (160 * (y) + 2 * (x)))))
33 #define SCREEN_START SCREEN_FP(0, 0)
35 void goto_xy(unsigned char x, unsigned char y);
36 void hide_cursor(void);
37 void cursor_position(void);
38 void clear_screen(void);
39 void write_xyc(int x, int y, char c);