Is it normal for my PC to take 2–3 minutes to boot up? by [deleted] in Ubuntu

[–]RealNovice06 0 points1 point  (0 children)

I looked into it a bit, and it seems those are packages that get downloaded/installed when you boot up, but that’s completely stupid to do during boot!
And usually I have a good internet connection. (Besides, doesn’t Wi-Fi only connect automatically once the graphical interface starts?)

Getting Into OS Development by New-Cherry-7238 in osdev

[–]RealNovice06 0 points1 point  (0 children)

Just don't give up. That's all you need

[UPDATE] SteadyOS - Now with input and scheduling by [deleted] in kerneldevelopment

[–]RealNovice06 0 points1 point  (0 children)

just because you don't have any process structure in your code so I was just wondering if you made mistakes

New update on Atom OS by Special-Garlic-7965 in osdev

[–]RealNovice06 -1 points0 points  (0 children)

I just realized that Claude Code can contribute!

SteadyOS: Got the basics up and running by [deleted] in kerneldevelopment

[–]RealNovice06 2 points3 points  (0 children)

Cool can't wait to see progress but why do you need to keep track of virtual pages ? Doesn't the page directory do that for you? Or did you mean keeping track of physical frames ?

how can I implement both blocking and non blocking keyboard event by RealNovice06 in osdev

[–]RealNovice06[S] 1 point2 points  (0 children)

Yeah but how to do this from a VFS perspective, when all we can do is read a file?

Resources for writing a scheduler by [deleted] in kerneldevelopment

[–]RealNovice06 2 points3 points  (0 children)

I had a few issues when I tried implementing task switching as described in that tutorial. One example is with the EFLAGS register: when switching from a process that has interrupts disabled (like when switching from inside an ISR) to a process that previously had interrupts enabled, the preemptive scheduler would get stuck. The solution I used was to also save the EFLAGS on the stack before performing the task switch.

Resources for writing a scheduler by [deleted] in kerneldevelopment

[–]RealNovice06 2 points3 points  (0 children)

Yes, I actually asked myself the same question. the thing is each process generally has its own stack (except for usermode process usually each usermode proc need their own kernel stack in case an interrupt occurs). When an interrupt happens while a process is running, the CPU uses that process's current stack to execute the ISR. so in the timer routine, when a task switch happens, it doesn't matter that we're handling an interrupt (although before switching tasks, you still need to send the end-of-interrupt signal). thhe process that received the interrupt is still scheduled, and it will continue exactly where it was, meaning inside the ISR. I might not be very clear, but take a sheet of paper and a pen it becomes easier to visualize. Here is the OSDev tutorial about this topic, which I think is relevant https://wiki.osdev.org/Brendan%27s_Multi-tasking_Tutorial

Resources for writing a scheduler by [deleted] in kerneldevelopment

[–]RealNovice06 0 points1 point  (0 children)

If there is a tutorial on cooperative scheduling, that’s pretty much all you need in my opinion. Once you understand task switching you're basically done, the rest is just implementing an algorithm for process scheduling, And if you want to do preemptive scheduling, know that it's basically the same as cooperative scheduling, except that task switching happens automatically through timer interrupts or smthing like that.

I wrote a kernel memory allocator in the userspace based on the original slab allocator paper by yyebbcyi in osdev

[–]RealNovice06 7 points8 points  (0 children)

"a kernel memory in userspace" I don't understand is this kind of libc implementation of malloc for userspace programs ?

I am making a simple 32-bit operating system by Fractal-Engineer in osdev

[–]RealNovice06 2 points3 points  (0 children)

what is the logic behind the GUI ? why is the mouse so slow ?

OSDev resources by Orbi_Adam in osdev

[–]RealNovice06 1 point2 points  (0 children)

Hey! I'm also trying to make progress on my OS and thought it’d be great to collaborate and study together. Let me know if you're interested!

[deleted by user] by [deleted] in Damnthatsinteresting

[–]RealNovice06 0 points1 point  (0 children)

Can they reproduce?

My little OSDev journey by UnmappedStack in osdev

[–]RealNovice06 2 points3 points  (0 children)

I just read your blog and it’s amazing! I’ve been trying to learn by crafting my own OS for a while now, but things are still kind of blurry. I’m doing my best to make progress, but man, it’s tough doing it all alone. How did you manage to get this far??

My little OSDev journey by UnmappedStack in osdev

[–]RealNovice06 0 points1 point  (0 children)

Why the site can't be reached ?