]> git.sur5r.net Git - cc65/commitdiff
Fixed cr/lf handling
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 8 Jun 2000 18:02:13 +0000 (18:02 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 8 Jun 2000 18:02:13 +0000 (18:02 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@30 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 99253d04ab6c066b0479478289484631df2fd56d..c3ffd9ea0350bf10d64079c1d62527c5393af212 100644 (file)
@@ -21,13 +21,13 @@ _cputcxy:
 
 ; Plot a character - also used as internal function
 
-_cputc: cmp    #$0D            ; CR?
+_cputc: cmp            #$0A            ; CR?
        bne     L1
        lda     #0
        sta     CURS_X
                beq     plot            ; Recalculate pointers
 
-L1:    cmp     #$0A            ; LF?
+L1:    cmp     #$0D            ; LF?
                bne     L2
        ldy     CURS_Y
        iny
index bb7384a6a1a6bf0dc7b844edcd93d3dcdeb8a4a3..79c17abbce610975474a8f2d606ab58788817d95 100644 (file)
@@ -21,13 +21,13 @@ _cputcxy:
 
 ; Plot a character - also used as internal function
 
-_cputc: cmp    #$0D            ; CR?
+_cputc: cmp            #$0A            ; CR?
        bne     L1
        lda     #0
        sta     CURS_X
                beq     plot            ; Recalculate pointers
 
-L1:    cmp     #$0A            ; LF?
+L1:    cmp     #$0D            ; LF?
                bne     L2
        ldy     CURS_Y
        iny
index 4e8d94233d1b10c786fad2bc844d52a5faf6530e..2a2a6fac6d7731dcd09544e3bd398ac0a709ed5d 100644 (file)
@@ -24,13 +24,13 @@ _cputcxy:
 
 ; Plot a character - also used as internal function
 
-_cputc: cmp    #$0D            ; CR?
+_cputc: cmp            #$0A            ; CR?
        bne     L1
        lda     #0
        sta     CURS_X
                beq     plot            ; Recalculate pointers
 
-L1:    cmp     #$0A            ; LF?
+L1:    cmp     #$0D            ; LF?
                bne     L2
        ldy     CURS_Y
        iny
@@ -99,4 +99,4 @@ putchar:
        stx     IndReg
        rts
 
-                        
+
index 3c8b21d147a0e7c277f9f27ebdf36f797d4c7368..ed3282928b15cba567b8cc50b619595cc2e04f4d 100644 (file)
@@ -21,13 +21,13 @@ _cputcxy:
 
 ; Plot a character - also used as internal function
 
-_cputc: cmp    #$0D            ; CR?
+_cputc: cmp            #$0A            ; CR?
        bne     L1
        lda     #0
        sta     CURS_X
                beq     plot            ; Recalculate pointers
 
-L1:    cmp     #$0A            ; LF?
+L1:    cmp     #$0D            ; LF?
                bne     L2
        ldy     CURS_Y
        iny
index 4bf9d2e86e332a438f19b0f2d9996a30f463e387..62e721d91733d1022b8561c94d3b8957649013a8 100644 (file)
@@ -21,13 +21,13 @@ _cputcxy:
 
 ; Plot a character - also used as internal function
 
-_cputc: cmp    #$0D            ; CR?
+_cputc: cmp            #$0A            ; CR?
        bne     L1
        lda     #0
        sta     CURS_X
                beq     plot            ; Recalculate pointers
 
-L1:    cmp     #$0A            ; LF?
+L1:    cmp     #$0D            ; LF?
                bne     L2
        ldy     CURS_Y
        iny