From 282dd8cb3d75eb9d7ca4aa8d252a990ec2d16742 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Tue, 12 Apr 2011 23:29:28 +0200 Subject: [PATCH] added monitor --- monitor/term.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 monitor/term.h diff --git a/monitor/term.h b/monitor/term.h new file mode 100644 index 00000000..818fbc0a --- /dev/null +++ b/monitor/term.h @@ -0,0 +1,17 @@ +#ifndef __TERM_H +#define __TERM_H + +#define C_DIM 0x80 +#define C_WHITE 7 + +#define C_GREY (C_WHITE | C_DIM) + +#define C_RED 1 +#define C_GREEN 2 +#define C_BLUE 4 + +void cprintf(int color, const char *fmt, ...); +void pcprintf(int row, int col, int color, const char *fmt, ...); +void term_clear(); + +#endif \ No newline at end of file -- 2.18.1