https://github.com/akkartik/mu/blob/master/baremetal/ex1.hex
 1 # The simplest possible program: just an infinite loop.
 2 # All is well if your computer clears screen and hangs without restarting.
 3 # On an emulator the window may get bigger to accomodate the 1280x1024 graphics mode.
 4 #
 5 # To convert to a disk image, first prepare a realistically sized disk image:
 6 #   dd if=/dev/zero of=disk.img count=20160  # 512-byte sectors, so 10MB
 7 # Load the disk image:
 8 #   cat baremetal/boot.hex baremetal/ex1.hex  |./bootstrap run apps/hex  > a.bin
 9 #   dd if=a.bin of=disk.img conv=notrunc
10 # To run:
11 #   qemu-system-i386 disk.img
12 # Or:
13 #   bochs -f apps/boot.bochsrc  # boot.bochsrc loads disk.img
14 
15 # address 0x8000
16 e9 fb ff ff ff  # jump to address 0x8000
17 
18 # vim:ft=subx