r/osdev • u/CtrlF0rge • 1h ago
Is the bootloader considered part of the system?
It says that I am building the operating system from scratch, but the bootloader is used limine to relieve me of the load of booting on 3 processor architectures
r/osdev • u/CtrlF0rge • 1h ago
It says that I am building the operating system from scratch, but the bootloader is used limine to relieve me of the load of booting on 3 processor architectures
r/osdev • u/BananymousOsq • 19h ago
I guess it's time for my yearly update again. banan-os is my custom unix-like operating system written completely from scratch (kernel, libc, gui). It has now been a bit over 4 years since I started the project (mid November 2022).
Since the last post I have added some new features, including:
Some of the major features from earlier:
I have not used AI at all for the development, except a few times to find sources or to diagnose issues in large ports.
The source code can be found at https://git.bananymous.com/Bananymous/banan-os or a github mirror at https://github.com/Bananymous/banan-os.
r/osdev • u/Glum-Cook-9438 • 22h ago
Tetris (now also for 64-dem!)!
Footage included.
Repo: https://github.com/itay-insert/64-dem.git
So after working on my command line UI for my 64 operating system, I coded a bunch of user applications that can run on 64-dem, some of the famous ones are:
HELLO.ELF // prints hello world!
CALC.ELF // a basic calculator for the terminal
ClOCK.ELF // a clock
CMD.ELF // the terminal itself
MEM.ELF // allocates array and prints it's address
MEMCONS.ELF // shows important kernel and memory data in a simple text viewer
And later:
WRITE.ELF // a broken text editor i made
And the greatest:
VIM.ELF // a port of vim for my os with AI assistance
But even with vim ported, I decided it's still wasn't enough, so I opened vs code a few days ago and made a bunch of new files:
tetris.cpp
pieces.cpp
graphics.cpp
collision.cpp
And so TETRIS.ELF was born;
And here I wanted to share me testing it...
Can't wait to make DOOM.ELF and CALC2.
r/osdev • u/Plexescor • 17h ago

