r/osdev • • 4h ago

RhytOS full rewrite

Thumbnail
gallery
0 Upvotes

RhytOS, the temple-os inspired operating system is being rewritten, this is a progress report, took a few days. I currently have working internet, HTTP, HTTPS, sound drivers, native linux elf compatibility and actual installation. This is meant to be daily-drivable, meant for real hardware. RhytOS also offers 4 popular bootloaders. It can wipe and install, install alongside, or update the currrent RhytOS system. In the future, it can actually update from the cloud automatically for you all.

DISCLAIMER AND ANGER INDUCING TO SOME PEOPLE: This is AI-assisted, no wonder it took a few days, call this personal OS I would use ‘AI-slop’ all you want. I didn’t completely vibe code it, I took a few hours to review the code and troubleshoot whatever is wrong, biggest problem I had was the sound drivers hanging the entire system, and I actually understand the know the source code, I can code no problem, I am not those guys who straight up say they made it themselves no AI with clearly AI code, as you can see, I clearly say this is AI-assisted.

Anyways, this is not built on top of the linux kernel but references the linux kernel, it also has the commands of the linux kernel and other already existing commands like curl but it is completely a reimplementation and not the actual thing.

The installation is completely straightforward, just follow the instructions, pick A, B or C (Installation type), put the username, admin or not, password, enter the disk name for confirmation and et voila or something.

The concept for recreational programming in this OS is now gone, no more Rhyton, no more temple-os inspired stuff like that.

Alt+F1 through f3 is like minimize, restore and close, and alt+f4 is, you already know it. Let me know if you like it. It can also run OpenTTD and im a pro at demolishing cities and not doing anything there lol.

The old repository is all cleared up, I havent uploaded the OS because it is still in development stage and is not finished.


r/osdev • • 8h ago

I'm making a distributed OS (inspired on HarmonyOS)

Thumbnail github.com
0 Upvotes

This thing is made to run primarily (until the system API and SDK gets mature enough) on microcontrollers by chainbooting from MicroPython and also using MicroPython as a "Upper kernel" to run stuff on (by using `@micropython.asm_thumb` and `@micropython.native` and viper), its using a build system that's python-based but it can handle C/C++/Rust stuff!.


r/osdev • • 1h ago

doing own OS (Actium)

Post image
2 Upvotes

r/osdev • • 21h ago

FLOPOS: A cyberdelic OS that fits on single 1.44MB floppy. Built for the late 90s Toshiba Satellite Pro 430CDT

0 Upvotes

Look,
I presume everyone here are super low-lvl code gurus who probably write your own coffee machines' opcode in your sleep while dreaming before you get up in the morning for work ... and so on.

- But I had Claude bang this out over a week with me doing the human run-testing on real hardware. And I'm very happy with it. It runs TLS 1.3 and post-quantum cryptography on a simple 120 Mhz CPU with 32MB of RAM. All from a simple 1.44MB 2HD floppy. I thought it to good not to share.

The ppl at vintagecomputing have already roasted it hard. AI bad. AI slop. Yeah. Yeah. I heard you.
But it's written from scratch (again by Claude) and does program isolation in RAM. It has audio decoding capabilities for MP3, FLAC, XM, S3S, AAC, VORBIS and probably something else I forgot.

