Re: [cc65] using screen codes instead of PETSCII

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-11-28 20:52:45
On Mon, Nov 28, 2011 at 03:30:22PM +0100, Gábor Lénárt wrote:
> I have something like this for now. However it would be handy, if .CHARMAP
> supports mapping a "pool" not just one character, like this:
>
> .CHARMAP 1..9, 11..19   ; map 1..9 -> 11..19
>
> Maybe the second ..20 is not even needed as length of the range is already
> defined by the first parameter. I don't even dare to mention too much to
> allow multiple values with a single .CHARMAP like:
>
> .CHARMAP 1..9,11..19,   20,23 ; map 1..9->11..19, and 20 -> 23
>
> Well, I think it's a bit odd in syntax (the .. is that as well), so maybe
> it's not even a good idea to implement at all ...

Especially since .REPEAT works with .CHARMAP :-)

More seriously: .CHARMAP is not something in your everyday project. You need
it for a new machine or for a special setting. And for this purpose it's best
placed into an include file which is the reused. Which means, it's not really
a disadvantage if it's not as concise as possible.

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 Mon Nov 28 20:52:55 2011

This archive was generated by hypermail 2.1.8 : 2011-11-28 20:52:58 CET