]> git.sur5r.net Git - cc65/blob - libsrc/tgi/tgi_circle.s
Added strftime
[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         .export         _tgi_circle
12
13 _tgi_circle:
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