Re: [cc65] Linker config for assembler users (was: ca65 for stand-alone asm projects)

From: Stefan Wessels <swessels1email.com>
Date: 2010-11-13 20:58:06
On 2010-11-13, at 11:08 AM, Groepaz wrote:

> On Samstag 13 November 2010, Ullrich von Bassewitz wrote:
>> Using the new linker features, I'm currently experimenting with such a
>> linker config for assembler programmers (for the C64 as a first take).
>> When doing so, a few questions came up:
>> 
>> 1. What is a reasonable default start address for a config targeted to
>>   assembler programmers? $801? $C000? $4000?
> 
> personally, i would suggest 0800 even, perfect location imho, all my stuff 
> starts there :)
> 
I am quite new to all this - this is my first post.

After a compile, with VICE, I type start myapp.prg on the command line which starts VICE and also does a load and run.  To have the program have the basic stub and start at $0801 is very effective.  On Power64 which I use on OS X, it's almost the same.  I still have to type RUN which is shorter than any SYS xxxx command.  I very much prefer this ease of use as a default.

Is it possible to do this "smart" and have it, if no --start-addr is given target $0801 with a basic stub or otherwise target the specified address with no stub, and lastly have the option forcing the stub off (so you can target $0801 with no stub)?  I don't really know what I am talking about with linker configs - I have hardly looked into the config files other than to add optional=yes to some things so I do't get warnings and I know I need one or I don't get the code generated properly.  As I said, I am very new to all of this, but my suggestion seems, to me, to satisfy casual users, newcomers and allow flexibility for those that do know what they want/need.

Thank you
Stefan
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Nov 13 20:58:27 2010

This archive was generated by hypermail 2.1.8 : 2010-11-13 20:58:30 CET