Re: [cc65] using newline in cprintf on c64

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-03-07 00:44:44


Hi!

On Fri, Mar 07, 2003 at 12:27:02AM +0100, 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
> ?

Yes. The reason is to have more control over the cursor (and of course that
the "original" conio library behaves like that).

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

Yes.

> [1] I hate such situations :) Just like off-by-one bugs in asm/C code...

I'm sorry for not communicating this on the developers list. However, there
were several discussions about cr/lf behaviour on the cc65 mailing list, so I
did assume that everybody knows about it. Maybe I should make it a FAQ...

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de 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:44:53 CET