console cursor positioning
[3sys] / sys1 / kern / src / con.h
index 9eb776a..51cb544 100644 (file)
@@ -1,8 +1,18 @@
 #ifndef CON_H_
 #define CON_H_
 
+#include "vga.h"
+
 void con_init(void);
 
+void con_reset(void);
+#define con_setcolor(fg, bg)   vga_setcolor(fg, bg)
+
+void con_setcur(int x, int y);
+void con_getcur(int *x, int *y);
+void con_pushcur(void);
+void con_popcur(void);
+
 void con_putchar(int c);
 
 #endif /* CON_H_ */