Re: [cc65] Can't print Home/Clear char. on CBM computers!

From: Marc 'BlackJack Rintsch <>
Date: 2009-09-27 09:59:51
On Sunday 27 September 2009, wrote:

> When compiling for Commodore computers, printf  ("\x93") and puts
> ("\x93") don't seem to work.  Neither does \x13.  I  did this on
> several versions of cc65 across time, and the same bug  persists.

It's not a bug, it's a feature.  :-)  The linker translates strings from 
ASCII to PETASCII so 0x93 in a string will be another value in the 

A workaround would be ``printf("%c", 0x93);``.

	Marc 'BlackJack' Rintsch
Reality is for people who can't cope with drugs.

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Sep 27 09:59:59 2009

This archive was generated by hypermail 2.1.8 : 2009-09-27 10:00:02 CEST