From: cuz Date: Sun, 16 Jul 2000 20:24:10 +0000 (+0000) Subject: Fixed a bug in LF handling for the CBM machines X-Git-Tag: V2.12.0~3358 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f3605c162b4e60e9feecef5b2082dbdffa2e6d0f;p=cc65 Fixed a bug in LF handling for the CBM machines git-svn-id: svn://svn.cc65.org/cc65/trunk@156 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/c128/cputc.s b/libsrc/c128/cputc.s index c3ffd9ea0..e352282c6 100644 --- a/libsrc/c128/cputc.s +++ b/libsrc/c128/cputc.s @@ -6,7 +6,7 @@ ; .export _cputcxy, _cputc, cputdirect, putchar - .export advance, newline, plot + .export plot .import popa, _gotoxy .import xsize, revers @@ -54,16 +54,16 @@ advance: iny cpy xsize bne L9 - ldy #0 ; new line newline: + ldy #0 ; new line clc lda xsize adc SCREEN_PTR sta SCREEN_PTR bcc L4 inc SCREEN_PTR+1 -L4: clc - lda xsize + clc +L4: lda xsize adc CRAM_PTR sta CRAM_PTR bcc L5 diff --git a/libsrc/c64/cputc.s b/libsrc/c64/cputc.s index 79c17abbc..7e21a0a10 100644 --- a/libsrc/c64/cputc.s +++ b/libsrc/c64/cputc.s @@ -6,7 +6,7 @@ ; .export _cputcxy, _cputc, cputdirect, putchar - .export advance, newline, plot + .export plot .import popa, _gotoxy .import xsize, revers @@ -54,16 +54,16 @@ advance: iny cpy xsize bne L9 - ldy #0 ; new line newline: + ldy #0 ; new line clc lda xsize adc SCREEN_PTR sta SCREEN_PTR bcc L4 inc SCREEN_PTR+1 -L4: clc - lda xsize + clc +L4: lda xsize adc CRAM_PTR sta CRAM_PTR bcc L5 diff --git a/libsrc/cbm610/cputc.s b/libsrc/cbm610/cputc.s index 2a2a6fac6..fadebfab6 100644 --- a/libsrc/cbm610/cputc.s +++ b/libsrc/cbm610/cputc.s @@ -6,7 +6,7 @@ ; .export _cputcxy, _cputc, cputdirect, putchar - .export advance, newline, plot + .export plot .exportzp CURS_X, CURS_Y .import _gotoxy .import popa @@ -57,8 +57,8 @@ advance: iny cpy xsize bne L9 - ldy #0 ; new line newline: + ldy #0 ; new line clc lda xsize adc CharPtr diff --git a/libsrc/pet/cputc.s b/libsrc/pet/cputc.s index ed3282928..70b13b4d1 100644 --- a/libsrc/pet/cputc.s +++ b/libsrc/pet/cputc.s @@ -6,7 +6,7 @@ ; .export _cputcxy, _cputc, cputdirect, putchar - .export advance, newline, plot + .export plot .import popa, _gotoxy .import xsize, revers @@ -54,8 +54,8 @@ advance: iny cpy xsize bne L9 - ldy #0 ; new line newline: + ldy #0 ; new line clc lda xsize adc SCREEN_PTR diff --git a/libsrc/plus4/cputc.s b/libsrc/plus4/cputc.s index 62e721d91..abf072992 100644 --- a/libsrc/plus4/cputc.s +++ b/libsrc/plus4/cputc.s @@ -6,7 +6,7 @@ ; .export _cputcxy, _cputc, cputdirect, putchar - .export advance, newline, plot + .export plot .import popa, _gotoxy .import xsize, revers @@ -54,16 +54,16 @@ advance: iny cpy xsize bne L9 - ldy #0 ; new line newline: + ldy #0 ; new line clc lda xsize adc SCREEN_PTR sta SCREEN_PTR bcc L4 inc SCREEN_PTR+1 -L4: clc - lda xsize + clc +L4: lda xsize adc CRAM_PTR sta CRAM_PTR bcc L5