]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug in LF handling for the CBM machines
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 16 Jul 2000 20:24:10 +0000 (20:24 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 16 Jul 2000 20:24:10 +0000 (20:24 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@156 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c128/cputc.s
libsrc/c64/cputc.s
libsrc/cbm610/cputc.s
libsrc/pet/cputc.s
libsrc/plus4/cputc.s

index c3ffd9ea0350bf10d64079c1d62527c5393af212..e352282c6e81dfacd63f1f356db198612f564d83 100644 (file)
@@ -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
index 79c17abbce610975474a8f2d606ab58788817d95..7e21a0a1027a8b3f1868d33d8a72a0ea1296707f 100644 (file)
@@ -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
index 2a2a6fac6d7731dcd09544e3bd398ac0a709ed5d..fadebfab657023b787bb72271e57e8b3a09524f9 100644 (file)
@@ -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
index ed3282928b15cba567b8cc50b619595cc2e04f4d..70b13b4d1bb15c9d769ab8b782e99d24ed0b7af7 100644 (file)
@@ -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
index 62e721d91733d1022b8561c94d3b8957649013a8..abf072992b1bc3ce92c960eca8526e5e9cc6fc70 100644 (file)
@@ -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