AH = 0Fh: Get Video State and Mode
This function returns the current state of the display, including the current mode, number of characters per line, and current display page. Refer to the Set Mode function (AH = 00h) on page 3-64 for a description of the modes.
- Output: AH = Number of characters per line
AL = Current Display Mode (0-7,20h)
BH = Active Display page
- Error conditions: None
- Registers modified: AX
This function cannot be used to distinguish Zoom state. See function DFh on page 3-85.