x86 FAT12 bootloader
Go to file
secXsQuared ff34d5b81d YEA 2018-11-09 00:24:52 -05:00
src YEA 2018-11-09 00:24:22 -05:00
LICENSE Initial commit 2018-11-03 00:06:09 -04:00
README.md YEA 2018-11-09 00:24:52 -05:00

README.md

Summary

Stage 1 loader loads stage 2 loader from the floppy and jumps to it.

Stage 2 loader initializes protected mode, detects system memory, loads the kernel from the floppy, and eventually calls "kmain" function in kernel.c.

Yes the ASM code and the makefile could use some refactoring. Yes I know floor can be calculated simply by (x + y - 1) / y.

Building

cd into "src" and Run "make".

The boot image "boot.img" is generated under "src/out" directory.

Use QEMU or Bochs to emulate.