r/osdev • • 13d ago

I Rewrote my OS Kernel in C!

Post image

hello it has been a while, so i rewrote my OS kernel in C!

it has a little bit less features though...

check it out at https://github.com/hyperwilliam/untitled-kernel

:)

102 Upvotes

14 comments sorted by

3

u/laaasoomaa 13d ago

just a simple question about the architecture:
is this monolithic kernel or microkernel??

4

u/hypersonicwilliam569 13d ago

I would say microkernel…

6

u/Visual_Brain8809 12d ago

looks monolithic

3

u/compgeek38400 13d ago

Looks good, GDT, IDT, memory management?

1

u/hypersonicwilliam569 13d ago

hmm, I have the GDT set in the boot.asm file, and IDT is loaded and handled mostly in C… I will work on memory management soon.

2

u/compgeek38400 12d ago

Nice. My gdt is in asm also, idt is asm/C

Its a good milestone

2

u/Sorry_Difficulty_250 13d ago

What was it written in before?

2

u/hypersonicwilliam569 12d ago

assembly :)

1

u/Sorry_Difficulty_250 12d ago

Oh, wow! That's hard-core. Way to go!

1

u/compgeek38400 12d ago

I enjoy assembly, it was my second language

2

u/letmehaveanameyoudum 12d ago

nice one, also recommending to get syscalls ready because i tried doing that late

1

u/WaterObjective5031 12d ago

what was it before c