kervinck / gigatron-rom

System, apps and tooling for the Gigatron TTL microcomputer
BSD 2-Clause "Simplified" License
229 stars 79 forks source link

MSBASIC: ignore button codes sent by PluggyReloaded #253

Closed lb3361 closed 9 months ago

lb3361 commented 9 months ago

This completes the MSBASIC patch. We found that the PluggyReloaded (unlike PluggyMcPlugFace) sends a number of button events before the saved text, in an attempt to start the loader. There is an extra doLoader() call in the loop. The easiest way to deal with this is to make MSBASIC ignore button codes when waiting at the console. TinyBasic does the same.

Note that the GET A$ command of MSBASIC is still able to read button codes. Just the line editor.