pkimpel / retro-b5500

Web-based emulator and operating environment for the Burroughs B5500 computer system.

Home Page:http://www.phkimpel.us/B5500/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPO locks out input if Input Request is clicked twice

pkimpel opened this issue · comments

Reported by Paul Cumberworth on 2015-06-05:

I’ve had some funnies with the SPO if Input Request pushed twice in succession, it locks out input, needing to End of Message before accepting input again.

The SPO driver was only allowing the Input Request button click to register if the state was Remote or Output, but the state does not change from Remote to Input until the SPO read I/O is initiated, so a double click would fire the input request interrupt twice. Also, if the second click after the read I/O had been initiated (and the input box enabled on the "paper"), that click would move the focus from the input box to the Input Request button. This is what really made input seem to be "locked out."

Added a guard to prevent duplicate a second button click from registering until after the read is initiated (and the state changed to Input). If when the second click is handled the SPO state is Input, reset the focus to the input box. Fixed in release 1.02.