aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/libc/stdio')
-rw-r--r--src/userspace/libc/stdio/getch.c3
-rw-r--r--src/userspace/libc/stdio/putch.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/src/userspace/libc/stdio/getch.c b/src/userspace/libc/stdio/getch.c
index 93d3d00..5f9655a 100644
--- a/src/userspace/libc/stdio/getch.c
+++ b/src/userspace/libc/stdio/getch.c
@@ -65,7 +65,8 @@ char shift_keymap[128] = {
char *getch()
{
// TODO: Add shift support
- u8 scancode = syscall_scancode();
+ // TODO: Implement keyboard dev driver
+ u8 scancode = 42; //syscall_scancode();
if ((scancode & 0x80) == 0) { // Press
return keymap[scancode];
} else { // Release
diff --git a/src/userspace/libc/stdio/putch.c b/src/userspace/libc/stdio/putch.c
index 3bc5a2e..f87680e 100644
--- a/src/userspace/libc/stdio/putch.c
+++ b/src/userspace/libc/stdio/putch.c
@@ -2,6 +2,7 @@
void putch(char ch)
{
- if (ch != 0)
- syscall_putch(ch);
+ // TODO: Implement framebuffer writing
+ //if (ch != 0)
+ //syscall_putch(ch);
} \ No newline at end of file