Skip to content

Instantly share code, notes, and snippets.

@machinamentum
machinamentum / print_j.asm
Last active December 14, 2015 02:09
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