Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
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
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   10h     Function:   05h
 
  Title:       Set Display Page
 
  See also:    Get Video Mode, @SetPage
 
  Description:                           [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:
       AL = Page                                   None
            0-7 for modes 00h and 01h (CGA,
                EGA, MCGA, VGA)                  If PCjr and if
            0-3 for modes 02h and 03h (CGA)      function called with
            0-7 for modes 02h and 03h (EGA,      AL = 80h-83h
                MCGA, VGA)                         BH = CRT page register
            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)
                                    -♦-