Re: [cc65] $ba

Date view Thread view Subject view

From: carlos (carlosofcascade_at_gmx.net)
Date: 2003-10-12 16:43:57


Hello Ullrich,

thank you for the answer.
Is $ba and _curunit are different, should i add a line

_curunit = *(char*)0x00ba
to the program ?
Or can you do it in a completely other way ?

There is another thing i found. I attached a listing for that.
If you look into the listing, there is a c program at the top and the
generated assembler code
at the bottom. In the c program there are two lines, which set sprite
coordinates.
Now look into the assembler code and ignore the parts which are described as
:"this is all right".
There are two other parts where i expected different results.
I think this is a bug.

Greetings Carlos

> On Sat, Oct 11, 2003 at 10:07:02PM +0200, carlos wrote:
> > > In cc65 there is a variable called _curunit which is actually $ba.
>
> This is wrong. __curunit (which is the assembler name) and $ba are
different
> and this is probably the reason for the effects you see.
>



---------------------------------------------------------------------- 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 : 2003-10-12 16:46:36 CEST