I am checking to see if I'm doing something wrong in my code, or if I found a compiler or Stella bug.
I am having an issue with the joystick direction getting stuck frequently in Stella when the fire button is pressed. I have confirmed through the debug tools that the joystick direction switch is stuck on when this happens even though I am not holding down any cursor keys. The cursor keys on my computer are not having problems in any other software.
It can be duplicated by pressing a direction and tapping the fire key and releasing the direction key. I think the timing needs to be right, but it will do it eventually.
I am using DPC+
I've attached my debug basic code that is stripped of everything except for the movement, playfield collision, and animation code. I kept removing pieces of code hoping to find the culprit but no luck. The code that is left is based off from code I found in the "batari Basic Command Reference" which I modified to fit how I wanted the player to move on the screen.
I am running the latest Batari Basic dev software found here in the forums and my Stella version is 5.1.3
I do not have a Harmony cart to be able to test this on a real 2600 (but I am curious if it also happens on a console).
I appreciate everyone's time.