Closed incanus closed 2 years ago
I suspect this is due to the video thread not keeping up with the BASIC thread - for some functions (such as INKEY$
) there is an explicit sync on the BASIC thread, we may need something similar for PALETTE
.
Fixed on develop
by commit cf7897d11, thanks @incanus for reporting!
Bug report
Problem
If you have a very lightweight task in a
WHILE : WEND
loop, you can lock up the interpreter.Program
In PC-BASIC, this locks things up with no visual change. In GW-BASIC, it attempts to give you a seizure 😉
Notes
Perhaps Python is optimizing something out? Haven't investigate too deeply.
PC-BASIC version: 2.0.3 Operating system version: macOS 11.0.1