; setfont.asm ; ; Append an 8x16 4,096-byte font file to the executable produced by this ; assembly language source code. Run the program to load said font. ; ; Andy Goth org 0x100 entry: ; Load font. mov ax,0x1110 mov bx,0x1000 mov cx,0x00ff xor dx,dx lea bp,[font_data] int 0x10 ; Return control to DOS. mov ax, 0x4c00 int 0x21 font_data: ; vim: set syntax=nasm: