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

XorCircle

Function number: 48

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

Register entry values

AX = EE30
SI = X origin
DI = Y origin
BX = Radius

Register exit values

None

Example

MOV     AX,0EE30H       ;Xor circle function
MOV SI,160 ;X origin
MOV DI,100 ;Y origin
MOV BX,50 ;Radius
INT 10H ;Call GRAFIX

Comments

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