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

XorFillBoxC

Function number: 47

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

Register entry values

AX = EE2F
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,0EE2FH       ;Xor fill box function
MOV BX,0 ;X1 position
MOV CX,0 ;Y1 position
MOV SI,100 ;X2 position
MOV DI,100 ;Y2 position
INT 10H ;Call GRAFIX

Comments

None