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:
2024-05-28 17:43:07 +02:00
parent ff07696dc6
commit 74c38342d7
6 changed files with 37 additions and 32 deletions
+1 -1
View File
@@ -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;