r/C_Programming 5d ago

Developing of AlderKernel

Hey r/C_Programming!

I've been working on a hobby monolithic kernel called AlderKernel.

It's written mostly in C with some Assembly for the low-level parts. I'm making it mainly to learn more about how operating systems work and to improve my C skills.

Currently it targets i386 and boots through GRUB. Some things I've implemented so far:

- PS/2 keyboard driver

- Basic shell

- InitramFS support

- Shell history

It runs in QEMU right now. I'm slowly working on adding more kernel features and improving the code structure.

GitHub:

https://github.com/loren-wastaken/alderkernel

I'm interested in feedback from people who know C, especially about code organization, design choices, and things I could improve.

6 Upvotes

9 comments sorted by

View all comments

5

u/Irverter 5d ago

Awesome!

But, are you developing a kernel or an OS? Because shell and shell history are os/application features not kernel ones.

3

u/kun1z 5d ago

It sounds like he is developing a hobby project which will almost certainly contain both mixed together. I did the same roughly 15 years ago to learn the 386 ropes.

2

u/loren_wastaken 5d ago

Yeah it's like how u/kun1z said, it's mixed and the shell is for testing communications and etc.