Return the current cursor position inside the current window. The coordinates are 0 based. The low byte will be the X coordinate. The high byte will be the Y coordinate.
Examples:
GetWhereXY dx ; return DL current X, DH current Y GetWhereXY [di] ; store current XY at [DS:DI]
See also: GotoXY, GetLimitXY and Window.