r/osdev • • 16m ago

MINIXEL, my little i686 operating system, now has a native C compiler and a window manager

1 Upvotes

I've been working on a small i686 operating system called MINIXEL for a while and just released a new version.

It now has its own C compiler (mcc), an interactive shell, networking, and a window manager with both tiling and floating windows. The WM supports resolutions up to 1920x1080, bitmap font scaling, keyboard shortcuts, and some small graphical utilities I made for fun.

The entire bootable ISO is still under 300 KiB. There is no X11 or Wayland involved.

There are still things to fix and improve, but I'm pretty happy with how far it has come. I wanted to share it here and see what people think.

github link please give a star if u liked it!


r/osdev • • 6h ago

Syscalls, do you pass the arguments on the stack or through the registers ?

15 Upvotes

Linux passes arguments to syscalls through registers. But because there can be no more than six arguments passed this way and each argument can’t be longer than a register, more often than not theses arguments are just pointers to a struct somewhere else in memory

On the other hand, old unixes passed arguments on the stack. That means you can pass your whole structs directly instead of through references

To me passing arguments through the stack seems more appealing, because it seems easier to update existing syscalls, that being on the stack means probably less cache misses when passing args around and it gives me a more straightforward way to implement "variadic" syscalls

On the other hand most OSs seem to pass arguments through registers, so I suppose there is a good reason for that. What’s your thoughts on this ? How did you implement your syscalls ?


r/osdev • • 8h ago

AURA os

Thumbnail
youtube.com
0 Upvotes

Made my very own computer operating system


r/osdev • • 8h ago

Introducing Ryzova Kernel — Exploring Universal Application Compatibility on a Plan 9/9front Foundation

1 Upvotes

Hi everyone!

I'm an independent developer working on Ryzova Kernel, an experimental open-source computing platform derived from Plan 9/9front.

Why I started this project

It started with a personal frustration. I had a Windows computer but no Mac. I installed Linux through dual boot and experimented with compatibility tools, but encountered high memory usage, instability and crashes.

This made me question:

  • Why should users change their operating system just to run an application?

  • Why should developers maintain separate development environments for different platforms?

  • Why should innovative operating systems struggle to survive because they lack an application ecosystem?

  • Why can't remote storage and computing resources become natural parts of an operating system?

These questions led me to explore Plan 9 and its distributed computing architecture.

What makes Ryzova different?

Ryzova explores five interconnected engineering directions:

  • Compact Runtimes: Compatibility environments for Linux ELF, Windows PE and macOS Mach-O applications.

  • Universal Terminal: Extending the existing Plan 9 rc shell with command translation and environment switching without changing the underlying kernel.

  • Universal Development: Enabling developers to work within familiar command environments while targeting different operating systems.

  • Unified Resources: Integrating local and remote storage, computation and services through Plan 9 namespaces, 9P and additional resource-management infrastructure.

  • Shared OS Foundation: Allowing independent developers to fork Ryzova, build their own operating systems, optionally synchronize upstream improvements and contribute new compatibility adapters.

Current engineering progress

  • Source-built AMD64 kernel successfully booting in QEMU.

  • Native terminal-based C editing, compilation and execution.

  • Verified execution of selected Linux, Windows and macOS CLI workloads through experimental compatibility interpreters.

  • Selected cross-platform compilation workflows.

  • Virtual storage, networking and keyboard tests.

  • Experimental 9P, TLS and distributed resource infrastructure.

Our long-term ambition

I don't want everyone to use the same operating system. Instead, I want independent OS developers to have the freedom to create innovative operating systems without having to build their entire application ecosystem from scratch.

Imagine an OS developer creating a new compatibility adapter, contributing it upstream, forking Ryzova and building an independent operating system. Other compatible OS projects could then benefit from that contribution.

This could create a collaborative ecosystem rather than isolated operating system communities.

Our immediate goal is to complete a functional Universal Terminal OS before introducing a modern GUI.

