; boot.asm — Kestrel stage 0. ; ; The BIOS loads this sector at 0x7C00 and jumps to it in 16-bit real mode. ; For now it only proves that the sector boots: it halts, forever. ; ; nasm -f bin boot.asm -o boot.bin ; qemu-system-x86_64 -drive format=raw,file=boot.bin bits 16 org 0x7C00 start: cli .halt: hlt jmp .halt times 510 - ($ - $$) db 0 dw 0xAA55 ; boot signature