r/osdev • • 8h ago

Got GDT working

5 Upvotes

GDT was something else, it felt so oddly abstract and the explanation that was in the OSDev wiki didn't really hit me but I pushed and got it working


r/osdev • • 22h ago

ToneOS

Thumbnail
reddit.com
0 Upvotes

r/osdev • • 3h ago

Ounce-Core v1.0 release

0 Upvotes

What I've been building: Imagine building a miniature, software version of a modern computer chip (the same kind of ARM64 chip inside iPhones, Macs, and cloud servers) — completely from scratch, in code — so you can run real Linux programs inside it and prove that every single calculation matches a real physical chip down to the last bit.
That's what Ounce-Core is. Instead of just trusting that a simulator "probably works," I built three different engines inside it (a careful step-by-step engine, a faster translator, and a high-speed native compiler) and wired them up to automatically check their answers against real ARM hardware.
Why what I finished today is a big deal:
It runs real everyday Linux programs — including Python. Today I got real, unmodified Ubuntu Linux tools like grep, sed, sort, awk, gzip, tar, git, and Python (running real math, JSON, and cryptography libraries) working inside my own virtual chip and Linux layer. Getting real Python to boot and run inside software you built yourself is a huge milestone.
It passed brutal, industry-standard accuracy tests. It ran Berkeley TestFloat (the gold-standard test for decimal math accuracy — zero errors across 85 test suites), 5.2 billion instructions of a real hashing library (xxHash, 49,948 tests, zero mismatches), and hundreds of tests from real open-source Rust and Arm libraries — matching real hardware bit-for-bit.
I taught it modern chip features and made it twice as fast. I added support for newer ARM chip instructions (including modern vector math used by compilers to speed up heavy loops) and cut the main engine's run time in half on a 3-billion-instruction physics benchmark.
It's officially ready for version 1.0.0. Everything is tested, documented, and locked down into a clean, stable 1.0.0 release — website, docs, and safety checks all green — ready to launch on Monday.
In short: I built a verified virtual computer chip from scratch that can run real Python and Linux programs accurately enough to match physical silicon, and I just got it across the finish line for its 1.0 release.


r/osdev • • 23h ago

Rust?

0 Upvotes

Lately, many people have started using Rust in osdev(and any branch of programming) like fools. Who would use Rust when C is available? It's complete foolish.

Most of these people already know the most about osDev, which is opening Claude AI and saying "make me an OS".