Re: C64 (or possible other CBMs too): PETSCII -> screen codes conversion table in ROM?

From: Gábor Lénárt <>
Date: Mon, 12 Dec 2011 20:58:18 +0100
Message-ID: <>
On Mon, Dec 12, 2011 at 06:31:26PM +0100, Rob Clarke wrote:
> > Hi,
> > ......
> > since it also prints onto the screen. But I want to avoid the "overhead"
> > of calling CHROUT, so my question is: can I found a conversion table
> > somewhere in the ROM, I can use, like this?
> >
> You may know this already but some C= aware assemblers (eg 64tass)
> natively understand the C= screen codes, so you can define strings in your
> source which get translated at compile time, thus saving you the trouble.

Surely, that's why I wrote: most of the text data I want to display is in
the right format already, though I does this with ca65 (assembler of cc65)
and not 64tass what you mentioned (but the theory is similar).  However
still I have some data (read from files for example) that I have no control
over, as it's an input for my program got in run-time.  The pre-defined text
is already in "native screen code" format, or whatever we want to call that

       Message was sent through the cbm-hackers mailing list
Received on 2011-12-12 20:00:31

Archive generated by hypermail 2.2.0.