; 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
; 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
; 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
stx IndReg
rts
-
+
; 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
; 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