syscalls: make use of stderr and fix chdir syscall return value

This commit is contained in:
2025-07-18 22:43:34 +03:00
parent 3ae26ed88a
commit 992d82c6d4
3 changed files with 21 additions and 1 deletions
+5
View File
@@ -36,6 +36,11 @@ void terminal_setcolor(uint8_t color)
terminal_color = color;
}
uint8_t terminal_getcolor()
{
return terminal_color;
}
void terminal_putentryat(char c, uint8_t color, size_t x, size_t y)
{
const size_t index = y * VGA_WIDTH + x;