Re: [cc65] No ASCII mapping?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2013-01-25 10:54:28
On Fri, Jan 25, 2013 at 09:26:25AM +0200, thefox xofeht wrote:
>    Or if you can't use "-t none", you can use this snippet:
>    .repeat 255, i
>      .charmap i+1, i+1
>    .endrepeat
>    This will affect the entire module and the default PETSCII mapping can't
>    be restored later on (other than by using .charmap again).

This works for the assembler. 

But when doing similar things with C code, beware: If you're linking against
the platform libraries, these have been compiled with the standard character
translation. So if you change your character translation, stuff like stuff
like isupper, sprintf, ... will not work.

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 Fri Jan 25 10:54:35 2013

This archive was generated by hypermail 2.1.8 : 2013-01-25 10:54:38 CET