aboutsummaryrefslogtreecommitdiff
path: root/drivers/include/tty.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/include/tty.h')
-rw-r--r--drivers/include/tty.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/include/tty.h b/drivers/include/tty.h
new file mode 100644
index 0000000..0e142c6
--- /dev/null
+++ b/drivers/include/tty.h
@@ -0,0 +1,9 @@
+#include <stdint.h>
+
+void tty_init(void);
+void tty_clear(void);
+void tty_set_color(uint8_t);
+uint8_t tty_get_color(void);
+void tty_putchar_at(char ch, uint8_t color, int x, int y);
+void tty_putchar(char ch);
+void tty_puts(const char*);