Obtains the current position of the cursor on the display, in text coordinates.
Call with:
AH = 03H
BH = page
Returns:
CH = starting line for cursor
CL = ending line for cursor
DH = row (y coordinate)
DL = column (x coordinate)
Note:
A separate cursor is maintained for each display page, and each can be inspected independently with this function regardless of the currently active page. The number of available display pages depends on the video adapter and current display mode. See Int 10H Function 05H.