IMPLEMENTED printf()!!!!!!!

It's kinda bad :/
This commit is contained in:
2024-05-29 11:35:10 +02:00
parent f4f89dd8ba
commit ed18f4ac4b
6 changed files with 89 additions and 90 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ void sys_write() {
int32_t result = terminalWrite(buf, len); // Call a terminal print function
__asm__ volatile ("movl %0, %%eax" : : "r"(result));
} else { // Not implemented
__asm__ volatile ("movl $1, %eax");
__asm__ volatile ("movl $-1, %eax");
}
}