MEGA65 / mega65-rom-public

MEGA65 ROM public issue reporting
4 stars 0 forks source link

CLR TI misbehaves once after Freezer Menu #109

Closed jim-64 closed 8 months ago

jim-64 commented 8 months ago

Test Environment (required)

Describe the bug After exiting the Freezer, the first instance of CLR TI does not set TI to zero, but seems to set it to something around 17.

To Reproduce Steps to reproduce the behavior: Type in this program 10 CLR TI : PRINT TI enter the Freezer and exit, then issue three RUNs

RUN
RUN
RUN

The first instance will be just over 17, all subsequent runs operate correctly.

Expected behavior CLR TI should set TI to 0 every time, even if you just exited the Freezer.

johnwayner commented 8 months ago

@jim-64 Thanks for the tip about using the freezer to reproduce this bug. I was able to quickly figure out the fix because of that.