Kernel 101 – Let’s write a Kernel
I have done the same, sort of, only eschewing BIOS for UEFI and thus getting straight to Long Mode :-).It's pretty basic, currently just boots up and prints the memory map.It's written in C++11 with the aim to be as clear as possible: https://github.com/thasenpusch/simplix
Have a look :-).