[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc65 compile for Apple 2e?
In article
<f2bdc7ee-2f32-44ba-bb01-eb746e3c9f8e@d1g2000hsg.googlegroups.com>,
Harry Potter <maspethrose7@aol.com> wrote:
> Uh, how do I use cc65 to compile an Apple 2 DOS 3.3 or ProDOS
> program? I have atools for Win32.
I don't have either. I'm using GNU make and AppleCommander on Mac OS X.
To compile samples/hello.c, for example:
HELLO=hello
${HELLO}: ${HELLO}.c
cl65 -O -l -t apple2enh ${HELLO}.c
ac -d p1.po ${HELLO}
ac -cc65 p1.po ${HELLO} bin < ${HELLO}
Here's a page that discusses atools, although it may change:
<http://www.cc65.org/doc/intro-6.html#ss6.1>
AppleCommander is an alternative to atools:
<http://applecommander.sourceforge.net/>
In addition to a nice GUI, it works from the command line with cc65 and
other cross-development tools:
<http://applecommander.sourceforge.net/acguide.html>
--
John B. Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews