ECHO2 POSSE49

Syndications

KL-OS: C Standard Library

2025-12-25 POSSE

To make a useful kernel we require it to perform tasks like setting a memory chunk to zero, or copying the memory from a source address to destination address. It may have to understand what a boolean is or what NULL is. So, for that we require the "C Standard Library" and hence we need to implement it (or the functions it contains as abstractions to commonly used functions).

For this, in day 4 I utilized clang's internal C library as well as resorted to writing the functions all by myself.

KL-OS: Printing

2025-12-24 POSSE

As the days progress the journey is getting more fun and interesting. It was the part where actual text was going to be printed. It was a kernel hello-world.

Day 3 focused on printing characters on the console by talking to SBI finally implementing putchar and eventually printf.

KL-OS: Boot

2025-12-23 POSSE

The actual development of OS started with making the build script run.sh in bash to setup and launch a qemu RISC-V virtual machine with OpenSBI as bios for QEMU.

Then a linker script kernel.ld was made and a basic kernel process kernel.c was written. Finally, the build script was updated to include compiler and execution commands and flags to properly boot the kernel.

Day 2 focused on writing a basic starting process of a kernel and running it in a virtual machine.

KL-OS: Setting Up

2025-12-22 POSSE

I have set up the environment required to run RISC-V 64 toolchain using QEMU.

Installed a debian RISC-V 64 iso and set it up to my liking with autologin and proper terminal emulation and sudo. I then installed gcc, gdb and neovim for writing and compiling programs.

Details of what happened on Day 1 is tracked using git with codeberg as a remote.

I have decided to use Operating System in 1000 Lines as the learning material because it was featured as a beginner level learning material in github:riscv/learn.

KL-OS: Checkpoint

2025-12-21 POSSE

I want to learn systems programming and I thought why not go with the open source one which is currency in development. So, I chose the RISC-V architecture. That way if I decide to keep pursuing it, I can grow along with the ISA slowly catching up to it.

I want to keep a streak by posting here every day about what I learn. Let's hope it goes well.

Rusting

2025-08-28 POSSE

Trying to replace as many apps I use with the apps written in rust to see how much is possible.

Continuous: Oxidation by flux was very helpful.

A quote from 'Daredevil: Born Again'

2025-03-26 POSSE

Don't rely on anyone to do what you can do for yourself.

Angela Del Toro, Daredevil: Born Again, 2025

I don't mean it in a dangerous sense, like how she does in the series. But think it in a more general sense. It's a good advice.

Ingenuity

2025-03-23 POSSE

I have tears in my eyes, hearing that ingenuity is dead, but not fully dead. First she just shocks everyone by living more than we anticipated her to, and now she is dead because she can no longer do what she went there to do. But, still alive that she's doing work that she wasn't even assigned to do, with broken wings and muddy eyes.

Mufasa: Not a very good brother

2025-02-19 POSSE

So, Scar was suffering from depression, after all he had the pressure of becoming a king, and yet he wasn't trained, cared, taught, loved....(As described in the story.). Why did Mufasa not understand and forgive him and let him be the part of the family (While he was once lost and alone too.)?

Spoiler Alert: He wanted the villain to its sequel.

What is Hate?

2025-02-06 POSSE

Until next time,

Hate is when you are hurt seeing them happy.

The Adventures of Scientiac, 2025

Linux is/not Difficult

2025-02-04 POSSE

Using linux coming from windows is like, talking in a different language. You try to use your grammar with their words (making it an accent) and you feel difficult communicating.

And saying linux is harder to use than windows is like speaking <insert foreign language here> is harder than speaking <insert your language here>.

Live in the place for some time and instead of worrying about the language, you'll think about the services, products and lifestyle the place offers.

I can't think of things to write on a footer. So, just imagine something yourself.

RSS | Source Code

All articles are usable under CC BY-SA 4.0.