Page 1 of 1

My kernel and bootloader :)

Posted: Fri Sep 18, 2026 12:28 pm
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.

Re: My kernel and bootloader :)

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

Re: My kernel and bootloader :)

Posted: Sat Sep 19, 2026 3:26 pm
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? ;)

Re: My kernel and bootloader :)

Posted: Sat Oct 24, 2026 5:46 am
by icr09
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.
[/quote]


Looking at your project, I noticed something important that you should address—regardless of whether this is just for fun, a casual experiment, or a more serious endeavor: your repository is full of binary files mixed in with the actual source code. If I were you, I would implement a modular structure and add a `.gitignore` file.

For example:

1- Create a file named `.gitignore` in the root directory of your project.

2- Inside it, list the folders (or subfolders) that you want Git to ignore when you perform a `git push`. For instance:

*.bin
*.o
build/
isodir/


It’s not mandatory, but it’s a tip to make your project easier to visualize.


One final extra tip: the "cylinder" mode—where disk reading isn't used as heavily—is an option; I personally recommend "extended" reading, but it’s really up to you.

Thanks for sharing your project—it’s incredible! #-o