Kernel (blogs)
Hobby kernel made from scratch. Very fun
Intro
I wanted to learn more about how operating systems work internally so I decided to make my own 64-bit x86_64 OS. Basically all of the code and design choices were made by me so I could properly learn as much as possible, and also so it is my crappy machine and no one elses. I also mainly used the book Operating Systems Concepts: Three Easy Pieces to also guide me a bit.
I decided to blog my process and below are the blogs. Also here is the source.
Blogs
Persistent Storage!!
January 14, 2026
PCI HAL and AHCI Driver
Redoing Scheduler & Bug City
December 23, 2025
Rewriting scheduler with dynamic memory, multitask sync, creating debugging tools with GDB, and fixing wonky bugs
Virtual Memory and Slab Allocator
November 17, 2025
Page table and virtual memory chronicles!!! Also personal kmalloc() implementation
Tasks and Scheduler
October 21, 2025
Created a round robin scheduler for multiple tasks
Interrupts and IO
September 16, 2025
Printing helper functions, IDT, ISRs, the PIC, and keyboard interrupts
Introduction and Setup
September 02, 2025
Backstory, build environment, and booting 64 bit mode into kernel_main() in C