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

GetPoint

Function number: 07

Returns the current color of the point at the specified X, Y position.

Register entry values

AX = EE07
SI = X position
DI = Y position

Register exit values

AX = Color of point

Example

MOV     AX,0EE07H       ;Get color of point function
MOV SI,160 ;X position
MOV DI,100 ;Y position
INT 10H ;Call GRAFIX
MOV [Point],AX ;Store color of point

Comments

None