1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 06:30:16 +00:00
cc65/libsrc/osic1p
Stephan Mühlstrasser 8ec1f76b9c 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-07-21 03:22:52 +02:00
..
extra
bootstrap.s Remove stale comment. 2020-12-27 17:54:49 -05:00
cclear.s remove dangling spaces 2022-07-21 03:20:44 +02:00
cgetc.s
chline.s
crt0.s
ctype.s
cvline.s
doesclrscr.s
extzp.inc
extzp.s
gotox.s
gotoxy.s
gotoy.s
kbhit.s
oserror.s
osic1p.inc
osiscreen.inc Fix switched meaning of '\n' and '\r' 2022-07-21 03:22:52 +02:00
revers.s
screen-c1p-24x24.s
wherex.s
wherey.s