Skip to content

Felix 0.2.0

Compare
Choose a tag to compare
@mrgian mrgian released this 30 Mar 07:56
· 150 commits to main since this release

Bootloader

  • boots (you don't say!)
  • BIOS compatible (also works on UEFI with CSM enabled)
  • loads a basic Global Descriptor Table
  • switches to Unreal Mode (to use 32bit addresses in 16bit Real Mode)
  • copies kernel from disk to protected memory
  • switches to 32bit Protected Mode
  • jumps to kernel

Kernel

  • prints formatted text to screen by writing to VGA text buffer
  • loads a basic Interrupt Descriptor Table
  • has a basic handler for CPU exceptions

Run it in QEMU using qemu-system-i386 -drive id=disk,file=build/disk.img,if=none,format=raw -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0