I am not very well versed with the Atari 2600 yet (but I made a dvd screensaver and got a stable image so that's a start), only knowing 6502 from other projects. I was RTFM when I came across this quote:
"The microprocessor stack is normally located from FF on down, and variables from 80 up, hoping the two never meet."
I certainly ran into bugs during my first kernel, one of which was a misplaced org causing vars to be on the stack... Then I did a JSR. I was using a SetPos routine to set the horizontal sprite position, and thought the routine was broken when the sprite went somewhere completely unrelated but constant every time. I have solved the issue now, but I ask:
What's the weirdest bug you have ever had?