Re: [cc65] use ld65 to link in binary data?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2008-08-08 09:08:59
Good morning!

On Thu, Aug 07, 2008 at 03:42:17PM -0700, Mike Harris wrote:
> Is there an easy way to get ld65 to link in binary data? I'd like to use it to
> copy in the CHR-ROM for a NES rom file.

Use an assembler module that contains an .incbin instruction. Assemble this
file and link the resulting object.

> Would this CHR-ROM area be better as a memory or segment? It's on a different
> bus than the main address bus in the NES, so I was thinking make a memory and
> a segment.

I don't know enough about the NES to comment on this. Maybe someone else?

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 Aug 8 09:09:06 2008

This archive was generated by hypermail 2.1.8 : 2008-08-08 09:09:09 CEST