Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Int 10H Function 05H
◄Summary► ◄Notes► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Description: Set Display Page [CGA] [PCjr] [EGA]
[MCGA] [VGA]
Selects the active display page for the video display.
Input Output
════════════════════════════════════════ ════════════════════
For CGA, EGA, MCGA, VGA If CGA, EGA, MCGA, or
AH=05H VGA adapter: nothing
AL=page
0-7 for modes 00H and 01H (CGA, EGA, If PCjr and if function
MCGA, VGA) called with AL=80H-83H:
0-3 for modes 02H and 03H (CGA)
0-7 for modes 02H and 03H (EGA, MCGA, BH=CRT page register
VGA)
0-7 for mode 07H (EGA, VGA) BL=CPU page register
0-7 for mode 0DH (EGA, VGA)
0-3 for mode 0EH (EGA, VGA)
0-1 for mode 0FH (EGA, VGA)
0-1 or mode 10H (EGA, VGA)
For PCjr only
AH=05H
AL=subfunction
80H =read CRT/CPU page registers
81H =set CPU page register
82H =set CRT page register
83H =set both CPU and CRT page
registers
BH=CRT page (Subfunctions 82H and 83H)
BL=CPU page (Subfunctions 81H and 83H)
-♦-