Re: [cc65] ld65 configuration files

From: Tachdaun <tachdaun1gmail.com>
Date: 2009-01-06 23:03:56
Is there an asm file with a .segment directive that is being compiled or linked when I specify NES as a target?
Where can I find it?

Ullrich von Bassewitz wrote:
On Mon, Jan 05, 2009 at 05:22:43PM -0300, Tachdaun wrote:
  
The offset $0005 of the iNES header must be 0 ( speciefies number of
CHR-ROM banks ) to have access to CHR-RAM, if I change it
by hand after compiling, it works fine. I just want to know how to
specify it from the linker config file. ( if it's possible )
    

I don't know enoigh about the NES to understand the details, but object files
can reference segment sizes. So the value in the header can reference the size
of a segment or memory size.

  
And, how can I specify the contents of a memory area or segment, as
HEADER, in this example?
    

Anything that follows a ".segment" directive in an assembler file goes into
the memory area specified in the linker config file.

Regards


        Uz


  
---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail. Received on Tue Jan 6 22:04:26 2009

This archive was generated by hypermail 2.1.8 : 2009-01-06 22:04:28 CET