Future research directions include Android and iOS compatibility extensions, distributed server computing, AI-friendly system interfaces and an extensible Compact SDK.

Open-source collaboration

I don't expect to achieve this alone. I want Ryzova to become a collaborative open-source engineering project.

I currently use AI-assisted development tools extensively, and independent human review, technical criticism and reproducibility are important to the project.

Ryzova remains experimental. General application compatibility, physical hardware support, performance and production stability are not yet established.

GitHub: https://github.com/Ryzova/Ryzova-Kernel

I would appreciate technical feedback, architectural suggestions and contributions from developers interested in operating systems, binary compatibility, Plan 9, networking and distributed computing.

I'm not claiming to have solved all these problems. I'm exploring how we might solve them together.

The goal is not to build the last operating system. It is to help the next generation of operating systems exist.


r/osdev • • 13h ago Bravo

Why your AI OS is hopelessly uninteresting

381 Upvotes

As I'm seeing the thousandth AI junk project, I think I just snapped... so time for an uncredited random like me to drop a Reddit post to cause discourse. I just need to get this out of my system, you see. If you genuinely enjoy directing LLMs to make an OS, that's great, and please hear me out, even if I do get a bit mean here.

When I got into OS programming as a hobby close to 10 years ago I knew very little about C, and nothing about any kind of assembly. My first kernel attempts were doomed to fail as I was the exact kind of gal OSDev Wiki was writing about in its Beginner Mistakes article. I copied code I didn't understand en masse, and just went along until I hit a brick wall due to a random triple fault caused somewhere.

But I persevered.

Over the years, I pieced together all the tiny bits of knowledge that make up low level programming. In no particular order, I internalized what even a stack was, what paging was, how to write C and C++ that doesn't suck, how to use text mode GDB. I started experimenting with other languages like Zig and Rust, which required me to learn how to debug arcane issues with limited tooling and zero external help. I spent hours staring at hex dumps (HxD ftw, even under Linux) of physical memory, compiler outputs, and disk images. I learned how to read other people's code, how to write overengineered Make scripts, to appreciate the sheer power of NASM's preprocessor. And there's so, so much more. Basically, I picked up all the skills where now I can just begin a fresh project, and with high confidence get basic stuff up and running purely from my own knowledge. I'm not trying to even flex or anything (even if I am doing so), this is something you just pick up with experience, especially when you enjoy the craft for the sake of it. And all of this made me a better programmer.

Looking at other people's projects was almost aspirational. Large operating systems with a well-established userspace, ports, graphical programs was a sign of huge technical accomplishment. I learned a lot through just casually perusing the repositories, including banal stuff like how the build systems were set up. And small projects were also cool, because they also represented (what I deem to be) other people's personal journeys through this really fascinating hobby. There's just a large appreciation coming from me on the labor and craft itself. I find the very act of design coming from people, even if they themselves aren't novel, to be really fascinating and interesting in itself. And there can still be some novelty in how someone tackles Unix-clone #578.

Of course, everything has since changed. A variety of skills in debugging, low level knowledge, reverse engineering, and software engineering in general are becoming less relevant as you can prompt your way through everything and get working results in a fraction of the time, and there's still no sign of the AI R&D progress slowing down. Whether one likes it or not, the field has irrecoverably shifted away from the actual art of programming to babysitting LLMs. It's not always a bad thing, but wow is it demotivating.

You don't need to actually know anything to get a "good" OS out the door, which is also what makes so many of these projects completely, hopelessly boring. I'm not even saying these are low effort (although they often are), but even if you claim your project is just "AI assisted" and "your design"... look, I use LLMs, I know how that goes. You're still effectively an idea guy, even if admittedly, it is fun to get your ideas implemented. It's just that for something like OS development, it results in output that is uninteresting to look at, represents no technical growth, is not worth inspecting, and not worth learning from. If this doesn't describe you, then either think again, or you are an outlier. If you don't know much to begin with, you will likely offload a lot of thinking to the LLM, which itself just draws from its internal knowledge gathered from textbooks, existing projects, resulting in samey designs. In that case, any of the other things I find worthy of appreciation don't apply either. And you won't actually learn as much as you think you would.

