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

From: Ullrich von Bassewitz <>
Date: 2013-01-23 18:24:04

On Tue, Jan 22, 2013 at 05:14:51PM -0500, Darryl Sokoloski wrote:
> > So, you can start "RAM:" at $400.
> Thanks!  Done...  recovered 13 bytes! :^)

Actually, this was a tip by Greg, not by me.

> By the way, I just wanted to reiterate again how impressed I am with
> your work (any everyone else who has contributed).


> 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":

No, sorry. There are other solutions, but I know of none which is better. BTW,
that's not really a cc65 problem. If you have just 12K and need some code to
go somewhere in between, the result is always a fragmentation of the memory

Since the startup code won't fill the upper 3 kilobytes, you could place
another memory area above and move some of the stuff there, that is currently
in ROM. That might free up enough space in ROM to be able to place the debug
routines there. They're 6K plus some conio stuff that is needed, so they won't
go above STARTUP. But having them is fun, because they implement a
"fullscreen" debugger for the 6502.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Jan 23 18:24:20 2013

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