Re: [cc65] using newline in cprintf on c64

Date view Thread view Subject view

From: Groepaz (
Date: 2003-03-07 00:37:17

On Friday 07 March 2003 00:27, Maciej Witkowiak wrote:
> So I ask the last time to be sure[1]: in cc65 conio characters:
> #13
> does carriage return and does not advance the line
> #10
> advances the line but does not do carriage return
> ?

to be exact, '\n' means "newline" on all platforms, and '\r' means carriage 
return. the codes $13/$10 are c64 specific and may be different on other 
platforms. (they should be mostly the same though)

> I see that GEOS conio now does CR+LF for #13 and LF for #10.
> That's wrong, right?

yep :)

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-03-07 00:32:57 CET