commiting for now as i've drawn a blank
This commit is contained in:
parent
159ad1c789
commit
fa048152c9
9
stlio.c
9
stlio.c
@ -30,7 +30,7 @@ u32 write(const char* buffer, const u32 size) {
|
||||
return i;
|
||||
}
|
||||
|
||||
u32 read(const u32 n) {
|
||||
u32 read(char* buf, u32 n) {
|
||||
// read n bytes from keyboard
|
||||
return n;
|
||||
}
|
||||
@ -49,6 +49,11 @@ void printf(const char* fmt) {
|
||||
}
|
||||
}
|
||||
|
||||
void printHex(u32 num) {
|
||||
u8 nibble = 0;
|
||||
char map[15] = "0123456789abcdef";
|
||||
}
|
||||
|
||||
void putch(const char c) {
|
||||
write_char(c);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user