Function 03h    Read Cursor Position - return the position of the cursor 

entry AH 03h

BH page number

00h in graphics modes

03h in modes 2 & 3

07h in modes 0 & 1

return CH top line for cursor (bits 4-0)

CL bottom line for cursor (bits 4-0)

DH row number (Y=0-24)

DL column number (X=0-79 or 0-39)

Sample Code:

\Asm\Lib\BIOS.INC -@BIOSVidCurGet MACRO page