2002-06-21 13:39:32 +00:00
|
|
|
;
|
2009-11-05 17:14:29 +00:00
|
|
|
; Ullrich von Bassewitz, 2009-11-05
|
2002-06-21 13:39:32 +00:00
|
|
|
;
|
|
|
|
; void __fastcall__ tgi_circle (int x, int y, unsigned char radius);
|
|
|
|
; /* Draw a circle in the current drawing color */
|
|
|
|
|
|
|
|
.include "tgi-kernel.inc"
|
|
|
|
|
2009-11-05 17:14:29 +00:00
|
|
|
.import pusha
|
2002-06-21 13:39:32 +00:00
|
|
|
|
2009-11-05 17:14:29 +00:00
|
|
|
|
|
|
|
;----------------------------------------------------------------------------
|
|
|
|
;
|
|
|
|
|
|
|
|
.code
|
2003-02-11 12:37:46 +00:00
|
|
|
.proc _tgi_circle
|
|
|
|
|
2009-11-05 17:14:29 +00:00
|
|
|
jsr pusha ; Push as rx
|
|
|
|
jmp _tgi_ellipse ; Draw an ellipse with rx=ry
|
2002-06-21 13:39:32 +00:00
|
|
|
|
2003-02-11 12:37:46 +00:00
|
|
|
.endproc
|