Fixed cr/lf handling

git-svn-id: svn://svn.cc65.org/cc65/trunk@30 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-06-08 18:02:13 +00:00
parent f49423682e
commit 874b728ecd
5 changed files with 11 additions and 11 deletions

View 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

View 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

View 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

View 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

View 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