1
0
mirror of https://github.com/open-simh/simh.git synced 2026-03-22 09:04:33 +00:00
Mark Pizzolato 7a68c268b9 PDP11: Revert DZ device to prior version.
The code in 3.12-2 is only part of a complete solution and thus merely
hangs the device/processor.

The reverted version wouldn't normally have the problem since the
normally partial code was trying to fix since I/O completion happens
right in dz_wr().  However, the "complete it immediately" model could
logically lose data if the sending side were driven harder than the TMXR
TCP transport was able to deliver data to the TCP session.  The easiest
answer is to revert to the earlier v3 DZ code since at least that worked
almost all of the time.

The right answer would be to only signal the transmit completion
interrupt if the transmit didn't end up getting buffered and if it did
get buffered (and not successfully flushed), then schedule a separate
unit to retry the pending output until it actually made it to the TCP
wire.  That separate unit would then signal the interrupt for the line
indicated in the CSR and mark CSR_TRDY.

This is more change to realize relatively little value so simply revert
and be done.
2022-09-04 18:09:37 -06:00
2022-05-16 03:01:45 -07:00
2020-10-07 15:33:11 -07:00
2011-04-15 08:33:23 -07:00
2011-04-15 08:34:26 -07:00
2011-04-15 08:34:26 -07:00
2022-06-17 09:03:47 -07:00
2022-06-17 09:03:47 -07:00
2019-11-30 20:19:00 -08:00
2022-06-17 09:03:47 -07:00
2022-06-17 09:03:47 -07:00
2018-06-04 07:59:42 -07:00
Description
The Open SIMH simulators package
140 MiB
Languages
C 96.9%
Assembly 1%
CMake 0.5%
Batchfile 0.4%
Makefile 0.4%
Other 0.5%