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

XorCircleC

Function number: 49

XORs a circle centered at the specified X, Y position using the specified radius, and color.

Register entry values

AX = EE31
SI = X origin
DI = Y origin
BX = Radius
DX = Circle color

Register exit values

None

Example

MOV     AX,0EE31H       ;Xor circle with color function
MOV SI,160 ;X origin
MOV DI,100 ;Y origin
MOV BX,50 ;Radius
MOV DX,8 ;Circle color
INT 10H ;Call GRAFIX

Comments

See the 'SetApect' function in chapter 2 for description of the aspect ratio.