1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
cc65/libsrc/tgi/tgi_circle.s

22 lines
475 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 2009-11-05
;
; void __fastcall__ tgi_circle (int x, int y, unsigned char radius);
; /* Draw a circle in the current drawing color */
.include "tgi-kernel.inc"
.import pusha
;----------------------------------------------------------------------------
;
.code
.proc _tgi_circle
jsr pusha ; Push as rx
jmp _tgi_ellipse ; Draw an ellipse with rx=ry
.endproc