Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunctions 00H and 10H (16) Load user font

Loads the user's font (character definition) table into the specified block of character generator RAM.

Call with:

AH = 11H

AL = 00H or 10H (see Notes)

BH = points (bytes per character)

BL = block

CX = number of characters defined by table

DX = first character code in table

ES:BP = segment:offset of font table

Returns:

Nothing

Notes:

This function provides font selection in text (alphanumeric) display modes. For font selection in graphics (all-points-addressable) modes, see Int 10H Function 11H Subfunctions 20H—24H.

If AL = 10H, page 0 must be active. The points (bytes per character), rows, and length of the refresh buffer are recalculated. The controller is reprogrammed with the maximum scan line (points - 1), cursor start (points - 2), cursor end (points - 1), vertical display end ((rows*points) - 1), and underline location (points - 1, mode 7 only).

If Subfunction 10H is called at any time other than immediately after a mode set, the results are unpredictable.

On the MCGA, a Subfunction 00H call should be followed by a Subfunction 03H call so that the ROM BIOS will load the font into the character generator's internal font pages.

Subfunction 10H is reserved on the MCGA. If it is called, Subfunction 00H is executed.