Writing a hello-world x86 bootloader
50linesofco.de