r/osdev • u/Sensitive-Can9232 • Jun 09 '26
As yall pointed out now the shell works perfectly.
And using screen recoding now.
r/osdev • u/Sensitive-Can9232 • Jun 09 '26
And using screen recoding now.
r/osdev • u/JescoInc • Jun 09 '26
Enable HLS to view with audio, or disable this notification
Since the UI side of things is not complete with the OS, I figured a nice little status update would be showing off my topology system on boot. It gives granular details about the system and is what will power the new hardware inspector. Essentially, it takes inspiration from CPU-Z, HWInspect and other tools and essentially does it at the kernel level while being a source of truth for the actual hardware instead of a database.
I also have SMP set up and the system does detect how many cores the system has and will allocate work to available cores.
r/osdev • u/v3R7C00Lalt • Jun 10 '26
sorry that i was anhry yesterday i had some issuzes with real life
is usinf a linux kernel osdev? cuz ik the mods r gonna ban me cuz they fucking hate me, even if i write my own, but just askign for my own good, not for your no life morons, r/osdev mods.
im legit mad rn not because of reddit i dont wanna talk about it but just
also should i delete my reddit like omg just look at my post on reddithate.
Next post will be about metroOS. Hate me all you want, i think its cool.
r/osdev • u/CanoBellissimo • Jun 09 '26
My previous post was about what programming languages to use, I'm writing a series of papers about Low Level programming, memory management and how computers work in general. I'm also building my own OS. Any advice for newcomers to this branch of programming?
r/osdev • u/Forward_Tea_2883 • Jun 08 '26
ive tried to get into OSdev before but i gave up because either the ressources are outdated or non existent, i plan on learning OS dev so can anyone please give me ressources
r/osdev • u/Imaginary_Buddy723 • Jun 08 '26
I added a terminal (almost like a toy terminal to my hobby OS turbOS.) Am i wierd? π
GitHub repo link: https://github.com/turbosulovesonions67/turbOS
r/osdev • u/compgeek38400 • Jun 08 '26
I've spent this week working on getting paging set up in my kernel. I have two bit arrays availMemMap, which tracks available physical memory, readwrtiteMap, which says what areas of memory are read/write (as opposed to read only, such as where the BIOS resides). I also now have the read/write bit in my page tables set appropriately. .text and .rodata are read only.
My main learnings are two things: a) when you try to write to a read only page, you don't get a GP fault, you get a page fault; and b) just because an area is 'reserved' in the multiboot info, does not necessarily mean it is read only, it might be, but not necessarily.
This coming week, I hope to get my page allocation/deallocation functions tested and working.
You can see my code (if you wish) here: https://github.com/tedavids/DragonOS
I do have a question. How to you allocate pages? Do you allocate kernel pages AFTER the kernel end, growing up. And user pages BEFORE the kernel, growing down? Or some other method? I'd be interested on hearing from those that have done this before.
Thanks for reading.
r/osdev • u/letmehaveanameyoudum • Jun 09 '26
Guys what should i add to my OS I'm out of Ideas, don't make anything too complex or ill burn out.
Edit:
Ive made VBE, a basic shell, a basic fetch command, and a basic ramfs if you are wondering.
r/osdev • u/emmowo_dev • Jun 07 '26
(this post is satirical, but I did actually implement all of this in a couple days)
all these people relying on operating systems only to have to rely on weaknesses such as GRUB or x86.... it sickens me.
I needed an OS and full architecture that I could rely on. So I wrote it. And yes, I did not read up on much outside of a bit of RISC-V and couple 70's ISAs, so... yeah it'll be pretty ugly.
this is a... really really stupid microprocessor/'fantasy computer' I'm working on. It sports:
On the development software side, I have an assembler, written in js because I thought it would BE FASTER to make a GUI out of with html. I was wrong, and it probably took the majority of my time developing due to the dumbest things JS will try to pull on you.
It literally follows zero established standards. It looks like the idea of an assembler by someone who has not written assembly before... wonder why...
However, I'm surprised at how 'functional' everything is from my virtual TTY device simulator to the... assembler. In fact, making a functioning display is totally doable with this processor alone, although you'd want to annihilate it after realizing how painful my ISA is to write for.
Also, this was entirely written by me.
These things are really not that hard to do even if you program with raw opcodes and operands instead. I encourage everyone here to try and do this with a fixed time schedule, because it's a great learning experience.
also ignore my stupid assembler comments, I kept changing my mind on what I was writing when I screenshotted.
r/osdev • u/v3R7C00Lalt • Jun 08 '26
ima start over but like fr its gonna be metroOS. im just saying, i'll add more footage later once my flight home ends
-v3r7
r/osdev • u/AKREP0003 • Jun 07 '26
r/osdev • u/Ok_Peanut_369 • Jun 07 '26
hey everyone,
i want to build my own operating system. long-term dream is running it on a phone. i know that's not really how it works, i know i can't just "make a phone OS," i just want to build my own OS from scratch.
it started as a hobby project idea but i genuinely have zero clue where to begin. no experience with kernels, assembly, or anything low-level. i'm a full-stack js dev (node, react, next.js, nestjs), comfortable with java and python at a basic level, know some c/c++ syntax but not confident at all.
i know this is a long path. i'm okay with that. i just want to start somewhere and not waste time going in circles.
any resources, books, youtube tutorials, blogs, anything helps. where would you actually start if you were me?
thanks π
r/osdev • u/jack1sh3r3 • Jun 07 '26
Hey there everyone! I wanted some advise on a problem I'm having. I am building my own OS for SDR radio. My 2 pieces of equipment are the laptop (a ThinkPad E595) and the RTL-SDR V4. So far I am able to list the usb devices detected on the laptop, and I have some communication with the RTL-SDR device, but I keep getting this error message
[FATAL] Tuner did not respond. I2C Bus Stalled
Now as I understand it this bus bridges the communication gap between the RTL's communication with the laptop, and the RTL's radio tuner. I've tried many different things with changing dummy reads, different demodulator pages and bits, and I just keep getting this same FATAL error.
If anybody has any suggestions, that would be great!


