diff options
Diffstat (limited to 'src/init/main.c')
-rw-r--r-- | src/init/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c index 2fe17eb..ba5fdcd 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -26,6 +26,12 @@ int main(void) { if (__tty_fd < 0) _syscall_exit(1); + // change screen color + handle_t vga = _syscall_open(argify("/vga")); + for (int i = 1; i < 80*25*2; i += 2) + _syscall_write(vga, "\x4f", 1, i); + _syscall_close(vga); + fs_prep(); shell_loop(); |