mirror of
https://github.com/simh/simh.git
synced 2026-01-13 15:27:14 +00:00
Experimentation with the SDS 9 Series Algol compiler found a problem in the card reader. The Algol card input function reads a complete card with the usual EOM and WIM loop followed by a disconnect EOM. A final service is requested after the last column is read to signal that the card has passed through the reader. If the disconnect EOM occurs before this service, it cancels it and shuts down the request as it ought to. However, the disconnect EOM does not reset the status READING flag and a subsequent Reader Ready Test fails and loops waiting for the disconnected reader to become ready. This change fixes the disconnect EOM case to reset the uptr->STATUS and end of record flag, cr_eor.