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

XorLine

Function number: 38

XORs a line starting at the upper left X, Y position to the lower right X, Y position using the current drawing color.

Register entry values

AX = EE26
BX = Upper left X position
CX = Upper left Y position
SI = Lower right X position
DI = Lower right Y position

Register exit values

None

Example

MOV     AX,0EE26H       ;Xor line function
MOV BX,0 ;Upper left X
MOV CX,0 ;Upper left Y
MOV SI,319 ;Lower right X
MOV DI,199 ;Lower right Y
INT 10H ;Call GRAFIX

Comments

None