Chapter
6
I
BIOS
Services
Video
Display
These routines provide an interface to the video display, which is
the output
half
of the console (CON) device. MS-DOS considers
the video display
to
be the default standard output (STDOUT)
device.
Software Interrupts:
10 hex (16 dec)
Function Summary:
Control Routines:
AH
=
0: Set CRT Mode
AH
=
1:
Set Cursor Type
AH
=
2:
Set Cursor Position
AH
=
3: Get Cursor Position
AH
=
4:
Read Light Pen Position
AH
=
5:
Select Active Page
AH
=
6: Scroll
Up
AH
=
7:
Scroll Down
AH
=
8:
Read AttributeKharacter
AH
=
9:
Write AttributeICharacter
AH
=
10: Write Character Only'
AH
=
11: Set Color Palette
AH
=
12:
Write Dot
AH
=
13: Read Dot
Other Routines:
AH
=
14:
Write TTY'"
AH
=
15:
Get CRT Mode
AH
=
16: Set Palette Registers
Text Routines:
Graphics Routines:
"Screen width
is
determined by the mode previously set. Some
"control" characters (ASCII 00H-1FH) perform the usual spe-
cial terminal function. These include (but are not limited
to)
BEL
(07H),
BS
(08H), LF (0AH), and
CR
(0DH).
195