User`s manual
DIGITAL-LOGIC AG MSLB-P5 Manual V0.3
PRELIMINARY 166
16.6.2 Interrupt 10h–Video Services
The INT 10h software interrupt handles all video services. The results of some of these functions may
depend on the active video mode and the particular video controller installed.
Interrupt 10 Video Services
AH = 00h Set video mode
Entry:
AL Mode value (0-7):
0 = 40x25 Black & White
1 = 40x25 Color
2 = 80x25 Black & White
3 = 80x25 Color
4 = 320x200 Color
5 = 320x200 Black & White
6 = 640x200 Black & White
7 = Monochrome only
AH = 01h Set cursor size
Entry:
CH Bits 4-0 = Cursor top scan line
CL Bits 4-0 = Cursor bottom scan line
AH = 02h Set cursor position
Entry:
BH Page to set cursor
DL Character column position
DH Character row position
AH = 03h Get cursor position of page
Entry:
BH Page to return cursor
Exit:
DL Character column position
DH Character row position
CL Cursor top scan line
CH Cursor bottom scan line
AH = 05h Change displayed (active) page
Entry:
AL Page number to display
AH = 06h Scroll active page up
Entry:
CL Upper left column to scroll up
CH Upper left row to scroll up
DL Lower right column to scroll up
DH Lower right row to scroll up
BH Attribute for blanked space
AL Number of lines to scroll up
0 = Blank screen
AH = 07h Scroll active page down
Entry:
CL Upper left column to scroll down
CH Upper left row to scroll down
DL Lower right column to scroll down
DH Lower right row to scroll down
BH Attribute for blanked space
AL Number of lines to scroll down
0 = Blank screen
AH = 08h Read character and attribute
Entry:
BH Video page to read character
Exit:
AL Character
AH Character attribute
AH = 09h Write character and attribute
Entry:
AL Character to write
BL Character attribute (alpha)
Character color (graphics)
BH Page to write character
CX Count of characters to write