PDP-11/45: Diagnostics with PDP11GUI
Sun 03 July 2016 by Fritz MuellerOkay, now that serial is straightened out, on to running diagnostic tests via PDP11GUI. PDP11GUI itself, as well as a thorough and useful database of DEC diagnostic programs, are available at http://www.retrocmp.com/tools.
Since my home computer is a MacBook, I had intended to run PDP11GUI under Wine. I ran into a problem with this where PDP11GUI under Wine could not generate its pre-processed machine description temp file, seemingly because of some incompatible behavior wrt. multiple backslashes in pathnames. Rather than fight with this too long, I just sprang for a Windows 10 license and installed a Windows 10 VM; it will come in handy for other Windows-only tools that have been tweaky to use under Wine as well.
With PDP11GUI up and running under Windows, results of the initial set of 11/45 CPU diagnostics were very encouraging! In summary:
Diagnostic | BEL | Description | Status |
---|---|---|---|
CKBAB0.BIC | 002562 | SXT instruction | pass |
CKBBB0.BIC | 003604 | SOB instruction | pass |
CKBCB0.BIC | 007410 | XOR instruction | pass |
CKBDC0.BIC | 007262 | MARK instruction | pass |
CKBEC0.BIC | 002212 | RTI/RTT instructions | pass |
CKBFD0.BIC | 002272 | stack limit | pass |
CKBGB0.BIC | 001446 | SPL instruction | halt 001404 |
CKBHB0.BIC | 003762 | 11/45 registers | pass |
CKBIB0.BIC | 013746 | ASH instruction | pass |
CKBJA0.BIC | 014722 | ASHC instruction | pass |
CKBKA0.BIC | 014430 | MUL instruction | pass |
CKBLA0.BIC | 011574 | DIV instruction | pass |
CKBME0.BIC | 016000 | 11/45 traps | halt 005320 |
CKBNC0.BIC | 004702 | PIRQ instruction | pass |
CKBOA0.BIC | 013640 | 11/45 states | halt 000610 |
Note that these tests are written to output an ASCII BEL to the console on each successful pass. The terminal built in to PDP11GUI doesn't sound when given a BEL, however, so it is convenient to patch the BEL literal in the programs to a visible character (e.g. 000052, ASCII '*') before running them. This may be done in the memory loader window in PDP11GUI after "Load" but before "Deposit all". The patch address I identified for each diagnostic is listed in the table above as well for convenience.
So, out of this initial set of tests, only three halts to investigate. I'll be posting more information here as I look further into these.
Regarding the backplane SPC issue discussed in the previous post: Marty from the vcfed.org forum did some investigation of his 11/45, and reports that he does have +15V (actually +12V on his system) distributed to pin CU1 on slots 26-28. It seems to be wired over from slot 15 on his system, but it is not clear whether this was a factory wire, an ECO, or a user mod.
Marty's 11/45 also has no power distributed to CA1 on this slots, so it's really looking to me like the reference to that on page 5-10 of the 11/45 maintenance manual is a misprint. Thanks to Marty for checking all this out! I'd be curious to hear from any other 11/45 owners out there regarding wiring of CU1 and CA1 on slots 26-28 in their systems.