Re: [cc65] ld65 configuration files

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-01-06 18:54:28
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


-- 
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 Tue Jan 6 18:56:47 2009

This archive was generated by hypermail 2.1.8 : 2009-01-06 18:56:49 CET