Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 3

GetCursorPos

Function number: 26

Returns the current graphics cursor position in text format.

Register entry values

AX = EE1A

Register exit values

BX = Current column
CX = Current row

Example

MOV     AX,0EE1AH       ;Get graphics cursor position function
INT 10H ;Call GRAFIX
MOV [Column],BX ;Store column
MOV [Row],CX ;Store row

Comments

None