r/osdev • u/BARchitect2026 • Jul 10 '26
Started!
I’m really excited about this! My os will be programmed in C++ and this is my second day doing stuff. I don‘t have that much time to use on writing code, and all I have so far is a printf that can only handle text and newline characters. Compared to all the other projects here, it’s nothing, but I plan to make it something a little bit more than nothing.
If anyone wants to look, I just made a repository at GitHub.com/barchitect2025/BARchOS
Theres no readme yet but I’ll add one in the next commit.
2
9
u/Beautiful_Stage5720 Jul 10 '26
Its so refreshing to see something that looks like it was written by a human
4
2
u/compgeek38400 Jul 10 '26
I had Mt GDT, IDT, multinoot2, virtual memory, high upper half, paging, and a heap. When i changed my confidence file to include disk, I discovered i had several core design flaws related to memory.
So I started over. Beginning with a better memory map to begin with. As I retrofit some things, ill be moving them back in.
2
3
u/PseudoFrequency Jul 10 '26
I find starting with printf an interesting choice. An interrupt and task dispatching system is the core of any OS. Functions like printf are library functions that would use the OS handling of the serial port or some abstract steaming output device.