Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunctions 02H and 12H (18) Load ROM 8-by-8 font

Loads the ROM BIOS default 8-by-8 font table into the specified block of character generator RAM.

Call with:

AH = 11H

AL = 02H or 12H (see Notes)

BL = block

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 = 12H, 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 12H is called at any time other than immediately after a mode set, the results are unpredictable.

On the MCGA, a Subfunction 02H 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 12H is reserved on the MCGA. If it is called, Subfunction 02H is executed.