I am new to CA65 and am trying to transfer a NESASM project over to it. I translated everything and it builds. When I run I get nothing. Just a black screen. Diving deeper I have an infinite loop. It seems to be having an issue with increasing the Y (INY) and then whatever I set after it doesn't take.
You can see that after INY at 8505 Y becomes 1. Setting the variable I have at $84A8 to Y should change it to $01 but it doesn't. Because of this, I enter an infinite loop. Am I doing something wrong here? It has been a bit since I have programmed assembly but this seems pretty easy.
Let me know if I am doing something wrong or you need more information.