bios_putc.S 188 B

1234567891011
  1. /* https://github.com/cirosantilli/x86-bare-metal-examples#bios-examples */
  2. #include "common.h"
  3. BEGIN
  4. /* 40 == ASCII for '@'
  5. * 0E == BIOS function ID.
  6. */
  7. mov $0x0E40, %ax
  8. int $0x10
  9. hlt