1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-29 13:31:59 +00:00
cc65/libsrc
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
..
apple2 remove dangling spaces 2022-04-17 16:06:22 +02:00
atari remove dangling spaces 2022-04-17 16:06:22 +02:00
atari2600 ctype size optimization 2020-02-03 20:45:09 +01:00
atari5200 remove dangling spaces 2022-04-17 16:06:22 +02:00
atari7800 Speed up the cursor a bit 2022-04-22 06:51:35 +03:00
atmos remove dangling spaces 2022-04-17 16:06:22 +02:00
c16 Exported the Commodore CHRIN and CHROUT Kernal functions, in the CBM libraries. 2021-03-03 17:39:53 -05:00
c64 remove dangling spaces 2022-04-17 16:06:22 +02:00
c128 remove dangling spaces 2022-04-17 16:06:22 +02:00
cbm remove dangling spaces 2022-04-17 16:06:22 +02:00
cbm510 Exported the Commodore CHRIN and CHROUT Kernal functions, in the CBM libraries. 2021-03-03 17:39:53 -05:00
cbm610 remove dangling spaces 2022-04-17 16:06:22 +02:00
common remove dangling spaces 2022-04-17 16:06:22 +02:00
conio remove dangling spaces 2022-04-17 16:06:22 +02:00
creativision remove dangling spaces 2022-04-17 16:06:22 +02:00
cx16 Upgraded the cx16 library to the Commander X16 Kernal ROM's prerelease 39. 2022-04-29 16:56:54 -04:00
dbg remove dangling spaces 2022-04-17 16:06:22 +02:00
em remove dangling spaces 2022-04-17 16:06:22 +02:00
gamate remove +x flag 2022-05-17 15:28:51 +02:00
geos-apple remove dangling spaces 2022-04-17 16:06:22 +02:00
geos-cbm remove dangling spaces 2022-04-17 16:06:22 +02:00
geos-common must include stdarg.h to use varargs 2022-05-08 19:29:57 +02:00
joystick remove dangling spaces 2022-04-17 16:06:22 +02:00
lynx Merge pull request #1676 from polluks2/patch-1 2022-05-10 01:32:10 +02:00
mouse remove dangling spaces 2022-04-17 16:06:22 +02:00
nes Merge branch 'master' into missing-purple 2022-05-17 15:34:51 +02:00
none ctype size optimization 2020-02-03 20:45:09 +01:00
osic1p Fix switched meaning of '\n' and '\r' 2022-05-18 18:57:52 +02:00
pce remove dangling spaces 2022-04-17 16:06:22 +02:00
pet Exported the Commodore CHRIN and CHROUT Kernal functions, in the CBM libraries. 2021-03-03 17:39:53 -05:00
plus4 remove dangling spaces 2022-04-17 16:06:22 +02:00
runtime remove dangling spaces 2022-04-17 16:06:22 +02:00
serial change driver _install calls from taking "void*" to "const void*" 2021-05-16 22:57:28 +02:00
sim6502 ctype size optimization 2020-02-03 20:45:09 +01:00
supervision Syncronize the Supervision crt0.s with its ld65 config files. 2021-05-21 03:32:43 -04:00
sym1 remove dangling spaces 2022-04-17 16:06:22 +02:00
telestrat fix space 2022-05-05 22:50:37 +02:00
tgi remove dangling spaces 2022-04-17 16:06:22 +02:00
vic20 Fixed cbm_k_readst() to work around a VIC-20 Kernal bug. 2021-03-25 15:22:18 -04:00
zlib zlib: Use correct (un)signedness of char in prototypes and functions. 2021-03-30 19:41:20 +02:00
Makefile build: allow empty prefix 2022-04-27 16:19:06 +00:00