bootloader.asm 241 B

12345678910111213141516171819202122
  1. bits 16
  2. org 0x7c00
  3. mov dx, 0x3f8
  4. mov si, msg_bootloader
  5. mov cl, byte [msg_bootloader_size]
  6. rep outsb
  7. cli
  8. hlt
  9. msg_bootloader:
  10. db "HELLO FROM BOOTLOADER :)", 0x0A, 0x0D, 0
  11. msg_bootloader_size:
  12. db 26
  13. times 510-($-$$) db 0xFF
  14. dw 0xAA55