SECTION 6
Conversions and Interfaces
6-38 PEN*KEY
R
6100 Computer Programmer’s Reference Guide
INT 10h, Function AH = 02h: Set Cursor Position
BIOS, VROTATE
Sets the cursor position for the display page represented by BH. There is no erĆ
ror checking of cursor position to determine whether it is outside of the page
buffer. Applies to all video modes, though not visible in graphic modes. A page
need not be active for the function to perform properly. The cursor may be move
off the screen, causing it to disappear. Position (0, 0) is the upper left corner of
the display.
cursor_loc[page] is set to the value in DH and DL. The page number must be 0
for graphics modes. There are eight pages available for 40x25 text modes, numĆ
bered 0 7, and four pages for 80x25 text modes, numbered 0 4.
On Entry:
AH = 02h
BH = Display page number (zero based)
DH = Row
DL = Column
On Return:
None
INT 10h, Function AH = 03h: Read Cursor Position and Mode
BIOS, VROTATE
Returns the cursor position from the value in cursor_loc[page] for the page repreĆ
sented by BH in register DX. The page selected need not be active. The display
page value is equal to zero for graphic modes.
On Entry:
AH = 03h
BH = Display page number
On Return:
DH = Cursor row
DL = Cursor column
CX = Cursor type
CH = Start scan row in character box
CL = Ending scan row in character box
INT 10h, Function AH = 05h: Set Active Display Page
BIOS, VROTATE
Makes the page represented by AL the active display page. All page numbers
are zeroĆbased. Page zero is the default page number for all video modes and
starts at the beginning of the display memory. Pages 0ć7 may be selected for
modes 0ć7 and 0x0D. Pages 0ć3 may be selected for mode 0x0E. Pages 0 and 1
may be selected for modes 0x0F and 0x10. The cursor position and display inforĆ
mation are maintained for pages during switches.
"
NOTE:
For VROTATE.EXE, only pages 0 and 1 are supported.
On Entry:
AH = 05h
AL = Page number (zero based)
On Return:
None
6. Conversions and
Interfaces
Summary of Contents for PEN*KEY 6100
Page 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...
Page 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...
Page 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...
Page 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...