r/osdev • u/Kooky_Philosopher223 • 22h ago
AnnyaOS Year 3 Update
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)