Re: [cc65] Segment defines

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2007-06-22 10:06:51
Hi!

On Thu, Jun 21, 2007 at 11:27:36PM -0700, Mike Harris wrote:
> I'm trying to use the symbols defined by the linker for segment address. I
> have a segment named SPRITE, and I want to use the symbol __SPRITE_LOAD__ in
> my (assembly code). I put in a .import __SPRITE_LOAD__ command, but I still
> get "Unresolved external `__SPRITE_LOAD__' referenced".

You need to use "define = yes" in the SEGMENTS directive of the linker config
file. See the standard config files for examples.

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 Jun 22 10:07:02 2007

This archive was generated by hypermail 2.1.8 : 2007-06-22 10:07:05 CEST