| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
ADC bug, CPU fried ?
Hi,
I have this code:
_index .byt 2
LDX #0
CLC
.re LDA _number
ADC #8
STA _number
INX
CPX _index
BNE .re
This should give 24 or not ?
Nomatter where I place the CLC,
it always gives +2
2 times 8 gives me 18
Is my 6510 fried ?
Jan |
|
... 10 posts hidden. Click here to view all posts.... |
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
Hi WVL. yeah :-)
I was trying to convert a char to sprite.
So I get an index for the char like 02, a B.
I add 8, 2 times and get a strange number, because
I forgot to reset and start from 0A00 EVERY time.
I hope this explains it.
Murdock spotted my bug in 3 mins..
Thanks Murdock! |
| |
dalezy
Registered: Apr 2002 Posts: 476 |
and i spotted your faulty spacebar and a-key! |
| |
WVL
Registered: Mar 2002 Posts: 902 |
There was nothing wrong with my keys.. guess again why the WOW demo has not been released yet ;) |
| |
j0x
Registered: Mar 2004 Posts: 215 |
The WOW demo failed for two reasons:
1) A buggy Retro Replay 3.8alpha
2) "somebody" not pressing the spacebar properly
It was a press-space demo, not a hold-space demo :)
Funny, nobody suspected the decimal flag (or the Spanish Inquisition).
j0x/WOW |
| |
WVL
Registered: Mar 2002 Posts: 902 |
I didn't hold it, i pressed it (hundreds of times ;). It just didn't continue. After a minute i gave up and turned the sound down to ask you guys and suddenly it decided to continue on it's own. weird.
btw, what does the RR have to do with it? :) |
| |
Bud
Registered: Jan 2002 Posts: 14 |
the Retro Replay 3.8alpha cartridge rom was used when linking the first part of the demo.
That rom sets $9ec5 to $20 which caused the crunched part 3 data in the memory to be corrupted and saved to disk.
This affected the music in the 'interference' part.
This has been fixed now, the demo (Nomen Nescio) can now be found here in the CSDb.
Bud/WOW |
| |
WVL
Registered: Mar 2002 Posts: 902 |
Ah! I thought he meant the fact that RR3.8 was used on the compo machine! :) |
| |
Bud
Registered: Jan 2002 Posts: 14 |
Well if that is true then it could have been the problem, as the compo rules (on the X-2004 website) stated that the compo machine would use an Action Replay 6... ;-)
But since the $20 value was in the saved file, it was the RR3.8alpha on our system.
After loading a file with the RR3.8alpha, $9ec5 will be set to $20, i have tested that. |
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
Quote: and i spotted your faulty spacebar and a-key!
That's strange dalezy, because it's actually the right shift key that is faulty. space is not :-) |
| |
Puterman Account closed
Registered: Jan 2002 Posts: 188 |
The bug was fixed quite some time ago, but unfortunately there hasn't been another rr release since then... |
Previous - 1 | 2 - Next |