1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/libsrc
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
..
apple2 remove dangling spaces 2022-07-21 03:20:44 +02:00
atari remove dangling spaces 2022-07-21 03:20:44 +02:00
atari2600 ctype size optimization 2020-02-03 20:45:09 +01:00
atari5200 remove dangling spaces 2022-07-21 03:20:44 +02:00
atari7800 Speed up the cursor a bit 2022-07-21 03:20:45 +02:00
atmos remove dangling spaces 2022-07-21 03:20:44 +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-07-21 03:20:44 +02:00
c128 remove dangling spaces 2022-07-21 03:20:44 +02:00
cbm remove dangling spaces 2022-07-21 03:20:44 +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-07-21 03:20:44 +02:00
common remove dangling spaces 2022-07-21 03:20:44 +02:00
conio remove dangling spaces 2022-07-21 03:20:44 +02:00
creativision remove dangling spaces 2022-07-21 03:20:44 +02:00
cx16 Upgraded the cx16 library to the Commander X16 Kernal ROM's prerelease 39. 2022-07-21 03:22:52 +02:00
dbg remove dangling spaces 2022-07-21 03:20:44 +02:00
em remove dangling spaces 2022-07-21 03:20:44 +02:00
gamate remove +x flag 2022-07-21 03:22:52 +02:00
geos-apple remove dangling spaces 2022-07-21 03:20:44 +02:00
geos-cbm remove dangling spaces 2022-07-21 03:20:44 +02:00
geos-common must include stdarg.h to use varargs 2022-07-21 03:22:52 +02:00
joystick remove dangling spaces 2022-07-21 03:20:44 +02:00
lynx smarter manufacturer 2022-07-21 03:22:52 +02:00
mouse remove dangling spaces 2022-07-21 03:20:44 +02:00
nes remove dangling spaces 2022-07-21 03:20:44 +02:00
none ctype size optimization 2020-02-03 20:45:09 +01:00
osic1p Fix switched meaning of '\n' and '\r' 2022-07-21 03:22:52 +02:00
pce remove dangling spaces 2022-07-21 03:20:44 +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-07-21 03:20:44 +02:00
runtime remove dangling spaces 2022-07-21 03:20:44 +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-07-21 03:20:44 +02:00
telestrat fix space 2022-07-21 03:22:52 +02:00
tgi remove dangling spaces 2022-07-21 03:20:44 +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-07-21 03:22:52 +02:00