Hot answers tagged

19 votes

Carry handling during address generation on a 6502

The manual says that the branch instructions do not affect the carry flag. However, my understanding is that some carry handling may be required when adding the relative branch offset to the program ...
user avatar
  • 173k
3 votes

How to properly convert an active-low joystick routine to active-high

So as it turns out, the reason this didn't work had nothing to do with the joystick. It was because I was using zero page addresses $00 and $01 to store the joystick output, which was clobbering the ...
user avatar
  • 1,538

Only top scored, non community-wiki answers of a minimum length are eligible