Re: [cc65] C64 screen display codes with cc65?

Date view Thread view Subject view

From: Geoffrey Wossum (
Date: 2003-11-14 17:45:04

On Friday 14 November 2003 10:31 am, Wurttemberg, Raj wrote:
> cprintf ("Hello \0x97 orld! ");
> would print an inverse "W" for the \0x97 but it does not. What am I doing
> wrong?

You want "Hello \x97orld!",.  The '\0' is a the escape sequence for a NUL 
character, effective ending the string.  \x is the escape sequence for 
inserting characters in by their hex code.

Now, I don't know if that'll actually print the character for you, I just saw 
a C mistake...

Geoffrey Wossum
Software Engineer
Long Range Systems -  
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-11-14 17:53:18 CET