Video I/O - Sanyo MBC-550 Series User Manual

Table of Contents

Advertisement

Interrupt 10
Video I/O
These routines provide the CRT interface.
The following functions are provided:
(AH) = 0 Set mode (AL) contains mode value
(AL) = 2 80X25 BW
(AL) = 3 80X25 color
(AH) = 2 Set cursor position
(DH,DL) = Row, column (0,0) is upper left
(BH) = Page number (must be 0 for graphics
modes)
(AH) = 3 Read cursor position
(BH) = Page number (must be 0 for graphics
modes)
On exit (DH,DL) = Row, column of current
cursor
(CH,CL) = Cursor mode currently
set
(AH) s 5 Select active display page (valid only
for alpha modes)
(AL) = New page value (0-7 for modes 0&1,
0-3 for modes 2&3)
(AH) s 6 Scroll aotive page up
(AL) = Number of lines,
input lines
blanked at bottom of window
AL s 0 means blank entire window
(CH,CL) s Row, column of upper left corner
of scroll
(DH,DL) s Row, column of lower right corner
of scroll
(BH) = Attribute to be used on blank line
5-22
mx

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents