INT 10H
AH | Function | Call parameters | Return parameters/comments |
---|---|---|---|
1 | Set cursor type | ||
2< /td> | Place the cursor position | BH = page number DH = row DL = column | |
Read cursor position | BH = page number | CH = cursor start line CL = cursor end line DH = line DL = column | |
4 | Position of light pen | AH=0 light pen not triggered=1 light pen Trigger CH=pixel row BX=pixel column DH=character row DL=character column | |
5 | display page | AL = Display page number | |
6 | Screen initialization or scrolling< /td> | AL = Number of scrolled lines AL =0 Full screen is blank BH = Attribute of involved line CH = Line number of upper left corner CL = Column number of upper left corner DH = Line number of lower right corner DL = Column number of lower right corner< /td> | |
7 | screen initialization or scroll down | AL = scroll down line Number AL = 0 full screen is blank BH = attribute of the involved row CH = row number in the upper left corner CL = column number in the upper left corner DH = row number in the lower right corner DL = column number in the lower right corner | |
8 | Read the attributes and characters of the cursor position | BH = display page | AH = attribute AL = character |
9 | Display characters and their attributes at the cursor position | BH = display page AL = characters BL = attributes CX = characters Number of repetitions | |
A | Only display characters at the cursor position | BH = Display page AL = Character CX = Number of character repetitions | |
E | Display characters (before the cursor Move) | AL = character BL = foreground color | The cursor moves with the character |
13 | Display string | ES:BP = string address CX = string length DH, DL = starting row and column BH = page number AL = 0, BL = attribute string: Char, char,… , Char AL = 1, BL = attribute string: Char, char,……, char AL = 2 string: Char, attr, ……, char, attr AL = 3 string: Char, attr, …, char, attr< /td> | The cursor returns to the starting position. The cursor moves with the cursor. The cursor returns to the starting position. The cursor moves with the string. |