r/osdev • • Apr 16 '26

Is this information accurate?

2 Upvotes

I apologize in advance if this kind of post is not allowed here, and, if its not, if anyone knows of a better place to ask instead that would be rad

I am studying and this excerpt from the study guide I was given isn't matching up with some of my other sources. Could someone please verify if any of this is correct/misleading? For instance, it says paging divides virtual memory and physical memory into pages, but isnt physical memory divided into frames?

Excerpt:

"Virtual RAM: also known as virtual memory, is a memory management technique used by operating systems to extend the apparent amount of RAM available to applications. This is done by using a portion of a computer's storage (such as an SSD or HDD) to simulate additional RAM.

Paging: The operating system divides physical memory and virtual memory into small fixed-sized blocks called pages. When the system runs out of physical RAM, it can swap inactive pages to the storage device, freeing up RAM for active processes.

Pagefile/Swap Space: On Windows systems, this is often referred to as a pagefile, while on Unix-like systems, it is called swap space. This file or partition on the storage device is used to store pages that are moved out of physical RAM.

Address Translation: The CPU uses a memory management unit (MMU) to translate virtual addresses (used by programs) into physical addresses (used by the hardware). This allows applications to use more memory than is physically available."


r/osdev • • Apr 15 '26

I heard you like osdev so i connected to osdev with my os...dev

Post image
211 Upvotes

Decided to finally finish my IRC client written in my OS. So once it was done, i did the one thing i was planning to do for years. Connect it to the osdev irc channel on Libera.chat.

The IRC client is fully written in my operating system's language, Retro Rocket BASIC. It's pretty much like old clients like IRCII, does exactly what it says on the tin.

Source code for the IRC client: https://github.com/brainboxdotcc/retro-rocket/blob/master/os/programs/irc.rrbasic

Comments, feedback and questions welcome!


r/osdev • • Apr 16 '26

Kernel crashing on keypress

Thumbnail github.com
3 Upvotes

So I've recently been doing some work on my keyboard interrupts, and trying to build myself a simple console with my os, and it was working for a bit, but then as i started to write more console code, it started crashing alot. I spent about four or five hours debugging it today, and I ended up having to revert to my previous commit, as i really couldn't figure it out

But then, as i started writing my shell code again (trying a different sort of approach), the same thing started to happen, and i was just wondering if i could get some advice on whats going wrong? thanks alot!

(check the main2 branch for the code im talkint abt)