bios_disk_load2.S 189 B

12345678910111213
  1. /* https://github.com/cirosantilli/x86-bare-metal-examples#bios-disk-load */
  2. #include "common.h"
  3. BEGIN
  4. CLEAR
  5. STAGE2
  6. PUTC $'a
  7. jmp sector3
  8. .org 512
  9. sector3:
  10. PUTC $'b
  11. hlt