Skip to content

Instantly share code, notes, and snippets.

@machinamentum
Last active December 14, 2015 02:09
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save machinamentum/5011551 to your computer and use it in GitHub Desktop.
Save machinamentum/5011551 to your computer and use it in GitHub Desktop.
This is the simplest, smallest program to print a letter to the display. It was written in response to zhuowei's "i" program at https://github.com/zhuowei/i Unfortunately, due to the fact that this must be run as a boot sector, it must be bloated to 512 bytes. However, it takes up only 5 bytes of data itself, requires no bloated Operating System…
mov ax, 0x0E6A
int 0x10
times 510-($-$$) db 0
db 0x55 ; required for some BIOS's
db 0xAA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment