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

EllipseC

Function number: 51

Draws an ellipse centered at the specified X, Y position using the specified major and minor axes and color.

Register entry values

AX = EE33
SI = X origin
DI = Y origin
BX = Major axis
CX = Minor axis
DX = Ellipse color

Register exit values

None

Example

MOV     AX,0EE33H       ;Ellipse with color function
MOV SI,160 ;X origin
MOV DI,100 ;Y origin
MOV BX,50 ;Major axis
MOV CX,75 ;Minor axis
MOV DX,7 ;Ellipse color
INT 10H ;Call GRAFIX

Comments

See the 'Ellipse' function in chapter 2 for more information.