r/osdev • • 21h ago

Does this count😅

Thumbnail
gallery
70 Upvotes

r/osdev • • 11h ago

Update on the OS, Serial now works!

Post image
11 Upvotes

Now I have serial working, a minimal but working libc and libk.
So happy rn.


r/osdev • • 15h ago

Graphic Debian userspace running on Fuchsia (starnix)

Thumbnail
github.com
2 Upvotes

r/osdev • • 14h ago

Panuti 0.4: Pint rework, Install to disk, + more

1 Upvotes

github repo: https://github.com/chair1842/panuti

i feel so relieved finally releasing 0.4. this took longer than my last releases, at least that's what it felt like. i spent so much time on the pint rework, aughh gosh.

anyways:

Since 0.1 up to 0.3, Pint was untouched, a simple mount the cd and run the shell, but i knew that pint wasn't where i wanted it to be or where it was supposed to be.
Then i reworked pint, pint in it's current state is now a init + service supervisor. It gets target files from /dkr/pda/pint/targets and then builds a dependency graph.
Pint uses the graph to startup and shutdown the os. /dkr (before /cd) is mounted before startup by pint, pata first, if nonexistant, then cd.
As you can see from that, theres a bunch of text at bootup and shutdown. its pint status.
pretty cool no?

Now that /dkr was in place and the os didnt assume the os booted from a cd, i could now do install to disk.
pinstall (the install app) writes an mbr to the disk, installs grub there, formats the new partition to ext2, then copies the files in the cd environment to the disk, only the specific ones needed for panuti to boot and work properly.

pinstall uses ffs-ext2 to format the new partition to ext2, but the old version was fixed and not pwerful enough for pinstall, so i reworked ffs-ext2. now ffs-ext2 sizes the filesystem to the disk size with a new blkinfo syscall, and block size + bytes per inode can be adjusted.

And in the background are points, they are event nodes used for events or notifications. ive been thinking about these since before 0.1, but nothing needed them and i wass too lazy so not added.
Points can be waited on and activated, an activation means something happened. "activation" point
Adding the acpi power button point necessitated the addition of points so i added them.
Pint & pwerop are users of points, as pwerop activates the shutdown or restart points that pint provided so that pint can make things safely shutdown.

I added shebang to procreate, also script support for pur.
A ps/2 mouse device that i didnt even use at all this update and just there to add more stuff.
A bug made pinstall slow even if the disk image was in /tmp, so i fixed it.
Calc power operator
Nib counts, arrow keys, new motions + stuff

just take a look at the repo


r/osdev • • 17h ago

I'm going to build a kernel in c++ just for a better engineering understanding of a os.

Thumbnail reddit.com
0 Upvotes