]> git.sur5r.net Git - cc65/blob - libsrc/tgi/tgi_circle.s
Comment additions and changes.
[cc65] / libsrc / tgi / tgi_circle.s
1 ;
2 ; Ullrich von Bassewitz, 21.06.2002
3 ;
4 ; void __fastcall__ tgi_circle (int x, int y, unsigned char radius);
5 ; /* Draw a circle in the current drawing color */
6
7         .include        "tgi-kernel.inc"
8
9         .import         popax
10         .importzp       tmp1
11
12 .proc   _tgi_circle
13
14         sta     tmp1            ; Get the coordinates
15         jsr     popax
16         jsr     tgi_popxy       ; Pop X/Y into ptr1/ptr2
17         jmp     tgi_circle      ; Call the driver
18
19 .endproc