[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introduction to to Graphics in C on the Apple II
On Jan 12, 12:44 am, mdj <mdj....@gmail.com> wrote:
> I suspect it's easier when you don't have floating point types to
> worry about.
Hi Matt,
I think there is more to cc65's efficiency over Aztec C than merely
this small difference... subtleties... not that it really matters in
the grand scheme of things since the bulk of non-trivial Apple //e
development in C world-wide is so miniscule as to be less than
insignificant and I am but a fly on the leg of an elephant.
Q - What happened to the fly who sat on the elephant's leg?
A - He got pissed-off!
That notwithstanding, there are very few developers that have
experience with both compilers and I am determined that I will make
some effort to bring my knowledge level on cc65 close to my level on
Aztec C if for no other reason than to be able to point-out that
cc65's handling of inline assembly is not to my liking. Perhaps when I
know more it will be to my liking.
For example, how would I do the following in cc65 using inline
assembly? See both links below. Please rewrite in entirety using cc65,
test and debug, and repost to this thread for discussion if you will,
starting with this:
http://www.appleoldies.ca/azgraphics33/lores.c.txt
The link above uses Aztec C's zero page pseudo-registers which are
"always-on".
The total immediate goal here with your expert help on the above is to
rewrite the following program in its entirety in cc65 (not simply Dr.
John's portion which comprises Rod's Color Pattern):
http://www.appleoldies.ca/azgraphics33/lodemo.htm
Thanks. If this works out perhaps you can help me decipher cc65's
linker also. I want to avoid the hi-res page altogether for my hi-res
and double hi-res graphics stuff so I can port my Aztec C programs to
cc65 (not just some puny demos).
It may be something missing in the translation to English but the cc65
documentation is not easy for me to read and I need clear examples
like full rewrites of my Aztec C stuff for this to make sense to me.
RTFM is just not an acceptable answer... (gauntlet down:)
It would probably be a good idea for you to install Aztec C as well as
cc65 just to C what I C.
Bill