[stella] Question about Circus Atari and BCD addition
Dennis Debro
dennis at debrofamily.com
Tue Jun 19 22:01:32 CDT 2007
Hi there,
Circus Atari is on my "to do" disassembly list. I had a little time so I
started looking at it again today. I think I found a bug but I'm not sure.
In the program when the player hits a balloon the score is tallied into a
variable. Later this variable is used to increment the score. The issue I
see is this tally is not done in BCD but the score is.
For example, the player gets 10 points for hitting a red balloon. When this
happens the tally variable is incremented by #$0A. Later this gets added to
the player's score using BCD. Wouldn't this cause an error or does the
processor know that #$0A at that point should be #$10?
I haven't looked deeper in the code to see if this is handled. I just
stopped here because it was kind of odd.
Take care,
Dennis
More information about the Stella
mailing list