mirror of
https://github.com/cc65/cc65.git
synced 2024-10-31 20:06:11 +00:00
e12bd13e16
git-svn-id: svn://svn.cc65.org/cc65/trunk@4452 b7a2c559-68d2-44c3-8de9-860c34a00d81
28 lines
492 B
ArmAsm
28 lines
492 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 22.06.2002
|
|
;
|
|
; Helper function for tgi_line and tgi_lineto. Pops/stores X2/Y2.
|
|
;
|
|
|
|
.include "tgi-kernel.inc"
|
|
|
|
.import popax
|
|
|
|
.proc tgi_linepop
|
|
|
|
sta tgi_clip_y2 ; Y2
|
|
stx tgi_clip_y2+1
|
|
sta _tgi_cury
|
|
stx _tgi_cury+1
|
|
|
|
jsr popax
|
|
|
|
sta tgi_clip_x2 ; X2
|
|
stx tgi_clip_x2+1
|
|
sta _tgi_curx
|
|
stx _tgi_curx+1
|
|
rts
|
|
|
|
.endproc
|
|
|