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

From: Oliver Schmidt <ol.sc1web.de>
Date: 2015-11-17 21:46:42
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 Tue Nov 17 21:46:49 2015

This archive was generated by hypermail 2.1.8 : 2015-11-17 21:46:52 CET