kern

view src/vid.h @ 77:a6513dc35f04

- started writing disk/ata code - made the debug script rip the commandline arguments out of the run script so I won't have to keep them in sync - added 64bit sized types in klibc/intypes.h - temporarily commented out the processes init from main
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 06 Dec 2011 11:56:08 +0200
parents ebe5e0e44a9d
children
line source
1 #ifndef VID_H_
2 #define VID_H_
4 #define WIDTH 80
5 #define HEIGHT 25
7 /* the standard CGA color palette */
8 enum {
9 BLACK,
10 BLUE,
11 GREEN,
12 CYAN,
13 RED,
14 MAGENTA,
15 BROWN,
16 LTGRAY,
17 GRAY,
18 LTBLUE,
19 LTGREEN,
20 LTCYAN,
21 LTRED,
22 LTMAGENTA,
23 YELLOW,
24 WHITE
25 };
27 void clear_scr(void);
28 void set_char(char c, int x, int y, int fg, int bg);
29 void set_cursor(int x, int y);
30 void scroll_scr(void);
32 #endif /* VID_H_ */