From: cuz Date: Mon, 25 Feb 2008 07:47:04 +0000 (+0000) Subject: Oliver Schmidt fixed errors in the LINE and SETPIXELCLIP routines. X-Git-Tag: V2.12.0~45 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=263b7863a36c463145a3226e96573c1eb2bbce0a;p=cc65 Oliver Schmidt fixed errors in the LINE and SETPIXELCLIP routines. git-svn-id: svn://svn.cc65.org/cc65/trunk@3812 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/c128/c128-640-200-2.s b/libsrc/c128/c128-640-200-2.s index e195a4a86..3dfed639f 100644 --- a/libsrc/c128/c128-640-200-2.s +++ b/libsrc/c128/c128-640-200-2.s @@ -141,6 +141,7 @@ NY: .res 2 Y3: DX: .res 1 DY: .res 1 +AX: .res 1 AY: .res 1 ; Text output stuff @@ -508,25 +509,25 @@ SETPIXELCLIP: bmi @finito ; y<0 lda X1+1 bmi @finito ; x<0 - lda xres - ldx xres+1 + lda X1 + ldx X1+1 sta ADDR stx ADDR+1 ldx #ADDR - lda X1 - ldy X1+1 - jsr icmp ; if (xres