Oh and it can encrypt backups with ChaCha20-Poly1305 to a regular consumer walkman cassette (please don't rely on it though.)

Did I tell you it does this all on a 30 year old laptop from 1996? I hope some of you can at least appreciate it for what the hardware is capable of, given its old age.


r/osdev • • 23h ago

Crypto currency mining using microprocessors

0 Upvotes

Just curious if someone is working in a OS dedicated to crypto mining in low power microprocessors like ESP32 and Pico W.

We are in this for fun but also for the money or not?

EDIT: thanks for all the answer, even the shitty ones. I love redit.


r/osdev • • 7h ago

Panuti 0.3

1 Upvotes

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

the showcase vid isn't really that spectacular... not much user-facing stuff is here as this release focused pretty much on hardware. also i realized i just missed out on some good things to showcase rn. ✌️

and anyways for what's in 0.3:

for both 0.1 and 0.2, the shared part of my hard disk and cdrom drivers used ATA PIO, which uses the cpu for everything. and is slow as heck ofc. so i added and switched to DMA as the default, which doesnt use much cpu, and fast. very good with program startup times.

I also added ACPI support by intergrating uacpi into the kernel. plus with acpi, i added shutdown and restart. restart isnt really supported in the default qemu machine so i added fallbacks. 👍

To prepare for anything using PCI, and also just because i want to. I added PCI, there are no drivers built at all on it, bc i cant think of any.
the kernel enumerates the devices in the pci configuration space and exposes it at "/dvc/pci" (mhm i exposed it to userspace before the kernel could even use it)

I added a /sys namespace and exposed process (/sys/pid) and memory info (/sys/meminfo) to it. also moved kmsg to it.

We can also terminate processes now.
We can sync all of the mounted filesystems.
And so on and so on. the rest is on the release.


r/osdev • • 22h ago

AnnyaOS Year 3 Update

Post image
9 Upvotes

hello r/osdev i have been a bit private and been keeping to myself a bit so im sorry for some of the people that have been sending me DM's for an update id rather just keep to myself code and have fun which is what i set out to do.

im sorry for my bad grammer and spelling i did not pay very much attention in school

first things first this is my repo:https://github.com/AlienMaster815/AnnyaOS

right now its still a toy and dosent do anything and if you compile it and run it its probably going to boot up and say "Successful Boot" if anything.

this is the image of my system right now

the boot sequence is this right now:

1 limine boots a binary in /BOOT called BOOTBOOT the source for this is here:https://github.com/AlienMaster815/AnnyaOS/tree/main/boot/limine

this does a couple things it takes severa loaded modules and then allocates space in the lower half and loads a modified coff image that i modify with my own little tool i created here:https://github.com/AlienMaster815/AnnyaOS/tree/main/LouCoff

and the source for the coff binary is here:https://github.com/AlienMaster815/AnnyaOS/tree/main/EXE/LouLoad

this binary removes all traces of limine and loads the actual kernel and maps out the boot registry and boot modules for the kernel

the registry creation tool is here:https://github.com/AlienMaster815/AnnyaOS/tree/main/Registry

and the source is here:https://github.com/AlienMaster815/AnnyaOS/tree/main/Config/System_Config LRS files are the source the LKR files are the compiled files

once the kernel loads it waits for all the CPUs that are woken by limine to get into the kernel and unmaps the lower half, initializes all the kernels memory managemen subsystems initializes the boot registry then all basic systems GDT IDT intertrupt routers work queues ACPICA my APIC abstration here:https://github.com/AlienMaster815/AnnyaOS/tree/main/drivers/Apic

and several subsystems like

ATACORE.SYS:https://github.com/AlienMaster815/AnnyaOS/tree/main/drivers/storage/Ata

my ATA command and device abstraction

USBCORE.SYS:https://github.com/AlienMaster815/AnnyaOS/tree/main/drivers/USB/UsbCore

my Usb abstraction

BLKDEV.SYS:https://github.com/AlienMaster815/AnnyaOS/tree/main/API/Blkdev

my linux inspired block device

DRSD.SYS:https://github.com/AlienMaster815/AnnyaOS/tree/main/API/Drsd

a system for DXK drivers that i will make a shim for after i finish getting storage devices done (almost there :))

a couple others that arent done so i wont mention them because this bost is already massive

thenthe PCI.SYS:https://github.com/AlienMaster815/AnnyaOS/tree/main/drivers/PCI

pci drivers and abstraction for PCI/PCIe then this loads different drivers based on what it detects and a driver manifest in the registry

currently im working on finishing XHCI EHCI OHCI and UHCI:https://github.com/AlienMaster815/AnnyaOS/tree/main/drivers/USB/HostDrivers

also finishing ATA core i finished

ATA.SYS:https://github.com/AlienMaster815/AnnyaOS/tree/main/drivers/storage/Ata/Hardware

which is for generic devices and i finished

AHCI.SYS:https://github.com/AlienMaster815/AnnyaOS/tree/main/drivers/storage/Ahci

and then it just pring successfull boot and while loops

for AHCI devices i will also not that AHCI was dificult for me so i actually used the linux kernel and derived the code from there to make everything easier im taking things day by day and working on everything as i feel like it... i spend about 40 to 80 hours a week on this software which is why so much is done almost none of it is AI i say almost because in the begining 3 years ago i did use AI but ive all but removed the code. there is a bit of clutter so i apologize about that. and i know i need to do documentation but its extremly boring so im sorry i havent done any yet...

if you made it this far thank you so much and please consider leaving my project a star and cross posting wherever you would like

-Tyler Greneir (AlienMaster815)