GoofyOS

GoofyOS

7 devlogs
24h 38m
Created by Nico

A goofy os in rust

Timeline

We got mouse input working! I also found out x86_64 has a faster syscall instruction so I will need to adapt my code to that.

We finally have user processes! This took me so long. The final fix was running kernel code using JUMP instead of just calling the entry point. I'm so happy lol, this feature took me 15h (!).
I also installed Zed editor, it's blazing fast but for some reason didn't it log all my time...

Update attachment

I got the ELF loading to work, but when the program sends the exit syscall, we can't return to kernel mode for some reason. I spent for 3h debugging it, without a result. I even asked Claude (my original plan was no AI 🥺), but that made it worse, so I think I'll just revert all commits...

Update attachment

I tried implementing user processes, but our syscalls always end up with a page fault. I have no idea what I'm doing wrong...

Update attachment

Upgraded the bootloader. This was the most terrible problem in the world, I hate the GDT, but at least we have better graphics now...

Render more shapes than just text!

Completed 11/12 chapters of the blog

Update attachment
Laky2k8 Laky2k8 about 2 months ago
This looks really cool already, congrats :DAre you following some tutorial?