Well, i've been following the Nerdy Nights tutorials and i have a couple of questions that you guys might be able to help me.
- Using the LSR/ROL technique for reading controllers is nice... but how do i actually get the value from each button in order to execute an action? ANDing the bits?
- CLC clears the carry, but SEC actually does what? Set the carry to 0? Tell the assembler to expect a carry? What if i don't use it?
- BNE and BQE confuse me. They're doing their comparison to which value? The one stored in the accumulator? Or X? Or Y?
- The last two bits of the sprite attributes byte are the palette. But what does it mean? If i choose the number 22, that's the second color of second palette? Or second color of both palettes?
- How does banking actually work? I see the adresses but i don't really know WHY they must be that number. Where should each bank go inside my memory and why? Inside or outside the 2KB RAM?