1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 22:25:28 +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

View File

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