My kernel and bootloader :)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Nirasm
Posts: 2
Joined: Fri Jul 31, 2026 3:27 pm
Libera.chat IRC: Iran - Asia

My kernel and bootloader :)

Post by Nirasm »

Hello everyone,
I’m Arman, and apparently, I’m one of the few Iranians posting topics on this site.
Anyway... :)
For about two months, I’ve been working (solo) on a 32-bit kernel, and—it might seem a bit strange or even ridiculous—I wrote it using x86 assembly language. :|
Right now, it’s very rudimentary and doesn't perform any of the tasks an operating system is supposed to handle for the user.
I didn't use IRQ handlers for the drivers; instead, I defined all the characters manually, one by one (a sort of unique, classic "Iranian-style" touch). Still, I’d really love for you to take a look at it:

Image

Source code:
https://github.com/Alendra405/NirasmOS

Don't give me a hard time for naming it NirasmOS.
It's just to boost my morale, hahahahaha.
Clashing with Assembly—when C is right there—is the most delightful form of self-sabotage. :mrgreen:
User avatar
AnotherIdiot
Member
Member
Posts: 31
Joined: Sat Sep 28, 2024 8:00 pm
Location: Ohio, USA
GitHub: https://github.com/apixeldev
Contact:

Re: My kernel and bootloader :)

Post by AnotherIdiot »

This is actually pretty cool, what all can it do though?
Every CPU manufacturer sucks, make your own CPU :D
User avatar
Nirasm
Posts: 2
Joined: Fri Jul 31, 2026 3:27 pm
Libera.chat IRC: Iran - Asia

Re: My kernel and bootloader :)

Post by Nirasm »

AnotherIdiot wrote: Sat Sep 19, 2026 11:57 am This is actually pretty cool, what all can it do though?

Thanks! That means a lot to me. Right now, NirasmOS is a very simple, minimal 32-bit kernel running in Protected Mode.

Its current capabilities include:

. Booting via a custom bootloader.
. VGA text-mode output.
. Basic keyboard interrupt handling.

My current focus is on building a native, sector-level debugger—one that performs read and write operations directly on the disk, bypassing conventional file systems. The project is still in its early stages, but the ultimate goal is for the operating system to be fully programmable from within itself.

By the way, one thing to note: we don't yet have support for the Shift key or uppercase letters; for now, only lowercase letters are supported. That’s a feature, not a bug—nothing should be bigger or superior to anything else, right? ;)
Clashing with Assembly—when C is right there—is the most delightful form of self-sabotage. :mrgreen:
Post Reply