r/osdev • • Jan 13 '25 Helpful Thanks

MY FIRST OS WITH A GUI! IM SO HAPPY!!!

4.9k Upvotes

r/osdev • • Mar 06 '26

Getting ready for my last term as an undergrad

Post image
1.5k Upvotes

Doing a 1:1 independent study on OS internals with one of my favorite instructors. Prep CAN be fun 😊


r/osdev • • May 03 '26

Let's go back to reading OS Dev books instead of using an LLM

Thumbnail
gallery
1.3k Upvotes

I guess we're posting books now. Here's my copy of the OG MINIX Text Book!


r/osdev • • Jul 20 '25

Apparently my OS is generated by AI guys....

Post image
1.2k Upvotes

r/osdev • • May 10 '25

yeah reality hits hard

Post image
1.2k Upvotes

r/osdev • • Aug 11 '25

Got my OS running on real hardware!

Post image
1.1k Upvotes

This is on the DC-ROMA RISC-V Framework 13 laptop, running through U-Boot. It's not much yet, but getting the screen to work (without major artifacts) has been a big issue, which I'm glad I've resolved.

Source is here: https://github.com/Haggion/kernel


r/osdev • • Dec 09 '25

My first os running on real hardware

Post image
1.0k Upvotes

The drivers are loaded as modules from a ext4 drive and the shell is running as a binary also on the drive


r/osdev • • Sep 04 '26 Bravo

Finished making my own OS

Post image
997 Upvotes

This is my operating system I made. Please look over the single 50k line commit.

The code is github.com/claudeAIgeneratedOS

NO I DID NOT USE AI.


r/osdev • • Nov 16 '25

C running on my 16 bit operating system.

Post image
917 Upvotes

Hi
After 3 months of developing huesos (read in russian), i succesfully launched C on it.

Currently still working on the api, but most of the kernel services are already ported, and even small vga control is provided.

Check this out!


r/osdev • • Mar 16 '26

Minecraft and KDE Plasma running on my hobby kernel, Fishix

Post image
879 Upvotes

hello everyone!

this is Fishix, a hobby kernel i am writing from scratch in C++. its highly binary compatible with Linux, capable of running many things like xorg, kde plasma (and the many kde apps), minecraft and factorio. in the photo its running the Void Linux distro from an initramfs

i just wrote drivers for xHCI and USB HID, which allowed me to finally use keyboard and mouse on real hardware

minecraft runs pretty stable and smooth (usually >60 fps) in the default window size with minimum render distance, as long as the kde compositor is disabled. which is pretty good since this is just single core software rendering with mesa llvmpipe (multi core support is work in progress)

i have been working on this project every now and then for more than 4 years now (6 years if you count previous attempts) though i only recently started making good progress

source code and more info on github: https://github.com/tunis4/Fishix


r/osdev • • Nov 03 '25

Running Minecraft on my hobby OS (Astral)

Post image
762 Upvotes

Hello, r/osdev!

Ever since I started working on my operating system, Astral, I have always wanted to be able to play cool games in it. I already had Doom, Quake and Ace of Penguins ported, but that didn't feel like enough. A few days ago, I started working towards a very ambitious project: getting Minecraft working on Astral.

This is a very old version (Alpha 1.2.0) and some performance improvements are needed, but it does work. All of the game's mechanics work fine and things like saving and loading a world work perfectly as well. Here is a link for a video of the game running.

Check out this blog post if you are interested in the more technical details.

About Astral: Astral is my toy unix-like operating system written in C. Notable features include:

  • Preemptible SMP kernel

  • Networking

  • Over 150 ports (including X.org, GCC, QEMU, OpenJDK17) with package management (XBPS)

  • Nearly fully self-hosting

Links: Website Github


r/osdev • • 13d ago

My classmate drew Saddam Hussein spot bit by bit in his own OS

Post image
714 Upvotes

His EFI has 186 lines of code written in C, and its a zero ring.

He also has its own just in time and ahead of time compilers, and handful of commands, including cat, edit, and also simple dhcp, only udp still


r/osdev • • Aug 21 '25

I designed an assembly language, built a compiler for my own high-level language, and now I'm writing an OS on top of it.

Thumbnail
gallery
711 Upvotes

