summaryrefslogtreecommitdiff
path: root/video/console.h
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-17 19:43:59 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-17 19:43:59 +0200
commitd98828d08eb1f6c1394f38a1df69c73fef0cfefa (patch)
tree31df37430733c906b235b88c2cfa14d835af4bec /video/console.h
parent29ea3208b004f15dafa48ae29a75ba7f0c093a74 (diff)
working on vt52 and some cleanup
Diffstat (limited to 'video/console.h')
-rw-r--r--video/console.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/video/console.h b/video/console.h
index a89e0f5..819bd8d 100644
--- a/video/console.h
+++ b/video/console.h
@@ -1,8 +1,7 @@
#ifndef CONSOLEINT_H
#define CONSOLEINT_H
-// 80 x 24
-// TODO: implement VT100
+// 80 x 24 ?
#include <stdint.h>
@@ -35,13 +34,7 @@
#define SCR_WHITE 0xf
//autoscroll
-void scr_clear();
-
-
-void scr_nextline();
-void scr_backspace();
-void scr_put_char(char ch,char col);
-void scr_put_string(char *str, char col);
-
+void update_cursor(uint32_t col,uint32_t row);
+void console_put_char(uint8_t c,uint8_t color, uint32_t x, uint32_t y);
#endif