Re: [cc65] Newbie question, using cc65 for Apple II assembly

From: Mark Lemmert <mark.lemmert1gmail.com>
Date: 2015-11-18 02:08:26
Oliver,

Thanks for your help!

When I tried those commands I received an error message that
"apple2-asm.cfg" could not be found. Do you know where I can obtain the
apple2-asm.cfg file?

I checked my c:\cc65\cfg folder and did a search in c:\cc65 and it does not
appear to be there. I've downloaded the following from
ftp://ftp.musoftware.de/pub/uz/cc65/, and couldn't locate it.

cc65-win32.2.13.3-1.zip
cc65-apple2enh-2.13.3-1.zip
cc65-apple2-2.13.3-1.zip
cc65-2.13.3-1.exe



Thanks!


Mark





On Tue, Nov 17, 2015 at 2:46 PM, Oliver Schmidt <ol.sc@web.de> wrote:

> Hi,
>
> Any ideas?
>>
>
>> Thanks for your help, I really appreciate it!
>>
>
> Okay, an example to get yo started:
>
> Create a file foobar.s containing just one line
>   lda #$20
>
> Then build the program foobar with
>   cl65 -t apple2 -C apple2-asm.cfg -u __EXEHDR__ --start-addr $6000
> foobar.s
>
> Then add the program to the DOS 3.3 image foobar.dsk with
>   java -jar ac.jar -cc65 foobar.dsk FOOBAR B < foobar
>
> Then mount the image in AppleWin and load the program at the Applesoft
> prompt
>   BLOAD FOOBAR
>   CALL-151
>   6000L
>
> Voila :-)
>
> Regards,
> Oliver
>

----------------------------------------------------------------------
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 Nov 18 02:08:32 2015

This archive was generated by hypermail 2.1.8 : 2015-11-18 02:08:35 CET