Re: [cc65] Repeated string in struct array

From: Joseph Rose <rose.joseph121yahoo.com>
Date: 2011-07-11 18:10:51
I am compiling a text adventure for the c64 using the June 2011�snapshot and the -Or optimization.� I may use Hidden64.� If I use Hidden64, I may want to put some strings in normal RAM and some in hidden RAM.� For now, I don't have to.� The issue is that I want to give two or more rooms the same name but use a pointer in the second's name to the first's name.� BTW, I didn't check the output.� I understand that cc65 only writes a repeated string only once, but I'd still like to write the name once myself.� :)

From: Ullrich von Bassewitz <uz@musoftware.de>
To: cc65@musoftware.de
Sent: Monday, July 11, 2011 10:23 AM
Subject: Re: [cc65] Repeated string in struct array


On Mon, Jul 11, 2011 at 06:29:11AM -0700, Joseph Rose wrote:
>� � I want to use a pointer in room[1].location to room[0].location instead of
>� � using the default mechanism to concatenate strings.�

Which compiler version and which compilation flags are you using? Did you
check the generated code?

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.
----------------------------------------------------------------------
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 Jul 11 18:11:07 2011

This archive was generated by hypermail 2.1.8 : 2011-07-11 18:11:10 CEST