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 Functions 06h and 07h
 Detail Example                          Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   10h     Functions:  06h and 07h
 
  Title:       Initialize or Scroll Window
 
  See also:    @Scroll, @Cls
 
  Description:                     [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
 
     Initializes a specified window of the display to ASCII blank
     characters with a given attribute, or scrolls the contents of
     a window by a specified number of lines.
 
     Input                               Output
 
     AH = 06h to scroll up               None
        = 07h to scroll down
     AL = Number of lines to scroll
          (if zero, entire window is
          blanked)
     BH = Attribute to be used for
          blanked area
     CH = y coordinate, upper left
          corner of window
     CL = x coordinate, upper left
          corner of window
     DH = y coordinate, lower right
          corner of window
     DL = x coordinate, lower right
          corner of window
                                    -♦-