Hi, im a newbie in systems programming and want to make an os in zig. How can i get started. Any Suggestions?
Welcome to Ziggit, @Wanderer_142!
If you are new to systems programming, I would recommend Ziglings to get started with Zig and some of the lower level concepts.
If you want to jump into OS dev, I’ll warn you that it is a big leap. OS stuff can be overwhelming. One that I can suggest is @kristoff did a series on an OS in 1000 lines with Zig. GitHub - kristoff-it/kristos: A minimal OS implemented following "Operating system in 1000 lines of code"
That should give a start. There are some othe hobby os projects in Zig, but I don’t know them off the top of my head.
Here is a list, though I’ll need to go through and check to see what is still good as it’s a little old.
If you’re new to OS development, it can be rewarding to start with programming on the bare metal and build up from there, adding more complex features as you learn.
Here’s a tutorial for a bare-bones x86 kernel which can boot in QEMU Zig Bare Bones - OSDev Wiki
Thanks everyone
Another suggestion I’ve heard quite a bit (but haven’t personally tried) is to try making your own Gameboy emulator