this is my kernel written from nothing for learning purposes.
its x86_64 assembly.
it contains first and second stage bootloader and a kernel,
second entering long mode and loading the kernel at 1 MB in ram
second boot loader is 32 bit nasm + C
the kernel is x86_64 NASM + C
Install clang
compiler and lld
(llvm linker)
and you can just run make
to get a boot.bin raw binary!
if you have qemu-system
installed, you can run it with make run
works on my machine btw.
This project is licensed under MIT license
Copyright (c) 2025 p1k0chu