Re: [Simh] pdp11 - console input with high bit set]

2020-07-24 Thread David Gesswein
PDP-8 has set tti ksr to handle this. Looks like the PDP-11 doesn't. You could implement the same code in PDP-11. Looks like trying to send arbitrary 8 bit data through terminal windows doen't work for most of them. On Thu, Jul 23, 2020 at 11:56:24PM +, Paul Moore wrote: > I am trying to run

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Timothe Litt
Actually, even parity was more common in the early daze of DEC async.  MARK always sets the high bit - even sets it only to make the total number of 1s even. Quick test: Given that #215 is CR - If the code is looking for #212 for LF, it's mark.  If it's looking for #012, it's even. Note also

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread David Gesswein
On Fri, Jul 24, 2020 at 06:12:17PM +, Paul Moore wrote: > Not helped by not knowing what KSR really means. > Keyboard send receive. A model 33 teletype without paper tape. ASR was the model with paper tape, Automatic send receive. DEC used teletype's that generated mark parity. From the

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Ethan Dicks
On Fri, Jul 24, 2020 at 1:13 PM Paul Moore wrote: > Johnny, I don't know what that means for simh On an xterm session, there may not be a way to do it. If you were running simh from a dumb terminal on a serial port, you could set your terminal to do 7E1 (even parity), and possibly a matching

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Paul Koning
> On Jul 24, 2020, at 2:28 PM, David Gesswein wrote: > > On Fri, Jul 24, 2020 at 06:12:17PM +, Paul Moore wrote: >> Not helped by not knowing what KSR really means. >> > > Keyboard send receive. A model 33 teletype without paper tape. > ASR was the model with paper tape, Automatic send

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Paul Moore
I am running it in the windows console. I can see that setting TTU_KSR on the mode flags passed to sim_tt_impcvt will do the job. The pdp-8 console hard code this bit on else uptr->buf = sim_tt_inpcvt (c, TT_GET_MODE (uptr->flags) | TTUF_KSR); the is also a KSR mode switch MTAB tti_mod[] = {

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Clem Cole
On Fri, Jul 24, 2020 at 2:37 PM Paul Koning wrote: > The right answer would be a tweak to the console emulation in SIMH pdp11. Mumble... Paul - I'm not so sure. While DEC used MARK a lot, there were places that used EVEN parity a lot also on PDP-11's (Lord how, I hated 20 mA current loop ;-)

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Johnny Billquist
On 2020-07-24 20:28, David Gesswein wrote: On Fri, Jul 24, 2020 at 06:12:17PM +, Paul Moore wrote: Not helped by not knowing what KSR really means. Keyboard send receive. A model 33 teletype without paper tape. ASR was the model with paper tape, Automatic send receive. DEC used

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Clem Cole
On Fri, Jul 24, 2020 at 4:18 PM Paul Koning wrote: > Parity is something that comes in addition to the data. DEC UARTS (and > many others, I think) > Appendix D of McNamara's book, *a.k.a.* the 40-pin WD1402 and 1402A :-) I once knew it well and at one time had an official WD manual for it (I

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Johnny Billquist
Technically, this is not something about simh at all. However, it is possible to do a workaround inside simh. But unless it is already implemented (in which case I would expect there to be some command or setting for it), you might need to modify the simh code to work around the problem. But

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Johnny Billquist
I would have to disagree with that. All older PDP-8 software is definitely using MARK parity, not EVEN. Both on input and output. (Sortof annoying if you aren't expecting it.) The ASR33, as configured by DEC, was normally also set up with MARK parity, which is probably the reason all software

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Johnny Billquist
On 2020-07-24 19:53, Ethan Dicks wrote: On Fri, Jul 24, 2020 at 1:13 PM Paul Moore wrote: Johnny, I don't know what that means for simh On an xterm session, there may not be a way to do it. If you were running simh from a dumb terminal on a serial port, you could set your terminal to do 7E1

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Ethan Dicks
On Fri, Jul 24, 2020 at 3:16 PM Clem Cole wrote: > Anyway, I think the 'right' answer for simh is to ask the user to use a serial > emulation program that can generate any of: 8-bit no parity, 7-bit no parity, > or 7-bits of data plus an 8th parity bit with any of the 4 parity options: > odd, >

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Paul Koning
> On Jul 24, 2020, at 3:15 PM, Clem Cole wrote: > > > > On Fri, Jul 24, 2020 at 2:37 PM Paul Koning > wrote: > The right answer would be a tweak to the console emulation in SIMH pdp11. > Mumble... Paul - I'm not so sure. While DEC used MARK a lot, there

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Mark Pizzolato - Info Comm
On Friday, July 24, 2020 at 11:36 AM, Paul Koning wrote: > > On Jul 24, 2020, at 2:28 PM, David Gesswein wrote: > > > > On Fri, Jul 24, 2020 at 06:12:17PM +, Paul Moore wrote: > >> Not helped by not knowing what KSR really means. > >> > > > > Keyboard send receive. A model 33 teletype without

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Mark Pizzolato - Info Comm
On Friday, July 24, 2020 at 5:42 PM, David Gesswein wrote: > On Sat, Jul 25, 2020 at 01:22:38AM +0200, Johnny Billquist wrote: > > > > > > I thought the high bit setting would be turned off if you used set > > > tti 7b or 8b but never verified. > > > > Which obviously won't help if the software

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Paul Moore
I have hacked the TTUF_KSR flag here uptr->buf = sim_tt_inpcvt (c, TT_GET_MODE (uptr->flags)|TTUF_KSR); in pdp11_stddev.c and this works, (its what the pdp8 console has) but obviously this isn’t the correct solution, but it gets me unblocked. -Original Message- From: Simh On

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread David Gesswein
On Sat, Jul 25, 2020 at 01:22:38AM +0200, Johnny Billquist wrote: > > > > I thought the high bit setting would be turned off if you used set tti 7b or > > 8b but never verified. > > Which obviously won't help if the software running inside simh then expects > MARK parity... > Correct. That was

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Paul Moore
Johnny, I don't know what that means for simh Get Outlook for Android From: Johnny Billquist Sent: Friday, July 24, 2020 1:37:27 AM To: Paul Moore ; Simh@trailing-edge.com Subject: Re: [Simh] pdp11 - console input with high bit set You

Re: [Simh] pdp11 - console input with high bit set

2020-07-24 Thread Johnny Billquist
You need to have your terminal set to MARK parity. Johnny On 2020-07-24 01:56, Paul Moore wrote: I am trying to run an RK11 diagnostic and am stuck. The diagnostic asks the user how many drives to test and I can get the input to work Looking at the code, it is looking for digits and then