cfenollosa/os-tutorial ? reverse-engineered prompt

Reverse engineered prompt

I want a simple step by step tutorial project that shows how to build a tiny operating system from scratch in small lessons.

Start from a bare boot sector, then move into 32 bit mode, switch from assembly to C, and gradually add things like screen output, keyboard input, interrupts, a basic shell, and a tiny growing libc. Keep each lesson very small and easy to follow, with short readmes and heavily commented code so someone can learn by doing.

Make it something I can run in an emulator, with each folder building on the one before it. I’d like the whole thing to feel like a hands on course, not a big theory heavy textbook, and it should be okay to experiment and break things as I go. If you need to check current setup details or best practices online, feel free to look them up.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab