1
0
mirror of https://github.com/simh/simh.git synced 2026-01-23 02:48:16 +00:00

4 Commits

Author SHA1 Message Date
ken rector
85b7bfed99 SDS: Reset CR DEVICE cr_eor on disconnect. Caused algol compiler to hang. 2023-03-20 08:57:30 -10:00
Ken Rector
7c3b293ecf SDS: Fix CR device to properly update status after a disconnect EOM
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.
2023-01-30 05:22:42 -10:00
Ken Rector
2dd8ededd3 SDS: Added C register implementation for various devices 2021-06-08 01:55:07 -07:00
Ken Rector
268827d75c SDS: Add Card Reader and Card Punch devices 2020-12-18 23:47:36 -08:00