1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00

Merge pull request #1748 from smuehlst/issue-1747

Fix switched meaning of '\n' and '\r' for osic1p target
This commit is contained in:
Bob Andrews 2022-05-19 01:04:17 +02:00 committed by GitHub
commit dcdf7ade08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,13 +78,13 @@ _cputcxy:
; Plot a character - also used as internal function
_cputc: cmp #$0A ; CR?
_cputc: cmp #$0D ; CR?
bne L1
lda #0
sta CURS_X
beq plot ; Recalculate pointers
L1: cmp #$0D ; LF?
L1: cmp #$0A ; LF?
beq newline ; Recalculate pointers
cputdirect: