Re: [cc65] Character encoding - configurable?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2007-03-25 14:09:37
On Sun, Mar 25, 2007 at 01:17:13PM +0200, Andreas Koch wrote:
> i'm working on a little game with modified charset.
> I noticed CC65 is translating uppercase letters to
> inverted uppercase chars (0xC0+) and lowercase
> letters to (uninverted) uppercase chars (0x40+).

cc65 is translating the source character set (ISO-8859-1) to the target
character set (PETSCII). This mapping can be changed with the "charmap"
#pragma.

From the code in your mail, it seems however, that you are trying to write
PETSCII data directly to the screen. This will not work regardless of the
translation, since screen codes and character set are different on the
Commodore machines.

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, 25 Mar 2007 14:09:37 +0200

This archive was generated by hypermail 2.1.8 : 2007-03-25 14:09:52 CEST