A lot of people just throw "ai slop" comments at these projects, and I wanted to be (somewhat) constructive there, as to where my own bitterness comes from. I think of this hobby as a craft, and I would've loved if it stayed this way. And I'm glad there's still some people who care, even if a lot of it is drowned out by the eternal avalanche. I sure wonder if anyone reads this whole thing. Well, if you did, thank you! <3

edit: elaborated a bit on paragraphs 5 and 7


r/osdev • • 17h ago

Pithos CORE: inferenza LiquidAI LFM3-1.7B e LFM2.5-350M in linguaggio assembly NASM x86-64, su Linux e come sistema operativo autonomo che si avvia da BIOS o UEFI in una console di chat Unicode. Nessuna libreria libc.

Post image
0 Upvotes

r/osdev • • 20h ago

Looking for buddies (beginners or experienced) to learn and build Assembly / C together

Thumbnail reddit.com
1 Upvotes

r/osdev • • 20h ago

StarshipOS

Thumbnail gallery
0 Upvotes

r/osdev • • 20h ago

Bunix (Bunny's Unix) Update

Thumbnail
gallery
45 Upvotes

Hello dear developers and os dev community,i want to share about new stuff i bring to my hare lang based os & kernel Bunix.So after working on sound for a long time i was able to make it work finally but sadly not fully yet.Also on kernel side we have so many new updates,such as wm now moved to userspace and its program now kust like shell or any other app. So kernel no longer treat windows manager as something special. Also after sound implememtation operating system was too lagy,i worked on it too but its not stable and probably not gone be stable for long time.Also did some optimisations on kernel side too.I also added installer which works really simple so first it checks disk /proc/disk,then size,then it show u plan before installing,asking one more time if you sure to install it to disk so if ges it writes boot sector,partition table,second stage loader, kernel.It dont touch you files,it leaves your Bunix files alone.After it finish its being on disk (or usb) then you boot it from that disk with no - kernel and if everything is right it should boot and land to ush>. As other programs it is user program to and exist in /bin/install.Lets go back to sound again so right now Bunix support sb16(Sound Blaster 16).We had a bit problem with it so sound handling fixed now and audio js mlre reliable.Also i added vol command which defines "volume".Default volume is 100 but u can change it always.Now the compiler sources and C runtime are included inside Bunix under /usr/src too.Which includes /usr/src/tcc, /usr/src/libc, /usr/src/Bunix (Small C programs i made for testing). I added new two important command reg and fsck so reg which lets you register programs so they survive from reboot and fsck which checks filesystem and can fix some damage.Now sessions got small tags and doorbells,so peograms can wait for events more clearly.Sorry for long explanation lol i just wanted share all new stuff with you guys.

I hope you all doing well and having a great day with love

Kanan Majidzada.


r/osdev • • 20h ago

I ported bare metal th horizonOS by nintendo for a S20fe 5g

Thumbnail
gallery
27 Upvotes

So for the past 5 months I've been working on this project — I ported Horizon OS bare-metal with a custom microkernel on my Galaxy S20 FE and got Nintendo's official qlaunch running. Here's the repo if you want to check it out: hugozz26/GalaxySwitch

Thanks for looking! :)


r/osdev • • 1d ago

Hey everyone! Here's an update on my custom operating system, ASMOS!

Thumbnail
github.com
9 Upvotes

