On 2019-10-25 03:01, Terry Kennedy wrote:
> On Wednesday, October 23, 2019 at 11:34:05 PM UTC-4, Anton Lavrentiev wrote:
>
> I'm very inclined to think that there's a race condition issue
> somewhere in SIMH because it always breaks simultaneously in both
> serial lines ("connect"ed specially) and always as a line boundary
> thing (which probably also causes some kind of a flush condition,
> internally). I'm a software guy and have a strong feeling for that
> now that I've played with it.
>
> Hopefully, someone from the SIMH team is also here on the list, and
> can take a look? I'm using nothing more than stock software as it
> is provided per PiDP11 instructions (on a Pi 3B+), and the RSX11M+
> OS image per the same.
>
>
> I haven't seen anything like that on the limited testing I did with 4
> serial terminals on RSTS/E.
In general I haven't seen any issues either, and doubt that simh is to
blame.
> This of course requires an OS new enough to support the DHU11
> multiplexor. You could use another multiplexor type - if you do that I'd
> recommend DH11 over DZ11, and DZ11 over DL11.
As far as I know, simh don't emulate DH11.
But other than that, I agree that DHU11 or DH11 is much preferred over a
DZ11 or a DL11.
> Another important item is the particular USB-to-serial chip on your
> adapters. These vary widely in quality and some are even counterfeit.
> The ones I'm using are CH341 based, with USB hardware ID 1A86:7523.
>
> While many of these chips support partial modem control, the complete
> adapters generally provide only TXD and RXD. There isn't any provision
> on the PiDP11 for converting other signals to RS232 anyway, unless you
> "steal" the converters for the other channels. If full modem control is
> needed, it would probably be better to design a custom paddleboard for
> the back of the DB25 connector with all of the level shifters on board,
> rather than using the ones on the PiDP11 mainboard. Another issue will
> be ensuring that these signals get passed correctly to the emulated
> PDP-11 and not acted upon by either the Pi's Raspbian OS or SIMH. I
> discovered that RSTS/E's autobaud functionality "sort of" works with the
> adapters I'm using - it can autobaud properly at a few speeds, but not
> at most speeds.
In general, I would strongly recommend against trying to use modem
signalling as a way of flow control.
DEC never did it, nor supported it, and depending on OS, this might fail
you miserably.
RSX, for instance, will time out I/O after a little while. And that will
happen if you use hardware flow control. So stopping output this way
will cause effects you probably did not intend.
DEC used XON/XOFF flow control in general, and I would recommend people
to stay with that here.
As far as things like autbaud functionality goes, it is even more tricky.
RSX, for instance, has a table of what characters are generated by the
hardware for a CR when transmitted at different speeds to a couple of
known receive speeds on the PDP-11 side, and that table differs
depending on what controller you have (a DH11 don't generate the same
data as a DZ11).
Under simh, this will all be a total gamble, as this is obviously very
dependent on specifics of the hardware.
I don't know how RSTS/E does it.
> There is probably some XXDP diagnostic for terminals that you could run
> to generate continuous output on one (or possibly more) ports. That
> would eliminate the OS as a potential source of trouble. The XXDP
> multiplexor diagnostic will likely fail as simh generally omits most of
> the maintenance-only functions.
No doubt, XXDP
>
> --
> You received this message because you are subscribed to the Google
> Groups "[PiDP-11]" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
pidp-11+u...@googlegroups.com
> <mailto:
pidp-11+u...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/pidp-11/f37bd8e5-60f9-459e-946d-235690670278%40googlegroups.com
> <
https://groups.google.com/d/msgid/pidp-11/f37bd8e5-60f9-459e-946d-235690670278%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email:
b...@softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol