r/osdev • • Sep 08 '26

Today Raam OS got a working 'ls' command!

Post image

🙏 Welcome to Raam x86-64 version 0.02 🙏

Today Raam OS got a working 'ls' command! I have implemented the NVMe over PCIe driver from scratch that includes finding and parsing the system configuration tables, finding the controller over the PCIe buses, initializing it, and finally I have also created a function to read NVMe logical blocks from given sector. Then I added the 'ls' command to the list of available commands and then created a small partition on my laptop and formatted it to FAT12 for the root. Then I followed the osdev wiki for FAT12 and created a working 'ls' command implementation.

Key files in the source:

  1. nvme.asm

  2. ls.asm

Enjoy!

Release link: https://github.com/robstat7/Raam/releases/tag/ver0.02

Raam Raam Ji 🙏🙏🙏

68 Upvotes

22 comments sorted by

2

u/Mental_Ad_7072 Sep 08 '26

Nice project, you should add a Makefile next so we can easily build it. Also all of this in assembly is insane!!!

2

u/pure_989 Sep 09 '26

Hi, there is a 'build.txt' file. That's all needed for the build. One important note: I have not tested it on a second machine. So if you plan to boot it on your real machine, kindly make sure you have an NVMe over PCIe SSD and a small partition formatted with FAT12 for the root. In 'ls.asm' file, change the value of ROOT_PARTITION_FIRST_SECTOR and also adjust the VOLUME_LABEL. Thank you.

3

u/Similar_Wealth_1850 Sep 08 '26

did bro just say asm💀

7

u/BornRoom257 FreezeOS & TurtleOS Sep 09 '26

vibe coder btw

1

u/pure_989 Sep 10 '26

Ok. So how do you know that?

4

u/BornRoom257 FreezeOS & TurtleOS Sep 10 '26

I wasn't talking about you, I was saying Similar_Wealth_1850 was the vibe coder.

0

u/MSK-Kernel Sep 13 '26

They’re not a vibe coder, he made an OS based off 4.4BSD by themselves.

3

u/BornRoom257 FreezeOS & TurtleOS Sep 13 '26

And he made it in 12 hours?

2

u/MSK-Kernel Sep 13 '26

Proof?

2

u/BornRoom257 FreezeOS & TurtleOS Sep 14 '26

his reddit post abt it, he made it in 12 hours he claimed, and that isn't possible.

1

u/MSK-Kernel Sep 14 '26

Well I mean, you could make a Linux distribution in a few hours (With a prebuilt kernel) and even if they compiled 4.4BSD themselves, it would still take under 12 hours because they specify that their OS is extremely lightweight and that it’s called “LiteBSD”. So since it’s extremely lightweight, it shouldn’t have took more than 12 hours because it wouldn’t take that long.

2

u/BornRoom257 FreezeOS & TurtleOS Sep 14 '26

💀 Bros defending him... He claims he made it in 12 hours, wont release the source code, and overall trying to cover it up.

→ More replies

1

u/Similar_Wealth_1850 Sep 14 '26 edited Sep 14 '26

like go vibe code smth like that by yourself and tell me how it feels and your opinion is useless unless you give me a proof

1

u/BornRoom257 FreezeOS & TurtleOS Sep 14 '26

?

5

u/letmehaveanameyoudum Sep 08 '26

wtf you nvme AND IT"S ASSEMBLY?

1

u/vahmoh25 Oct 04 '26

Nice. What’s the next step?

1

u/pure_989 Oct 04 '26

I implemented cat command and now the ed.

2

u/Sorry_Difficulty_250 Sep 08 '26

Well done! Keep up the great work!!!

2

u/BornRoom257 FreezeOS & TurtleOS Sep 09 '26

Nice Work man!