X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=sys1%2Fkern%2Fsrc%2Fcon.h;h=51cb54414d63a2404aba26f65eab9f30c9f2a978;hb=HEAD;hp=9eb776aaa9ae3811ae1d6522645c3a738514a447;hpb=3e2e8a9156d288d230bbcd722bc91c4b3e4b21e1;p=3sys diff --git a/sys1/kern/src/con.h b/sys1/kern/src/con.h index 9eb776a..51cb544 100644 --- a/sys1/kern/src/con.h +++ b/sys1/kern/src/con.h @@ -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_ */