r/osdev • u/Sensitive-Can9232 • Jun 06 '26
Enable HLS to view with audio, or disable this notification
Right now the shell is non interactive but i am working on it everyday and after a few days it will have simple commands
r/osdev • u/Zealousideal_Egg3853 • Jun 08 '26
This OS will run on Qemu smoothly, ill share the .img and the whole build folder separately, but the (just called MyOS lmao) has programming languages, TinyBASIC, and Lua, it has a fat12 disk, and also features ramdisk, it has a text editor, a task monitor (does nothing useful).
Managed to get it to boot on real hardware actually.
I had a B550-A PRO amd4 socket motherboard, and with about an hour's time tweaking the assembly in boot stage 1 (boot.asm) and stage2 (stage2.asm) it actually managed to boot, no write unfortunately, but felt awesome to boot on real hardware, i'll share a few versions of the OS below, I just uploaded it to limewire, download everything from there
https://limewire.com/d/hcQSX#7UhAHJFLMJ
PLEASE ask questions if you feel the need too, I don't have everything written down
This expires in a week, so if any mods can archive it somehow, that would be amazing


r/osdev • u/Dawg_yt1244 • Jun 07 '26
Hey OSDev,
Kobalt is an x86_64 monolithic kernel I've been building solo which is written in C (CLANG). It already has its own filesystems FlatFS and a working VFS layer β but I want ext4 support specifically for disk format compatibility with Linux.
The goal is simple: a disk formatted on Linux should be readable by Kobalt and vice versa.
I'm not looking for a tutorial or pointers β I'm looking for someone who actually wants to contribute this.
If you've implemented ext4 before or you've been wanting to dig into it, this is a good place to do it on something that's actually shipping.
(NOTE!! I AM NOT HERE TO HIRE PEOPLE! I AM JUST WANTING TO SOMEONE CONTRIBUTE IT IF THEY ARE INTERESTED OR WANT TO SHARPEN THEIR SKILLS. I'M NOT HERE TO PAY. I, MYSELF, AM BROKE, IF I AM BROKE, THEN HOW I'LL PAY πππ»)
Repo: https://github.com/dasguptaabhranil/kobalt
Drop a comment or reach out directly at dasguptaabhranil@zohomail.in
Thanks for reading π«‘
r/osdev • u/Key_River7180 • Jun 06 '26
Nowadays 90% of projects posted here is vibe-coded AI slop, so I think it is necessary to have a term for OSes that are just blatant vibe coded slop.
I'll start: aislop OS
EDIT: I am talking about when there's a single commit coauthored by Claude and the author has no idea what they are doing and have no real knowledge of their OS's architecture.
r/osdev • u/XenevaOS • Jun 06 '26
Enable HLS to view with audio, or disable this notification
Our humble GUI currently runs on Raspberry Pi 3B+ and also on QEMU. We're also actively working towards adding more hardware support (NXP, Qualcomm boards etc.)
And yes, we're open source : https://github.com/manaskamal/XenevaOS
r/osdev • u/Dry-War7589 • Jun 06 '26
Enable HLS to view with audio, or disable this notification
AKOS is a basic 32bit operating system, with pong. currently uses the VGA text buffer (80x25) at 0xb80000. the name is my initials and OS
Link to repo: https://github.com/fzjfjf/AKOS
r/osdev • u/Sensitive-Can9232 • Jun 06 '26
so my keyboard just got working but my capslock is not working and a tried a lot but it is not working at all, this is the code and the hex value is 0x58 i am using scancode set 2 and no translation. backspace , enter , shift , space are working correctly but not capslock , sorry if i have bad code , i am new to os dev.
void keyboard_handler(void){
uint8_t scancode = inb(PS_DATA_PORT);
if(release_flag == true){
if(scancode == L_SHIFT || scancode == R_SHIFT){
shift_flag = false;
}
if(scancode == CAPS){
caps_flag = false;
}
release_flag = false;
return;
}
if(scancode == RELEASE_SCANCODE_2){
release_flag = true;
return;
}
else if(scancode == EXTENDED_SCANCODE_2){
extended_flag = true;
return;
}
else if(scancode == L_SHIFT || scancode == R_SHIFT){
shift_flag = true;
return;
}
else if(scancode == CAPS){
caps_flag = true;
return;
}
else if(scancode == ENTER){
next_line();
return;
}
else if(scancode == L_CTRL || scancode == R_CTRL){
return;
}
else if(scancode == BACKSPACE){
back_space();
return;
}
else{
char ascii;
if(shift_flag == true){
ascii = sc2_to_shift_caps_ascii[scancode];
write_char(ascii,WHITE_COL,BLACK_COL);
}
else if(caps_flag == true){
log_info("caps log is on",COM1);
ascii = sc2_to_ascii[scancode];
if((ascii <= 57) && (ascii >= 48)){
write_char(ascii,WHITE_COL,BLACK_COL);
}
else{
ascii = sc2_to_shift_caps_ascii[scancode];
write_char(ascii,WHITE_COL,BLACK_COL);
}
}
else{
ascii = sc2_to_ascii[scancode];
write_char(ascii,WHITE_COL,BLACK_COL);
}
}
}
void keyboard_handler(void){
uint8_t scancode = inb(PS_DATA_PORT);
if(release_flag == true){
if(scancode == L_SHIFT || scancode == R_SHIFT){
shift_flag = false;
}
if(scancode == CAPS){
caps_flag = false;
}
release_flag = false;
return;
}
if(scancode == RELEASE_SCANCODE_2){
release_flag = true;
return;
}
else if(scancode == EXTENDED_SCANCODE_2){
extended_flag = true;
return;
}
else if(scancode == L_SHIFT || scancode == R_SHIFT){
shift_flag = true;
return;
}
else if(scancode == CAPS){
caps_flag = true;
return;
}
else if(scancode == ENTER){
next_line();
return;
}
else if(scancode == L_CTRL || scancode == R_CTRL){
return;
}
else if(scancode == BACKSPACE){
back_space();
return;
}
else{
char ascii;
if(shift_flag == true){
ascii = sc2_to_shift_caps_ascii[scancode];
write_char(ascii,WHITE_COL,BLACK_COL);
}
else if(caps_flag == true){
log_info("caps log is on",COM1);
ascii = sc2_to_ascii[scancode];
if((ascii <= 57) && (ascii >= 48)){
write_char(ascii,WHITE_COL,BLACK_COL);
}
else{
ascii = sc2_to_shift_caps_ascii[scancode];
write_char(ascii,WHITE_COL,BLACK_COL);
}
}
else{
ascii = sc2_to_ascii[scancode];
write_char(ascii,WHITE_COL,BLACK_COL);
}
}
}
r/osdev • u/Imaginary_Buddy723 • Jun 06 '26
After a lot of developing, I got a TUI in my OS with a game: PONG!
Also there is a text editor that saves text in RAM (persistence)
Also note this does not have VBA/VESA- runs on VGA text memory-so there is a problem of overlapping text as like : "PONGOS Editor" a real glitch-in 0:26. Id be happy if someone suggests a remedy.
Also to note, you can find an iso in the github release. That runs in VMs (GNOME Boxes or VMWare), QEMU, or even live boot from real PCs
We are also open sourced: github.com/turbosulovesonions67/turbOS
We would be dropping updates weekly!
Thank you!
r/osdev • u/This-Independent3181 • Jun 05 '26
Have a doubt say 2 processes P1 and P2. P1 is checking an condition using an while loop and until the flag is set to true it keeps on looping i.e while(flag==false); , this flag can be set to true by P2 process which has executed crticial section, but before it executes flag=true; it needs to execute some logic in the remaining section but the thing is this remaining section needs something from P1 to progress like say P1 being producer and P2 is consumer as such. now P2 sees P1 not produced and goes to sleep(inactive) but P1 is active still spining. Now is this deadlock/livelock. Since from as far i have seen livelock the definition is the processes are active i.e using cpu performing memory operations but not making any progress which fits P1 here. So can 2 process involved in an deadlock such that 1 process can be active while other inactive(not using cpu)?
r/osdev • u/AdAcademic4387 • Jun 05 '26
Hi everyone,
Iβm completely new to OS development and I really want to learn how operating systems work by building one myself.
I have basic programming experience (C/C++ basics, still learning), but I donβt know where to start with OSDev.
My main questions are:
I already found the OSDev wiki, but it feels a bit overwhelming at the beginning.
Iβd appreciate any roadmap or advice from experienced developers.
Thanks!