1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00
cc65/libsrc/osic1p
Stephan Mühlstrasser 44257b9b4a Fix switched meaning of '\n' and '\r'
When conio was implemented for the osic1p target, the cbm
target was used as a blueprint. But it was overlooked that the
cbm target encodes CR as 0x0A and LF as 0x0D, while the
osic1p target uses the ASCII encoding of CR and LF. Therefore
conio output of '\n' moved the active position to the start of the
line and '\r' moved the active position to the next line.

This change implements the correct semantics of '\n' and '\r'
in conio for the osic1p target.

Fixes #1747.
2022-05-18 18:57:52 +02:00
..
extra
bootstrap.s Remove stale comment. 2020-12-27 17:54:49 -05:00
cclear.s remove dangling spaces 2022-04-17 16:06:22 +02:00
cgetc.s
chline.s
crt0.s
ctype.s ctype size optimization 2020-02-03 20:45:09 +01:00
cvline.s
doesclrscr.s
extzp.inc
extzp.s
gotox.s
gotoxy.s
gotoy.s
kbhit.s Removed redundant LDA 2019-10-15 09:38:23 -04:00
oserror.s
osic1p.inc
osiscreen.inc Fix switched meaning of '\n' and '\r' 2022-05-18 18:57:52 +02:00
revers.s
screen-c1p-24x24.s
wherex.s
wherey.s