Re: [cc65] using screen codes instead of PETSCII

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-11-27 11:47:14
Hi!

On Sun, Nov 27, 2011 at 01:43:03AM +0100, Gábor Lénárt wrote:
> I do direct screen access (writing into the video RAM) to display text using
> only ca65 (no C code). Text itself is ASCII (as I am coding on PC, for sure,
> since cc65 suite is a cross-platform compiler solution). Can I have any easy
> was to do the translation (at least for "normal" characters) by the
> compiler? Specifying a -t option does ASCII->PETSCII translation, I would
> like something similar for ASCII->screen codes.

See the cbm macro package described here:

        http://www.cc65.org/doc/ca65-13.html#ss13.3

If the scrcode macro is not exactly what you want, you can easily write a
similar macro yourself.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Nov 27 11:47:22 2011

This archive was generated by hypermail 2.1.8 : 2011-11-27 11:47:25 CET