en:docs:bios:api:int10:06

Note: This IBM PC BIOS API call is for DOS/Win16 personality only. Use Family API for portability.

Note: osFree Macro Library provides macros for most of functions

2022/03/13 05:41 · prokushev · 0 Comments

Int 10H, AH=06H

Version

IBM 5150 and higher

Brief

Scroll screen region up

osFree Macro Library

Family API

Parameters

  • AH = 06h
  • AL = number of lines by which to scroll up (00h = clear entire window)
  • BH = attribute used to write blank lines at bottom of window
  • CH,CL = row,column of window's upper left corner
  • DH,DL = row,column of window's lower right corner

Return

Macro

INCLUDE BIOS.INC
 
@ScrollUp 0, 7, 0, 0, 10, 10

Notes

  • some implementations (including the original IBM PC) have a bug which destroys BP
  • the Trident TVGA8900CL (BIOS dated 1992/9/8) clears DS to 0000h when scrolling in an SVGA mode (800×600 or higher)