Re: [cc65] Overlays and addresses

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-07-12 11:55:03


Hi!

As some people have already noticed, I'm currently busy with other projects,
so I'm not as responsive as usual. Please bear with me, this will hopefully
change again.

On Sat, Jul 12, 2003 at 02:01:48AM -0700, David Holz wrote:
> Any suggestions?  Anything I'm missing?

You are missing:

3) Link the whole project in one run and tell the linker to produce more than
one output file. This way, the linker will resolve symbols automatically, and
there's no need for any kludges. This is what I've done with Elite128. Here is
a snippet from the linker config that shows that it generates 8 output files:

  MEMORY {
      BASICBUF:	start = $00200, size = $0059, type = rw, file = "";
      CASSBUF1:  	start = $0033C, size = $00C0, type = rw, file = "";
      CASSBUF2:	start = $0033C, size = $00C0, type = rw, file = "_boot";
      LOCODE:   	start = $00700, size = $3900, type = rw, file = "_locode";
      SCRFILL:	start = $07680, size = $0180, type = rw, file = "_hicode", fill = yes;
      HICODE:    	start = $07800, size = $5800, type = rw, file = "_hicode";
      HIDATA:   	start = $0D000, size = $2A97, type = rw, file = "_hidata";
      PLATFORM:	start = $0F880, size = $0200, type = rw, file = "_c64", define = yes;
      REU:	start = $0F880, size = $0200, type = rw, file = "_reu";
      HEAP:	start = $0FA80, size = $0540, type = rw, file = "";
      HI816:   	start = $10000, size = $10000,type = rw, file = "_hi816";
      REUDATA:	start = $00000, size = $10000,type = rw, file = "_reudata";
  }

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-07-12 11:55:20 CEST