Hello!
This is my OS called KernOS! Head's up, its not AI-Free.
Anyway So KernOS is really early, i wanted to have my own OS for quite some time in my 16 years of being on earth.
It half-works on bare-metal (the keyboard doesnt work, because PS/2 isnt emulated by my laptop?) but NVMe detection etc works on bare-metal.
I just wanted to share my progress as I've been working on KernOS, like around a month.
Now the AI part, yes i used AI, I dont know how do i define how exactly i used AI, i dont know that but i am sharing something that may help you find out (see below near the links). But I have been trying to not use AI but thats not working so just conclude that I am using AI well i dont even know what point am i trying to make lol!
Also hopefully in future, maybe KernOS could be more than a Hobby OS, but thats too far.
Anyways, i would absolutely appreciate improvements to my OS, good approaches than my current ones.
Links!!!!
https://github.com/plexescor/KernOS
https://www.youtube.com/@Plexescor/videos
EDIT: I forgot to mention its 64-bit only, uses limine and UEFI only
r/osdev • u/letmehaveanameyoudum • 21h ago
rewriten whole kernel 🥀
also got a single xhci driver just for keyboard
and a C compiler that it's binaries implode (fixed later)
needs 6MB of RAM and 24MB of RAM to use the broken C compiler
r/osdev • u/letmehaveanameyoudum • 1d ago
It works, though right now it's timing out (it did work just now)
r/osdev
•
u/Jab-Bonstein
•
1d ago
Disclaimer: This was done with Claude.
Hello r/osdev! Recently I was watching this video from Action Retro about running Mac OS 7 on Intel hardware, and I had the thought if this would be possible with early versions of Mac OS X. After all, Apple had been secretly making internal builds of Mac OS X for years before Tiger.
How it was done:
I got Claude to translate all the apps and system programs to C code ahead of time, then compiled into Intel code. The kernel was open source, so it was compiled with Apple's own source code for Intel. There is zero emulation in this, all code is executed as Intel.
How it was set up:
A 128GB SSD split into two partitions, one Installer partition, and one Installed partition. Currently there are no drivers for the internal drive of any Intel Mac yet, so a partition on the drive for the OS to be installed to was necessary. There is also a small EFI partition that lets you choose between the Installer and the Installed partition. (It's not very visible in the video but the small lines of text before bootup is choosing between the two.
What works:
Booting to the installer, and the installer fully working, installing all the compiled Intel programs as they were PowerPC.
Booting to the installed partition of Cheetah.
What doesn't work:
Disk Utility in the installer.
When booting into the installed partition, the blue screen and cursor appears, but no Setup Assistant yet. I'm working on fixing that.
Macs Tested On:
The 2010 iMac 27" (As shown in the video)
The 2011 Mac Mini
The Late 2011 MacBook Pro
As far as I know, every Mac with a USB 2.0 (EHCI) Controller would boot it, but I don't have a huge arsenal of Macs. The few Intel Macs I have with a USB 3.0 controller only show the Happy Mac face but stop there.
How it runs:
Honestly, it runs pretty well, about as fast a supported OS on that machine would be or faster. It is faster than 10.0 on a G3 and possibly a G4. I haven't ran any benchmarks, but it's pretty snappy. Bootup does take a while though, but ill try to cut that down.
Next steps:
Fix Disk Utility in the Installer.
Get the Setup Assistant to work.
Get to the Desktop.
Add a PPC "Rosetta" so PowerPC apps can still run.
Fix Sound.
Maybe fix Wifi, but that could take a while as every Mac has different Wifi cards.
End Goal:
To get this to run on every Intel Mac released (2006-2020), and maybe branch out into other versions of Mac OS X, like Puma, Jaguar, or Panther.
If you guys want to see a tool released to get this to run on your Mac, tell me! Maybe this can become a tool in the future.
r/osdev • u/letmehaveanameyoudum • 1d ago
Ignore the freaky message
repo: https://github.com/NoTheIdiot/WindogeOS
It somehow wasn't that bad compared to elf and syscalls
r/osdev • u/FewBrief7059 • 2d ago
Hello osdev subreddit !. Samsara is the posix compatible 64 bits "written in rust" monolithic OS/Kernel project of mine that i have posted about not a while ago. Around a month and a half ago to be more specific. In that time i was working on a lot of stuff and i decided to share progress since a lot was being worked on. In that time i have managed to port I3 window manager + implement proper audio drivers for the intel high definition audio controller. As well as i managed to port ALSA. ffmpeg. and the mpv video player. And the thunar file manager too. There's still many many stuff to work on and currently threading is unstable. Thus im working on improving it. As well as working on improving SIMD so ffmpeg can have better performance since its being compiled with minimal flags. Dont have high stakes for it ! If you have any technical questions about this project dont hesitate to comment them below and i will try to read them whenever i have time. All of the port-work will be pushed shortly after this post.
Main Repo: https://gitlab.com/clownkun/Samsara
Port's Tree: https://gitlab.com/clownkun/samsara-ports
r/osdev
•
u/natalialt
•
3d ago
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 • u/moslem-hamoudi • 1d ago









S-AOS v3.2 is my latest major release, bringing the full GUI environment to S-AOS while retaining the existing CLI and TUI systems.
S-AOS is primarily written in x86/x86-64 NASM assembly and includes its own boot process, kernel, drivers, filesystem support, applications, networking stack, and graphical environment.
The TUI provides a full text-based system environment without requiring the graphical desktop.
It provides:
The TUI remains available alongside the GUI rather than being replaced by it.
The GUI is the main new part of v3.2.
S-AOS boots into a graphical environment with a desktop, graphical boot selection, lock screen, menus, applications, mouse interaction, and framebuffer-based rendering.
The desktop provides the main graphical workspace for S-AOS.
It includes:
S-AOS includes a graphical boot menu allowing the available system modes to be selected before entering the operating environment.
The system supports different execution environments including:
The GUI includes a lock screen with persistent user-data handling and password authentication.
The graphical file manager provides access to the FAT32 filesystem from inside the GUI.
It can interact with files and directories stored on the system and uses the underlying S-AOS storage and filesystem code rather than being a mock interface.
S-AOS includes graphical text-editing applications for creating and editing text inside the operating system.
The editor works directly with the S-AOS filesystem and user-data system.
A graphical calculator application is included as part of the desktop environment.
S-AOS includes a graphical drawing application for interacting with the framebuffer through the GUI.
The GUI also provides access to the S-AOS shell, allowing the graphical environment to coexist with the command-based system.
The GUI does not replace the underlying operating-system interface.
System configuration and control functionality is exposed through graphical system interfaces.
Underneath the TUI and GUI, S-AOS contains the core components required to operate the machine.
S-AOS includes Sound Blaster 16 / PC-SB16-compatible audio support, allowing applications such as FreeDoom to use system audio.
S-AOS includes an Intel E1000 network driver and a working networking path through:
E1000 → Ethernet → ARP → IPv4 → DNS → HTTP
The networking system is used by the experimental browser and provides the foundation for higher-level network functionality.
The GUI currently includes several built-in applications and system tools:
S-AOS also contains the XEC application environment with support for 16-bit, 32-bit, and 64-bit application targets.
S-AOS includes an experimental browser/HTML environment.
It currently connects through the S-AOS networking stack and can retrieve and display basic web content using HTTP.
The current path is:
E1000 → Ethernet → ARP → IPv4 → DNS → HTTP → HTML
HTTPS/TLS is planned for future networking work.
FreeDoom is integrated into the S-AOS graphical environment through DoomGeneric.
It uses the S-AOS graphics, input, and audio subsystems rather than simply being a screenshot or mock application.
S-AOS can be tested in QEMU with:
& "C:\Program Files\qemu\qemu-system-x86_64.exe" -m 512M -machine pc -drive file="S-AOS.img",format=raw,if=ide -boot c -action reboot=reset -action shutdown=poweroff -audiodev sdl,id=audio0 -device sb16,audiodev=audio0 -netdev user,id=net0 -device e1000,netdev=net0 -vga std -display sdlS-AOS v3.2 brings the command-line, text-based, and graphical parts of the project together into one operating-system environment, with the GUI now serving as the main user-facing interface while the lower-level system remains accessible underneath it.
Created by Moslem Hamoudi.
Download the os at : https://github.com/moslemhamoudi6-cyber/S-AOS/releases/tag/Gui
The os is still 99.2%Nasm!
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 • u/BraveConference8340 • 2d ago
Nullix is an operating system written entirely from scratch in C. Nullix can run Linux programs using a layer built into the system (in the video, I show launching Telegram in appimage format); the system can also work with Arch/Debian/Ubuntu repositories and applications. In addition, the system has its own application format, NPKG. The system already includes a Wayland compositor, basic commands, and busybox. And most importantly… The system installer weighs 21 MB, and the installed system weighs 18 MB. Nullix is a modular OS; you can remove absolutely everything, and it will continue to work. Minimum system requirements: 50 MB of hard disk space, 28 MB of RAM, and absolutely any x64 processor (yes, unfortunately, but for now the OS only works on x64). The system is in the early development stage; once I bring it to a usable state (I’ll add DE and so on), it will be released.
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.
https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA/tree/main
A new development image went out today, one day after the last one. 92 changes this time. Here is what they are.
Two audits of the whole source
The entire tree, 2.07 million lines of Rust, went through two outside audit rounds of about 100 parts each, through four lenses: security, continuity, compatibility and speed. I then checked the findings rated high by hand against the code, one by one, and fixed what held up: 93 confirmed findings are fixed in this image. Most of this release is that work.
Some of what was closed:
- Root-only routes (system update, disk install, backup recovery) accepted an internal service header in place of the root password. They no longer do.
- The restart export could read another instance's records through a second, unchecked parameter.
- Full model verification saved a changed model's fingerprint before refusing it, so a second load would have accepted it.
- A fresh fleet join code could replace an enrolled box. A replaced remote endpoint kept the API key saved for the old address.
- The engine now checks who owns its key file, and refuses an unusable key list instead of reading it as "no keys".
A more stable platform
- The installer writes the firmware fallback boot file last, verifies the bytes it then uses, and gives two disks installed from one stick different identifiers.
- Uninstall with purge refuses a folder that has a disk mounted under it.
- An answer cut off by the token limit while tools are offered now returns "length" instead of a server error.
- A model load that cannot fit no longer evicts an idle model first.
- The Panel's Secure Boot page hands out the current certificate (the bug named in the last post is fixed). Same certificate as the last image: nothing to enroll again.
Inkling-2-Mini reads long prompts faster
A new attention kernel for prompt processing. At a 262,144-token context a 261,632-token prompt now reads at 1,525.7 tok/s, up from 1,152.7, which is 32% faster. It sums in another order, so its output is not bit for bit the old kernel's: the two pick the same top token on 98.8% of 510 positions. One environment variable brings the old kernel back.
Qwen3.8 Flash-Next gets to its first token sooner
This is the 94 GB mixture-of-experts model served from one 24 GB card. First token after a 64k prompt comes 9% sooner and after a 128k prompt 10% sooner, with identical output.
Tensor parallel (experimental, off by default)
Inkling-2-Mini and Flash-Next can now split their experts across several ranks: several Vulkan devices, or several ranks on one card. It is one toggle in the Panel's New instance form and one engine option. With it off, output is bit for bit as before. With it on, output is deterministic; Flash-Next is bit for bit with two and three ranks on one card, and a 7900 XTX with an RTX 2060 as second rank works with uneven shares.
Speed, measured on this version
One Radeon RX 7900 XTX, one run each, November 30. Old version in brackets.
Inkling-2-Mini, 4-bit cache:
- 16,384-token prompt: reads at 2,471.4 tok/s (2,177.6), generates at 62.9 tok/s (61.2), 137.0 with the model's draft head (132.6)
- 261,632-token prompt: reads at 1,525.7 tok/s (1,152.7), generates at 50.1 tok/s (50.0), 64.9 with the draft head (68.1)
Inkling-2-Mini, 8-bit cache:
- 16,384-token prompt: reads at 2,436.8 tok/s (2,155.7), generates at 61.0 tok/s (61.0), 135.2 with the draft head (131.6)
- 261,632-token prompt: reads at 1,483.8 tok/s (1,140.4), generates at 43.7 tok/s (43.4)
Qwen3.8 Flash-Next at a 262,144-token context, time to first token:
- after a 16k prompt: 37.5 s (36.4)
- after a 64k prompt: 132.2 s (145.3)
- after a 128k prompt: 266.7 s (295.8)
- after a 256k prompt: 559.6 s (new row)
Qwen3.8 Flash-Next, generation:
- after a 16k prompt: 6.90 tok/s (7.64)
- after a 64k prompt: 12.73 tok/s (12.49)
- after a 128k prompt: 9.54 tok/s (9.56)
Things I am not hiding:
- Flash-Next gained nothing at a 16k prompt, and its generation there came out lower than last time (6.90 against 7.64). Both are single runs; I have not measured it enough to say whether that is real.
- Drafted generation on Inkling after the 262k prompt was 64.9 tok/s against 68.1 last time. Drafted speed follows how many drafts the prompt lets through.
- Tensor parallel is not benchmarked on a machine with two fast cards: I do not have one. On a single card it is slower than one rank, because rows cross through system memory. It is there so people with the hardware can use it and tell me.
- I did not re-run llama.cpp and Strata on this version. The comparison tables on the benchmark page are from version d484004 (November 27 to 28) and say so.
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 real card in this version; the Linux boot entry is the one for daily use
- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet
Tested
Every test in the tree ran on this version: 17,997 tests, none failed. Both images passed nine Secure Boot checks in a VM, and the plain image passed an 18-step install to a disk.
Links
Download (960 MB USB image, boots to the Panel):
https://lexipanel.com/download/
All-in-one image with Inkling-2-Mini inside (18.7 GB, needs a 32 GB stick):
https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA
All 92 changes, one line each:
https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-2922c5c
Benchmarks and method:
https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks
Happy to answer questions about the audits, tensor parallel or the engine.
r/osdev • u/Odd_Doughnut4592 • 1d ago
Hi everyone,
I've been working on a mobile Linux OS called OpenWave for a while, and it's finally in good enough shape to show people who care about this stuff.
First, what it isn't. It's not an Android ROM, it's not based on AOSP, and it's not a launcher. It's a Linux system with its own userspace: its own shell, app lifecycle, permission system and deployment tooling. Android apps run through Waydroid, but Android is a guest here. Native apps don't need it at all.
Right now it boots and runs in QEMU (x86-64 and ARM64). It's experimental, so please don't think of it as something you can daily drive. Booting on an actual phone is the biggest thing still missing.
Linux kernel, C/C++, Qt and Qt Quick for the shell, Wayland, WPE WebKit for the browser, D-Bus for IPC, LLVM/Clang, and RPM for packaging. For isolation I'm layering SELinux, Landlock, bubblewrap/namespaces, seccomp and cgroups. The filesystem has its own layout too: /System, /Applications and /Data.
I didn't want the shell to do everything, so the system is split into small services with clear jobs:
Notifications and media services come next.
When you tap an app, the launcher asks appd to start it. appd checks permissions with permissiond (which may ask you through promptd), builds the sandbox, and starts the process with the shared system libraries, its own private data directory and a Wayland connection.
The security model is the part I care about most, but I'll be honest that it isn't fully wired up yet. The pieces exist, and how much of the system they actually enforce on is still in progress.
Ocean is the graphical environment, written in Qt Quick and designed for touch from the start, not a desktop shell squeezed onto a phone. So far it has a launcher and app drawer, Wayland composition, app switching, gesture navigation, system dialogs and an integrated Settings app.
I'm using Waydroid with customized Android 13 images, but I didn't want it to feel like a separate Android desktop in a window. I've removed the status bar and replaced navigation with a single back button. Android apps launch through OpenWave's own launcher, on top of binder/binderfs and LXC.
Aurora Store, NewPipe and F-droid already run. The milestone I'm happiest with is getting the Android container running under SELinux enforcing, in its own security domain.
I currently have my own build infrastructure. I'm also evaluating OpenEmbedded/BitBake for reproducible builds, cross-compiling, RPM generation, incremental builds and board support. Android keeps its own separate build.
Working in a VM: boot, the Qt Quick shell, launching native apps, Settings, Files, WPE-based browsing, the Android container, Android apps, and Android under SELinux enforcement.
Not done: real phone hardware, telephony, camera, power management, hardware acceleration on target devices, and proper security validation.
Next up: stabilizing the userspace, finishing the staged app lifecycle, full native app sandboxing, a package repository, deeper Android integration, notifications and media, polishing Ocean, ARM64 phone bring-up, telephony, and automated QA and security regression tests.
OpenWave is independently developed so far, and I'd love feedback, testing and contributions, especially from people who know:
I'll use this thread as a dev journal, with screenshots, milestones and test builds as they come.
GitHub: https://github.com/bayar17/OpenWave
Thanks for reading. Questions and criticism are welcome.
r/osdev • u/KananMajidzada • 3d ago
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 • u/Hugozz26 • 3d ago
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! :)
MINIXEL is a small Unix-inspired operating system for i686, built around simplicity and transparency. The main idea is to make an operating system that you can actually understand instead of treating it as a black box. I took inspiration from the Unix philosophy, BSD, Plan 9's everything is a file approach and the KISS principle.
One of the main goals is to make things like processes, memory, hardware and kernel activity inspectable through ordinary files and simple commands. I want users to be able to understand what their system is doing without needing complicated external tools.
The current release has its own kernel, interactive shell, filesystem, TCP/IP networking, native C compiler (mcc) and a window manager that supports both tiling and floating windows. It also has dynamic resolutions up to 1920x1080, bitmap font scaling, desktop customization and a few small graphical utilities.
The entire bootable ISO is still under 300 KiB. I'm trying to keep the code readable, the system lightweight and the dependencies minimal. Adding more features isn't always the goal. Sometimes making existing things simpler and more reliable matters more.
It's still experimental, but I'm interested in how far this approach can go. Any feedback or criticism is welcome.
https://github.com/odxnoj-sh/minixel
If you find the project interesting, a star on GitHub would be appreciated! :3
r/osdev • u/Living_Ship_5783 • 4d ago
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 • u/vahmoh25 • 2d ago
Hey everyone,
VedaOS now has an agentic mode for those who want to focus on their work and let an agent handle the tasks.
Desktop mode is still available as well.
Give it a try and let me know what you think or if you have any suggestions for improvement!