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

XorLineToC

Function number: 41

XORs a line from the current X, Y position to specified X, Y position using the specified color.

Register entry values

AX = EE29
SI = Ending X position
DI = Ending Y position
DX = Line color

Register exit values

None

Example

MOV     AX,0EE29H       ;Xor line to with color function
MOV SI,319 ;Ending X
MOV DI,199 ;Ending Y
MOV DX,5 ;Line color
INT 10H ;Call GRAFIX

Comments

None