forked from PoliEcho-holding-org/kern
Made memory/addresses.h more organised
Also didn't need to add stdio.h to any files so that's good!
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ void putc(char c) {
|
||||
}
|
||||
|
||||
char getc() {
|
||||
char* character = (char*)0x3000;
|
||||
char* character = (char*)0x2100;
|
||||
*character = '\0';
|
||||
while (*character == '\0') { __asm__ volatile ("hlt"); }
|
||||
return *character;
|
||||
|
||||
Reference in New Issue
Block a user