[cc65] huh

Date view Thread view Subject view

From: Adam Wozniak (adam_at_cuddlepuddle.org)
Date: 2002-03-31 20:53:10


Uz wrote:
> On Thu, Mar 28, 2002 at 09:58:21AM -0800, Adam Wozniak wrote:
> > I work with embedded systems for a living, we do this sort of thing all the
> > time.  The idea is hardly new or original.
> 
> So then why did I have it explain to you?

You did not.  The only question I asked in my original email was how the
parameter stack interoperated with the 6502 call/return stack.  CC65's handling
here is not exactly standard.
 
> > Truth be told, I never looked at either of those files.  Are you sure I stole
> > them?  Or is it possible that it's so simple that there just aren't many
> > different ways to do them?
> 
> So how did you know what do do in these subroutines? How did you know that
> these routines were needed? They are tightly coupled to the inner workings of
> the compiler.

If you look closely at my code you'll notice they're not even subroutines;
They're part of _start.

You have to zero out the bss segment; this is standard stuff.
You have to get the data segment out of the rom and into the ram.  This is
also standard stuff.  To claim that I did not understand this before I saw
your compiler is absurd.

Again, I'm sorry if you don't believe me.

--Adam
-- 
adam_at_cuddlepuddle.org        http://cuddlepuddle.org/~adam/pgp.txt

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-03-31 20:02:54 CEST