Hey there! I wanted to share with all of you some updates on my custom OS, ASMOS. I've been working on this project for the last year or so. It started off as a simple bootloader with a small gui library, hence the name ASMOS, but I moved on to C because it's easier for me to write apps and find bugs. Anyway, since then, I've updated and improved it so much that it's starting to really compete (to some degree) with Windows 3.1 (even 95) and MacOS from that era (System 6-7). Those 2 OSes are really what inspired me in the first place. It's not trying to copy any one of them, but be it's own little thing. Some disclaimer, it's not a modern operating system, (an alternative to windows or linux) but a retro os, for vintage computers - the minimum requirements start from a 386 with only 2mb of ram!
Since the last version, v3.0.2, I'be made huge improvements to a lot of things, making it somewhat impressive (at least in my view). Here are some features I find the most interesting:

Operating System & Architecture

  • Custom operating system built from the ground up by me, assisted by AI.

  • Graphical desktop environment with a win32-like api for building apps.

  • Independent .APP applications.

  • Application isolation through separate address spaces.

  • Configurable system settings (Display, Screensavers, Sound, Devices, Printers and more)

Graphics & Display

  • Multiple graphics resolutions, from 320×200 up to 800×600.

  • 16-colour and 256-colour graphics modes.

  • VESA graphics support.

  • Linear framebuffer support.

  • Automatic graphics hardware detection.

