rcornwell / sims

Burroughs B5500, ICL1900, SEL32, IBM 360/370, IBM 7000 and DEC PDP10 KA10/KI10/KL10/KS10, PDP6 simulators for SimH
http://sky-visions.com
95 stars 20 forks source link

KA10: Fix MTY bug #224

Closed larsbrinkhoff closed 3 years ago

larsbrinkhoff commented 3 years ago

MTY input and output will sometimes be garbled. I confirmed that logging DATAIO will display input on a line that I know is idle.

When I studied the code I see that both mty_input_svc and mty_output_svc can write the MTY_LINE bits in the status register. I believe the fix should be to sim_cancel both svcs when an interrupt is posted. I will test this and post a pull request soon.

rcornwell commented 3 years ago

Please hold off on a pull request until I do my next pull to the repo.

larsbrinkhoff commented 3 years ago

Fixed by #229.