From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-11-15 22:05:55
On Sat, Nov 15, 2003 at 03:53:37AM +0100, MagerValp wrote: > Ahh, that's right. While stdio just uses $ffd2, strings in the source > code (even hex codes line \xNN) are translated. I'm not too familiar > with the details here, maybe someone else..? There is currently no way to have untranslated strings. I'm thinking about using the 'L' suffix or something similar, but currently, you have to do without. One way is to use a char array, not a string: const char petscii_string[] = { 0x97, 0x23, 0x56, 0x00 }; Note that you have to supply the terminating zero. Another way is to place just the strings into a separate module that is translated with "-t none". Both methods should also work with the conio functions. Regards Uz -- Ullrich von Bassewitz uz_at_musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-11-15 22:10:49 CET