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

Circle

Function number: 15

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

Register entry values

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

Register exit values

None

Example

MOV     AX,0EE0FH       ;Draw 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.