This is my hobby OS. It is a quite interesting project where I learned a lot about boot sequence, BIOS, elf-format, x86 architecture, interrupts and more!
Install dependencies.
$ sudo apt update
$ sudo apt install qemu-system-x86 nasm gdband run
$ make$ make qemuIf you want to debug the project run
$ make debugThis will create a local tcp socket with port 1234, you can connect to it using gdb. You need to configure gdb before running it. I recommend using .gdbinit file containing:
define hook-stop
x/1i $pc
end
target remote localhost:1234
layout split
set architecture i8086
symbol-file build/kernel/kernel.dbg
b kmain
Now run
$ gdband write c command.