This is a 16-bit real mode kernel for x86-compatible PCs, written entirely in assembly language, which can boot from a floppy disk, hard disk, USB, or CD.
Please install the packages below, or type:
sudo apt-get install gdb nasm qemu dosfstools mtools
This project uses an optional i686-elf cross-compiler, you can click here for more information on compiling it yourself, or use some precompiled binaries here.
To checkout the source and build:
git clone https://github.com/Joshua-Riek/x86-kernel
cd x86-kernel
make
To run the bootloader in a virtual machine:
make run
Start a virtual machine with a GDB stub:
make debug
Open another ternimal and connect to the virtual machine's GDB stub:
make gdb
For debug symbols to be generated, you must compile with an i686-elf cross-compiller.