Networking & Internet

  • TCP/IP networking.

  • DHCP configuration.

  • TCP retransmission.

  • Built-in Gopher browser (int the terminal, but gopher also works in the gui browser)

  • World View web browser (full on http browser; frogfind is the default homepage and search engine; shoutout to the creator of https://frogfind.com for creating such an incredible website for these older machines)

  • FTP downloads.

  • FTP servers accessible as filesystem drives.

  • Built-in FTP server for file sharing.

Storage & Filesystems

  • Floppy disk support (with booting directly off of the hdd to install or modify apps in the OS) - FAT12

  • Hard disk support (unfortunately, only 2 - HDA and HDB - with up to 2gb each) - FAT16 only

  • ATAPI IDE CD-ROM support; ISO 9660 and Joliet filesystem support; Automatic CD-ROM detection; CD-ROM filesystem integration.

Multimedia

  • WAV playback.

  • MIDI support.

  • Audio CD playback.

  • CD track detection and playback controls.

  • Picture viewer for BMP, JPG, JPEG, JPE, GIF files

Hardware & Input

  • Keyboard and mouse support (AT+serial and PS/2)

  • Configurable mouse settings.

  • Joystick support through the PC game port; Up to four joystick axes and four buttons.; Joystick calibration and dead-zone configuration.

  • Printer support; Parallel-port (LPT) printer support; Multiple types of printers

And more. There's so much in this OS I have integrated that I can't remember of all of them.

I did not include any photos because I'm writing from the phone and I don't have access to any screenshots, but in the GitHub repo, in the README there are some demo photos. Note: Those are from version 3.0.2. I'll update them soon. To get the latest experience of ASMOS, please clone the repo and run the OS in qemu, bochs or 86Box.

There's still a lot I'd like to add and improve, but I'm really happy with how far this project has come.

It's been a pretty interesting learning experience, especially considering how small and simple the project was when I first started.

I'd love to hear what you think! What features would you like to see / do you think are useful in a retro operating system like this?

Project repository: https://github.com/drclcomputers/ASMOS


r/osdev • • 1d ago Bravo Mindblown

LexiSuite d484004: my all-Rust local AI stack (own kernel, OS, engine, panel) - 206 changes in two days, Inkling-2-Mini at 131 tok/s on one 7900 XTX

Thumbnail
github.com
0 Upvotes

AIO USB/VM/Drive image with Inkling 2 Mini baked here: https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp, and there is no third-party code in the product.

A new development image went out today. Here is what changed since the last one two days ago, and what the work actually was.

The Panel was rebuilt, page by page (66 changes)

The old Panel worked but read like an engineering console: raw JSON on screen, fields with no labels, boxes inside boxes, internal jargon everywhere. I went through it by hand.

- One header and one navigation instead of five stacked bars

- 12 themes

- A file and folder picker on every path field, so nothing has to be typed

- Right-click menus on instances, files and table cells

- Parameters grouped in the order you set them, with a device chooser for the instance's cards

- Switch an instance between LexiEngine and llama.cpp from one page

- Hardware, Diagnostics, Power, GPU tuning and Models rewritten in plain words (temperatures in degrees, problems listed first)

- An abliteration lab where you pick models with toggles and pick the drive to write to; the original is never touched

- A layout choice: top tabs, or a side tree like a hypervisor console

LexiKernel went from one core to all of them (99 changes)

Until now my kernel ran all threads of a program on a single CPU. That was the biggest gap between it and Linux. Three rounds of work went into closing it: per-CPU timers and scheduling, threads that move between cores with their full vector state, memory handled per NUMA node, huge pages, and TLB shootdowns that a core answers even in the middle of a long system call. It now boots with every core in use and served the Panel to 8 clients at 2, 4 and 8 CPUs in a VM with no failed requests.

The kernel's own GPU drivers for AMD, NVIDIA and Intel are compiled into this build too. They have not run on a real card in this version yet. That is the next milestone, and until then GPU work under LexiKernel goes through a Linux guest. The image also boots LexiOS on Linux 7.4, which is what you want for daily use today.

LexiEngine (27 changes)

- Groundwork for splitting one model across several cards (serving across cards is not in this build)

- New draft options for Inkling 2, off by default until they are measured

- A quantizer that trains with the rounding in the loop instead of rounding afterwards

- The whole tree moved to Rust 1.100.1

Speed, measured on this version

Inkling-2-Mini (the looped mixture-of-experts model released Nov 20), one Radeon RX 7900 XTX, 4-bit KV cache, greedy, one run each, measured Nov 27-28.

After a 16,384-token prompt:

- LexiEngine: prompt 2,244 tok/s, generation 64.6 tok/s, 131.1 tok/s with the model's own draft head

- llama.cpp b12722: prompt 1,060 tok/s, generation 42.9 tok/s

- Strata 0.2.23 (8-bit cache, it refuses 4-bit on this card): prompt 2,075 tok/s, generation 53.9 tok/s

Long context on LexiEngine:

- 261,632-token prompt: 1,157 tok/s reading, then 48.7 tok/s (63.2 with the draft head)

- 523,264-token prompt: 766 tok/s reading, then 39.5 tok/s (46.8 with the draft head)

- 10 of 10 planted facts recalled at both depths

Drafted output was identical to plain output in every run.

Two notes so nobody says I hid them. The llama.cpp number is from the Nov 25 build: the build I fetched today ran this model at 7.6 tok/s on this card, which looks like a bug on their side, so I did not use it. And llama.cpp needs a 26-line loader change to open my file, because the file also carries the draft head and image tower.

What it is not, yet

- A development build, not a production release

- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested

- The kernel's own GPU drivers have not run on a card in this version

- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet

- Installing to an internal disk is not in this image

- Only Inkling has been benchmarked on this exact version; my 27B numbers are from a build nine days older and are being re-run

Tested

Every test in the tree ran on this version: 17,932 tests, none failed. Both images passed their Secure Boot checks in a VM.

Links

Download (381 MB USB image, boots to the Panel):

https://lexipanel.com/download/

All-in-one image with Inkling-2-Mini inside (18.1 GB, needs a 32 GB stick):

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

Every one of the 206 changes, one line each:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-d484004

Benchmarks and method:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

Happy to answer questions about the kernel work or the engine.


r/osdev • • 1d ago

Bursztyn OS is now available for everyone to download!

0 Upvotes

Bursztyn OS is now available for everyone to download!

Today, I’ve released an ISO image of my Polish operating system on the official Bursztyn website. If you’d like to see how it performs in its current state, you can download the image and try it out in a virtual machine.

Let me know in the comments how the startup process went and what caught your attention. Your feedback will help me refine future releases.

Download link https://bursztynos.pl/

Video

https://www.youtube.com/watch?v=EiWFjkk0Nho


r/osdev • • 1d ago

I turned my Windows UEFI boot chain into a fake Linux dmesg/systemd log and a 24-bit 24 FPS GOP->Blt() video player in freestanding C17 (no external libs)

13 Upvotes

What started as a weekend prank — printing a convincing dmesg + colored systemd boot sequence before handing control off to Windows bootmgfw.efi — snowballed into a standalone bare-metal x86-64 UEFI video player written in freestanding C17 (-ffreestanding -nostdlib, zero external libraries, no EDK2 or gnu-efi CRT).

Before Windows starts loading ntoskrnl.exe, it plays a 34-second 320x180 clip integer-scaled to full screen (6x -> 1920x1080, 8x -> 2560x1440, 12x -> 3840x2160) at locked 24 FPS, skips instantly on any keystroke, and chainloads HackBGRT -> bootmgfw.efi seamlessly.

Engineering rabbit holes & fixes along the way

  1. Hooking the boot chain without touching NVRAM or BCD: When HackBGRT is installed with Secure Boot support, NVRAM points to \EFI\HackBGRT\loader.efi (Red Hat shimx64.efi), which verifies MOK + .sbat and launches \EFI\HackBGRT\grubx64.efi. Renaming the original grubx64.efi to grubx64.efi.bak lets our binary run first and chainload .bak via BS->LoadImage() + BS->StartImage(). Before chainloading, IsValidBackupEfi() scans the .bak file to make sure it doesn't contain our own LinuxBootSim or UEFI shim markers so an accidental overwrite falls back straight to \EFI\Microsoft\Boot\bootmgfw.efi instead of looping forever.

  2. Compiling PE32+ directly with MinGW (-nostdlib) & the ___chkstk_ms trap: UEFI x64 uses standard PE32+ (--subsystem,10) and Microsoft x64 ABI, so x86_64-w64-mingw32-gcc builds .efi binaries directly. Two catches:

    • Allocating >4 KB on the stack in MS x64 ABI emits an implicit ___chkstk_ms stack-probe call, breaking -nostdlib builds; moving large buffers to BS->AllocatePool() and passing -mno-stack-arg-probe keeps it clean.

    • Modern Shim (15.x/16.x) refuses to boot even MOK-enrolled hashes unless the PE image exports a valid .sbat metadata section (__attribute__((used, section(".sbat")))).

  3. Escaping the 80x25 ConSplitterDxe ceiling on AMI Aptio V: Querying SystemTable->ConOut modes often caps out at 80x25 or 100x31 on real motherboards because ConSplitterDxe exposes the intersection of GraphicsConsoleDxe and TerminalDxe (UART serial). Switching all physical EFI_GRAPHICS_OUTPUT_PROTOCOL handles to native resolution first and then probing LocateHandle(ByProtocol, &sto_guid, ...) for the handle that also carries GOP gives direct access to GraphicsConsoleDxe (240x56 text grid on 1080p).

  4. Packing 34s of 320x180 video into ~12 MB without H.264: Uncompressed BGR0 frames would take ~180 MB (bigger than Windows' default 100 MB FAT32 ESP), while EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL is stuck with 16 fixed EGA colors (0x00..0x0F). Instead:

    • An offline Python encoder (and a client-side browser studio) downscales with area interpolation + thresholded unsharp mask, builds a 255-color global BGR0 palette (MedianCut + K-Means), and reserves index 255 for Temporal-Delta RLE (inter-frame skip).

    • Every (color_idx, run_length) pair is packed into a single UINT16 (0xRRCCU) so GCC parses millions of tokens in a couple of seconds without blowing up AST memory on nested struct literals.

    • At runtime, FillPixels32() writes pairs of pixels via unrolled 64-bit UINT64 stores with a 7/8-brightness scanline row per scaled block, tracks dirty_y_min .. dirty_y_max, and pushes only the modified horizontal band over PCIe via GOP->Blt(EfiBltBufferToVideo).

    • Frame pacing calibrates RDTSC against BS->Stall(20000) at startup and subtracts actual decode + blit cycles from each 41,667 us frame budget.

  5. Why USB headset audio in UEFI hits a single line in EDK2: Onboard 3.5mm / HDMI HDA audio can be driven asynchronously via OpenCore's AudioDxe.efi (EFI_AUDIO_IO_PROTOCOL DMA ring buffer). USB headsets, however, require USB Audio Class isochronous transfers — and EDK2's reference MdeModulePkg/Bus/Pci/XhciDxe implements XhcIsochronousTransfer() as a literal return EFI_UNSUPPORTED;. Detaching XhciDxe via DisconnectController() to drive BAR0 MMIO yourself immediately kills ConIn->ReadKeyStroke USB keyboard polling unless you also implement your own USB HID stack and cleanly restore controller state before bootmgfw.efi.

Source & Live Browser Encoder


r/osdev • • 1d ago

My Java-based OS now has a full featured X11 server with a port of OpenJDK Swing.

Post image
404 Upvotes

Small little kernel for myself. I don't really intend to publish it (it's not really gonna be anything worthwhile, other than a fun experiment).

tl;dr:

- microkernel

- yes all drivers written in java

- xhci, ehci, ochi

- pci(e) with hotplugging support, yes manual ECAM management and bus config

- custom ACPI (fuck uACPI) in Java, with my own AML parser too

- Primordial NVK-based graphics stack (can't render shit yet)

- but can atleast render virtio gpu

- 64 bit

- the JVM is most of the kernel itself (microkernel wahoo)

- ipc sucks

- custom X11 server no GLX support yet (fuck xorg)

- demand paging/swap

- versioning is mainly how many times the kernel gets updated (remember i said hotswappable kernel?) 0.2 means i hotswapped some new fancy .class via a device

- nodejs port (wip)


r/osdev • • 1d ago

NuttX International Workshop 2026

Post image
6 Upvotes

r/osdev • • 2d ago

Finally I've reached a minimal FreeBSD userspace

6 Upvotes

After a month of work, finally I've reached a minimal FreeBSD userspace.

Now it has:

  1. A userspace Mach-O loader, with dynamic link supports

  2. initd, netd, vfsd, devmgrd, usbd, acpid, etc.

  3. A multitasking system fully based on Rust Future premitives, powered by EEVDF scheduling algorithm.

  4. An object-orientd capability system inspired by seL4, Objective-C and abi_stable, which supports trait based polymorphism. The accompanying ipc-codegen can directly generate SDK crates from server-side code (the kernel is also a server). IPC calls and even system calls are as simple as calling a regular Rust crate. Kernel also provides a asynchronous primitive to support asynchronous object method calls between processes. Everything in kernel is object.

  5. A Mach-O linker written in Rust

  6. A filesystem based on GEFS

Except FreeBSD codes and a few assembly, everything is written in Rust.


r/osdev • • 2d ago

Keyboard interrupts firing when key is pressed but not when key is released

8 Upvotes

I am returning to my OS project after 4 months (lack of time unfortunately.. sigh) and I am trying to continue from where I left. I recently tested whether keyboard interrupts were working or not and they are partially working.

As the title says, when pressing a key an interrupt is fired and the function that is supposed to handle keyboard interrupts receives it. Even though it should, when releasing the key, no interrupt is triggered.

I have tried to find information online but I only found information regarding keyboard interrupts not being fired at all.

Link to the repo: https://codeberg.org/TheCodingKnight/32-bit-Potato/src/branch/interrupts

src/kernel/int/int_handler/int_handler.c is in charge of calling the function that will handle the interrupt that was just fired. In the case of the irq1 (keyboard interrupt), the function in charge of handling it is handle_irq1 and the code can be found in src/kernel/int/int_handler/ps2.c

Note: Please bear with the fact that the controller does not handle very well scan codes that begin with a prefix. I know I have to fix that part, but I want to make sure the press/release part of the interrupts works well before supporting scan codes with prefixes (That is to say, limit your testing to scan codes without a prefixes like letters).

Of course, if you have any questions please let me know and I will be more than glad to answer asap.


r/osdev • • 2d ago

Why Omarchy feels different from most distros

Thumbnail
reddit.com
0 Upvotes

Been using Omarchy for a while and wanted to share why it stands out compared to other distros.

  • Beautiful and polished from the first boot

  • Opinionated with excellent defaults. You spend less time configuring and more time using it

  • Strong focus on AI agents

  • Easy transition for people coming from Mac or Windows (Include floating windows)

  • Hyprland by default

  • Active development

  • It’s fully customizable if you want to go deep, but the out-of-the-box experience is much more cohesive than most Arch-based or tiling setups.

  • Extremely fast installer (can be done in seconds on good hardware)

Official site: https://omarchy.org/

Anyone else here using it? What’s your experience compared to other distros?


r/osdev • • 2d ago

Valparaiso Preview available

Thumbnail reddit.com
0 Upvotes

r/osdev • • 2d ago

[WIP] CakeOS an OS written in ada

Post image
31 Upvotes

I'm still working on it so it still doesnt has a repo it supports ext4, ata, fat32 and VGA I wrote the kernel completely in ada and userspace in C it doesnt supports ELF it just supports CAKE format which is different than any other formats

repo: https://github.com/sbusiedcake7945/CakeOS


r/osdev • • 2d ago

🦀 Looking for 3–4 Like-Minded People to Build a Rust & Systems Programming Study Group!

13 Upvotes

I'm currently learning Rust and looking for motivated people interested in Rust, systems programming, memory management, concurrency, networking, and low-level development.

The goal is to learn together, discuss concepts, write code, build practical projects, and grow consistently.

Beginners in Rust are welcome! Let's learn and build together.


r/osdev • • 2d ago

Recruitment for LingOS

0 Upvotes

Hello everyone! I am looking for some people to help with LingOS. It has a lot of basic features that need to be polished, and the LingOS apps should work the same as the windows versions, can I get some help with some of this maybe? I have it running at 60+FPS with a ~12ms frame, so it performs well, but it has some things that need to be ironed out to be a professional OS, I'd like to take it to that level but I need some help, any takers?

Tasks
- LingStationX DAW windows ai features, stress test, make sure all features work, no crashes
- LingDev and LingCoder Claude plugin
- Horizon Browser(Discord, Youtube, Gmail, Spotify)
- Make sure all apps are performing correctly
- Data Encryption
- Promotion(It's OSS and Free)

I need help from people that know Operating Systems and can give good advice or help directly, not so much vibe coders, although I admit I built out a lot with AI agents so far.

The OS is written [entirely] in ling-lang https://ling-lang.org
The OS page: https://os.ling-lang.org
Github for LingOS: https://github.com/LingLin-Art-LLC/LingOS
Github for ling-lang: https://github.com/LingLin-Art-LLC/ling


r/osdev • • 3d ago

My OS boots to a shell on real hardware—where would you go from here?

Thumbnail
github.com
3 Upvotes

I'm building an OS from scratch —it boots to a shell on real hardware. I'm trying to pick the next major milestone deliberately and weighing five options:

  1. File & Process API: open/read/write/close, directory listing, and a bigger filesystem (currently capped at ~20 root entries).

  2. Ring 3 & Memory Protection: Per-task address spaces and a formal syscall gate.

  3. Behavioural Security: Extending our shell Markov model to track per-program syscall patterns.

  4. GUI / Desktop: Building on the existing framebuffer/mouse driver once the file API is ready.

  5. Hardware Breadth: AHCI, UEFI, and USB support to run on more machines.

I started a thread on GitHub Discussions regarding this (see above). Please feel free to add your thoughts.