Re: [cc65] Linker config for assembler users

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-11-14 17:49:46
On Sun, Nov 14, 2010 at 02:21:56PM +0100, Per Olofsson wrote:
> > 2. How about the usable RAM area? Should it be limited to $A000 by default?
> >   My current version uses $FFFF, which means that any errors will go
> >   undetected.
>
> $cfff. I/O and kernal are still used implicitly by all apps as IRQs
> are enabled, so $d000-$ffff isn't usable unless you set up memory
> yourself.

Ok, that does probably make more sense than $FFFF.

> > 3. Is it desirable to have an optional BASIC SYS header, or is this used so
> >   rarely that people are better served with a less complex linker config?
>
> Instead of making the linker create it, why not offer a project
> template with basic startup and hello world?

Of course that could be done, too. But the SYS header is already there, so
it's rather easy to add it by importing a symbol.

>         .word 1970 + (.time / 31557600)

Nice:-) I'm usually using .version here, but your idea is also charming.

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 Sun Nov 14 17:49:56 2010

This archive was generated by hypermail 2.1.8 : 2010-11-14 17:49:59 CET