Re: [cc65] translate ascii into petascii

From: Greg King <gngking1erols.com>
Date: 2006-07-01 09:39:56
From: Johannes Braun; on Thursday, June 29, 2006; at 06:03 PM -0400
>
> > From: Johannes Braun; on Thursday, June 29, 2006; at 02:48 PM -0400
> >
> > I am assembling plain assembly sources using cl65, somthing like this:
> >
> > cl65 --start-addr 0x7fe -t none source.s
> >
> > But, since I don't specify a target, all character constants
> > will not be translated into ASCII.  So, what should I do?
>
> Groepaz schrieb:
> > What exactly do you want to do; create a plain binary without
> > the cc65 run-time (eg., crt0)?
>
> Erm, yes; but, I found out, in the meantime, by myself:  what I need
> to do is to assemble with ca65, with -t c64, but link with -t none,
> so that the translation will be done (by ca65), but ld65 won't try
> to link in the start-up code, run-time, etc.

Try this command:

cl65 -d -t c64 source.s -t none --start-addr 0x7fe

That "-d" option will show that cl65 will execute those two commands that
you discovered.
----------------------------------------------------------------------
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 Jul 1 09:43:51 2006

This archive was generated by hypermail 2.1.8 : 2006-07-01 09:43:54 CEST