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

GetXY

Function number: 10

Returns the current X, Y position.

Register entry values

AX = EE0A

Register exit values

BX = Current X position
  CX = Current Y position

Example

MOV     AX,0EE0AH       ;Get current X, Y function
INT 10H ;Call GRAFIX
MOV [X],BX ;Store current X position
MOV [Y],CX ;Store current Y position

Comments

None