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 - sta ADDR - stx ADDR+1 - ldx #ADDR lda X1 - ldy X1+1 - jsr icmp ; if (xres