Hold the maximum X and Y coordinate in variables instead of calculating them

when needed. The variables make signed compares in the line clipper easier.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4450 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-11-06 12:02:52 +00:00
parent eee4430061
commit e319fc217b
4 changed files with 37 additions and 12 deletions

View File

@@ -7,12 +7,12 @@
; */
.include "tgi-kernel.inc"
.import decax1
.proc _tgi_getmaxy
jsr _tgi_getyres
jmp decax1
lda _tgi_ymax
ldx _tgi_ymax+1
rts
.endproc