I've been working on Triton-64, a 64-bit virtual machine I built in Java to better understand how computers and compilers actually work. It started as a small 32-bit CPU emulator, but it slowly grew into a full system:

  • Custom 64-bit RISC architecture (32 registers, fixed 32-bit instructions)

  • Assembler with pseudo-instructions (like `LDI64`, `PUSH`, `POP`, and `JMP label`)

  • Memory-mapped I/O (keyboard input, framebuffer, etc.)

  • Bootable ROM system

  • A high-level language called Triton-C (how original) and a compiler that turns it into assembly with:

    • Custom malloc / free implementations + a small stdlib (memory, string and console)

    • Structs and pointers

    • Inferred or explicit typing / casting

  • Framebuffer that can display pixels or text

I'm wondering if I should refactor the compiler to have an IR (right now I'm translating directly to ASM) but that'd take a very long time. Also right now the compiler has a macro so you can declare strings directly (it calls malloc for you and then sets the memory to a byte array) but I don't really have a linker so you'd always have to provide a malloc implementation (right now im just pasting the stdlibs in front of any code you write before compiling so you always have a malloc and free) I'd like to know what you think about this.

I’m also trying to write a minimal OS for it. I’ve never done anything like that before, so honestly, I’m a bit out of my depth. I've started with a small shell / CLI which can run some commands, but before starting with different processes, stacks and memory seperation I'd like to hear some feedback:

  • Are there changes I should consider in the VM / Tri-C compiler to make OS development easier?

  • Anything missing that would help with the actual OS?

  • Any resources or projects you’d recommend studying?

I’m trying to keep things simple but not limit myself too early.

Github: https://github.com/LPC4/Triton-64

Thanks for reading, any thoughts are welcome.


r/osdev • • Apr 18 '25

Me making my first kernel after following the bare bones tutorial

Post image
683 Upvotes

r/osdev • • Jan 31 '25

I finally got a working version of my OS!

Post image
634 Upvotes

after years of researching and trial amd error, it works! this version is an outdated photo, but its cool!


r/osdev • • Aug 18 '25

I'm excited to share tinyOS, a 64-bit OS I built from scratch

626 Upvotes

Hey r/osdev!

I've been a longtime lurker here, and I'm finally ready to share my hobby project: tinyOS.

It's a complete 64-bit operating system with a custom bootloader, kernel, and shell, written entirely in C (clang) and Assembly (NASM).

The project has been a huge learning experience, and I've implemented some of the core features:

  • A custom bootloader that goes from 16-bit real mode all the way to 64-bit long mode.

  • A monolithic kernel with a bitmap-based PMM, 4-level paging, and a simple heap allocator.

  • A round-robin scheduler that you can see in action with the live clock and rotating animation running as separate tasks.

  • An interactive shell with a few basic commands to poke around.

I've learned so much from this community, and I'd love to hear any feedback or answer any questions you have. Thanks for checking it out!


r/osdev • • Feb 21 '26

Title

Post image
624 Upvotes

r/osdev • • May 06 '26 WOW

C# (with dotnet) on bare metal, a Cosmos gen3 preview

614 Upvotes

r/osdev • • 10d ago Bravo

OH GOD NO

Post image
547 Upvotes

Started working on USB drivers for my hobby 64-bit OS, and oh god no little did I know what have I gotten myself into....

Wish me luck...

My OS project: https://github.com/itay-insert/64-dem.git


r/osdev • • May 03 '26

Just started reading this book

Post image
517 Upvotes

r/osdev • • Sep 27 '26

My hobby kernel can run Minecraft and OpenJDK17 (Ethereal)

Post image
508 Upvotes

This was a pain. To get any amount of good FPS I had to patch in a range cache for my garbage VMM and then fixup a few TLB shootdown hotspots.

Works though.

https://github.com/sasdallas/Ethereal


r/osdev • • Dec 24 '25

I ported Super Mario Bros into a native x86 "Operating System"

505 Upvotes

Hey everyone! i was inspired by a video about tetris on bare metal so i ported the NES's Super Mario Bros to PC by statically recompiling the 6502 Assembly code into native code,
it boots into x86 protected mode and it supports ps/2 keyboards as input and VESA 101h mode as display
also added experimental support for Square 2 channels to PC Speaker as sound

I will make a video soon on youtube about the entire project :)
let me know of what you think about this

Currently, i'm having issues with Emulated USB Keyboards as it shuts down after a few seconds, but i don't feel like i want to write USB HID drivers for this


r/osdev • • Jul 10 '26 Bravo

My custom x86-64 operating system runs on real hardware, no AI bullshit

Post image
492 Upvotes

Here's the source code on github: https://github.com/itay-insert/64-dem.git


r/osdev • • Feb 24 '25

Custom x86-32bit C compiler working on my OS! (RetrOS-32)

481 Upvotes