Re: [cc65] Romable configuration / run-time library?

From: Greg King <greg.king51verizon.net>
Date: 2013-01-23 16:53:47
From: "Darryl Sokoloski"; on Tuesday, January 22, 2013; at 5:14 PM -0500
>
> One thing that I couldn't do, unfortunately, is pull in the debug
> routines. I guess, because of how I segmented the ROM, I don't have
> enough space for it.
>
> This is probably a silly question; but, do you know of a way that I can
> somehow tell the linker to address "Start:", in crt0.s, to $D3B6; thus,
> eliminating the segmentation I'm doing with "STARTUP":
>
> MEMORY {
>    ZP:         file = "", start = $0055, size = $001A, define = yes;
>    RAM:        file = "", start = $0400,
>                size = $8000 - $0400 - __STACKSIZE__, define = yes;
>    ROM:        file = %O, start = $B000, size = $23B6, fill = yes;
>    STARTUP:    file = %O, start = $D3B6, size = $0C4A, fill = yes,
> define = yes;
> }

The SEGMENTS definitions can have a "start=" attribute; but, it won't 
change anything.  You still must make a divided ROM.  LD65 cannot "wrap" a 
segment around another segment; all parts of each segment must sit in its 
single block.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Jan 23 18:22:33 2013

This archive was generated by hypermail 2.1.8 : 2013-01-23 18:22:40 CET