Added tgi_circle and tgi_ellipse functions. The latter works, but could be

optimized.



git-svn-id: svn://svn.cc65.org/cc65/trunk@4445 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-11-05 17:14:29 +00:00
parent a08b7d4daf
commit 78070d8bfb
6 changed files with 157 additions and 20 deletions

View File

@@ -1,16 +1,21 @@
;
; Ullrich von Bassewitz, 21.06.2002
; 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 incsp4
.import pusha
;----------------------------------------------------------------------------
;
.code
.proc _tgi_circle
; For now
jmp incsp4
jsr pusha ; Push as rx
jmp _tgi_ellipse ; Draw an ellipse with rx=ry
.endproc