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

From: Greg King <greg.king41verizon.net>
Date: 2009-09-30 11:22:06
From: Maspethrose7; on Saturday, Sept. 26, 2009; at 09:36 PM -0400
>
> When compiling for Commodore computers, printf("\x93") and puts("\x93")
> don't seem to work.  Neither does '\x13'.
> I  did that on several versions of cc65, across time;
> and, the same bug  persists.

cc65 knows how to translate several traditional control-character names:
(These are the translations for CBM targets.)
'\a' -- alert:  beep on C128
'\b' -- backspace:  delete
'\f' -- form-feed:  clear-screen (!!)
'\n' -- new-line:  line-feed in conio, return-with-line-feed in stdio
'\r' -- carriage-return:  return-without-line-feed in conio, usually
        ignored in stdio
'\t' -- TAB

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Sep 30 11:38:53 2009

This archive was generated by hypermail 2.1.8 : 2009-09-30 11:38:55 CEST