We are using minicom, not a TTY (someday...). We send at 19200 8N2.The RIM loader would do something like this if the 0100 bit was failing to read correctly. If you can run the echo test, and echo alphabetical characters correctly, that's not it, though.
I assume you're loading from minicom, not a TTY? Otherwise it's also possible one of the reader pins is stuck or slow.
Vince
Thanks @DougIngraham . We will try to find a minimum test case using the ideas that have been suggested -- thank you.So many things could be wrong. You need to find something that doesn't work that you can reproduce at will.
...
Hope that helps. I would come out for a PDP play date but this is not a great time of the year to visit Duluth and its around 800 miles.
LOOP, KSF /WAIT FOR A CHARACTER
JMP LOOP
KRB /READ THE CHARACTER
TLS /ECHO THE CHARACTER
JMP LOOP
NOOOOOO!The lightning storm that killed the PDP-9 apparently also killed the PDP-12 and the PDP-8/I. I will be joining your PDP-12 restoration quest soon.
It's possible that 19,200 baud is too fast, if your cabling is poor and particularly if you slow the CPU. In general, that usually isn't a problem for the software, since the loaders don't try to echo and do vary little between characters. So, if the hardware can reliably move the characters, the loaders (at the least) ought to work.We are using minicom, not a TTY (someday...). We send at 19200 8N2.
@jnowaczek reminded me today that in the past we had more luck getting things to load when we used single step, auto + continue and slowed down the machine during sending. I'll going to try the echo tests and/or re-sending the OS/8 bootloader when slowing the machine down.
@vrs42 -- there's a way to reduce the baud rate on the serial cards, right? Is that something I should try, in your opinion?
Finally, @vrs42 are the two serial cards interchangeable? Do you think it's worth swapping our pty card with our "disk" card, or is there a way to modify the RIM loader to try to read from the other card, just to rule out an issue with one of the serial + tty card subsystems?
Thanks as usual.
Oh man I am so sorry. Not sure how I can help, but if you ever need us to test anything out on our machine for comparison don't hesitate to ask.The lightning storm that killed the PDP-9 apparently also killed the PDP-12 and the PDP-8/I. I will be joining your PDP-12 restoration quest soon.
Thanks. We may try swapping the serial cards. I'm pretty sure that Warren is the one who set up our stuff to do 8N2, but it sounds like I should check the teletype cards to make sure that they are actually configured for that. The thing is that we have successfully used minicom in the past to send files and receive teletype data. So I'm pretty sure it's not a minicom issue.It's possible that 19,200 baud is too fast, if your cabling is poor and particularly if you slow the CPU. In general, that usually isn't a problem for the software, since the loaders don't try to echo and do vary little between characters. So, if the hardware can reliably move the characters, the loaders (at the least) ought to work.
If minicom is fibbing about honoring your request for two stop bits, you can get a situation where the echo test passes, but bursts of data don't work. Basically, the number of stop bits output by the sender must always be equal to or greater than the number of stop bits for the receiver, or character bursts won't be received properly.
The baud rate cards have DIP switches to set the baud rate. I believe that the two card sets should be interchangeable if the baud rate cards are set to the same baud rate. Device address and such are set over on the M706 and M707, IIRC, as is the character width and the number of stop bits.
The RIM loader is very simple, so we could patch the IOT address bits to match the second card if we had to.
Vince
All I had time for today was walking the bits through the MA and MB and they looked good. More next week.I see that this has already been answered but yes, MA is Memory Address, MB is Memory Buffer.
I would verify that all the bits in the MA and MB seem to be working. Looks like you can do this by walking a 1 through the left switches and pressing exam. the corresponding indicator in the MA should be the only one lit. Try single bits on and then try single bits off. The idea is to verify no bits are stuck on or off and all of them work independently. Of course if you have any bulbs burned out then you won't be able to see that bit.
You can then check the MB using the right switches and the fill switch in a similar manner. If that all seems ok then punch in my little program at zero. It will set that location to its address or to its complement. DEC has a memory address test that does this four ways to catch different kinds of problems.
For what it’s worth, I’ve noticed similar behavior using minicom at work with much more modern serial devices!One thing that's weird is that minicom gets completely confused by this and I am unable to quit minicom normally, even after stopping the program on the PDP-12. I'm not sure if this is normal, or not.
View attachment 1253872
When we run that program, whatever we type in minicom appears on that line, and we can see the last character in the accumulator (plus the 8th bit of the byte is always lit). When we hit enter, it returns to the beginning of the line. Here's an example pic of the output:
Next, we tried this console print test:
View attachment 1253873
When we run that program, it appears to print the full character set (on one line) in a loop. This is what we see in minicom:
View attachment 1253875
Not sure what's going on there.The other weird thing about the computer is that the instantaneous buttons like FILL, START LS, I/O PRESET, etc., seem to be very sluggish. We have to hold them for some time before they "react" -- I don't know if this just means that they need cleaning, or if this could be a sign of some other kind of issue. To clean them, do I just pop off the grate, vacuum things out, and then spray deoxit in there? I did not do this the first time it was done (when Dawson and Warren originally got the machine up and running).
I'll try that tomorrow.That seems OK. A Control-J should probably line-feed.
That's almost right, but the line feeds didn't happen. On my terminal emulation each repetition is on a separate line, since there should be a bell, a tab, a line-feed and a carriage-return which should arguably be detectable.
Not sure what's going on there.
I wonder if some special (non-printable) characters cause minicom to lockup.Next, we tried this console print test:
View attachment 1253873
When we run that program, it appears to print the full character set (on one line) in a loop. This is what we see in minicom:
View attachment 1253875
One thing that's weird is that minicom gets completely confused by this and I am unable to quit minicom normally, even after stopping the program on the PDP-12. I'm not sure if this is normal, or not.
Yeah, given that you're probably iterating through the entire ASCII set in order, you're going to start at the control characters. Something is going to send an ESC and then follow up with other control characters that may tell whatever VT102 emulation you're in that it's time to go into a special mode.I wonder if some special (non-printable) characters cause minicom to lockup.
Ahhh, of course! Thanks. Definitely time for a non-VT terminal to listen on the com port. I never thought about that, thanks @SpaceHobo !Yeah, given that you're probably iterating through the entire ASCII set in order, you're going to start at the control characters. Something is going to send an ESC and then follow up with other control characters that may tell whatever VT102 emulation you're in that it's time to go into a special mode.