From d98828d08eb1f6c1394f38a1df69c73fef0cfefa Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sun, 17 May 2015 19:43:59 +0200 Subject: working on vt52 and some cleanup --- video/console.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'video/console.h') 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 @@ -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 -- cgit v1.2.3