summaryrefslogtreecommitdiff
path: root/video/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/console.c')
-rw-r--r--video/console.c14
1 files changed, 9 insertions, 5 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);
}
}