1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +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 Macro-based implementation of screen layout configuration modules. 2015-03-23 19:02:45 +01:00
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 Address review comments 2019-10-15 09:38:23 -04:00
chline.s Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
crt0.s Renamed RAM to MAIN for all disk based targets. 2016-03-07 01:28:55 +01:00
ctype.s ctype size optimization 2020-02-03 20:45:09 +01:00
cvline.s Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
doesclrscr.s Added two functions that make it easier to write portable programs for Ohio Scientific computers. 2017-06-26 02:34:23 -04:00
extzp.inc
extzp.s
gotox.s
gotoxy.s Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
gotoy.s
kbhit.s Removed redundant LDA 2019-10-15 09:38:23 -04:00
oserror.s
osic1p.inc New OSI input routine based on disassembly of ROM code. 2019-10-15 09:38:23 -04:00
osiscreen.inc Fix switched meaning of '\n' and '\r' 2022-05-18 18:57:52 +02:00
revers.s Added two functions that make it easier to write portable programs for Ohio Scientific computers. 2017-06-26 02:34:23 -04:00
screen-c1p-24x24.s Macro-based implementation of screen layout configuration modules. 2015-03-23 19:02:45 +01:00
wherex.s
wherey.s