summaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/console.c14
-rw-r--r--video/console.h4
2 files changed, 10 insertions, 8 deletions
diff --git a/video/console.c b/video/console.c
index 743aaac..4a04cf1 100644
--- a/video/console.c
+++ b/video/console.c
@@ -66,12 +66,13 @@ void scr_clear()
posx=posy=0;
}
-
+/*
void scr_put_string_nl(char *str)
{
scr_put_string(str);
scr_nextline();
}
+*/
void scr_nextline()
{
@@ -127,7 +128,7 @@ void scr_put_char(char ch,char col)
}
-
+/*
void scr_put_hex(uint16_t val)
{
@@ -142,9 +143,11 @@ void scr_put_hex(uint16_t val)
}
-}
+}
+*/
+/*
void scr_put_hex32(uint32_t val)
{
scr_put_string("[");
@@ -153,12 +156,13 @@ void scr_put_hex32(uint32_t val)
scr_put_hex(val&0xffff);
scr_put_string("]");
}
+*/
-void scr_put_string(char *str)
+void scr_put_string(char *str, char col)
{
while(*str!=0)
{
- scr_put_char(*(str++),SCR_WHITE);
+ scr_put_char(*(str++),col);
}
}
diff --git a/video/console.h b/video/console.h
index 71c3c72..e9eff29 100644
--- a/video/console.h
+++ b/video/console.h
@@ -38,8 +38,6 @@ void scr_clear();
void scr_nextline();
void scr_backspace();
void scr_put_char(char ch,char col);
-void scr_put_string(char *str);
-void scr_put_string_nl(char *str);
-void scr_put_hex(uint16_t val);
+void scr_put_string(char *str, char col);
#endif