Hello there, I am currently working on a graphics program and I am having a little trouble in figuring out how to draw a circle. If anyone might have any suggestions I would much appreciate it. I have included some code in which I drew a single line.
c14disply proc near
push ax
push bx
push cx
push dx
mov bx,00
mov cx,100
mov dx,320
c24:
mov ah,0ch
mov al,06h
int 10h
inc cx
cmp cx,550
jne c24
mov cx,100
inc dx
cmp dx,322
jne c24
pop dx
pop cx
pop bx
pop ax
ret
c14disply endp
c14disply proc near
push ax
push bx
push cx
push dx
mov bx,00
mov cx,100
mov dx,320
c24:
mov ah,0ch
mov al,06h
int 10h
inc cx
cmp cx,550
jne c24
mov cx,100
inc dx
cmp dx,322
jne c24
pop dx
pop cx
pop bx
pop ax
ret
c14disply endp