...
https://github.com/fjalvingh/tu58fs - branch 1144. A pull request has been added to Jorg’s repo; I need to see if he is willing to accept it.
Preparing for running the emulation
You need two serial ports to do this. First check which serial port connects to the console and which one connects to the tu58 serial port. To connect the tu58 port you might need to create a cable; an example of how that can be done can be found here.
You can do that using minicom and see which of the ports shows the actual console.
In my case the mapping was:
/dev/ttyUSB0 → tu58 serial port
/dev/ttyUSB1 → Console serial port
...
Checking/setting the TU58 interface’s speed
The speed for the TU58 interface is set on the MFM board (M7096) on switch E7:
...
On my machine they were set as follows:
...
which according to the following table:
...
means it was set to 9600bps. Setting it to 38400 did not work, and switching it back to 9600bps now also failed.. Measuring the switch showed that several of the switches failed to make contact, so I decided to replace the switch. Desoldering the thing showed something special:
...
clearly some rework has been done on the board at some time.
I did not have a 7 switch DIP switch so I had to use an 8 switch one and cut of the legs of the 8th switch:
...
I could now switch to 38400bps for the TU58 which helps a lot with load speed of these diagnostics
Preparing for running the emulation
You need two serial ports to do this. First check which serial port connects to the console and which one connects to the tu58 serial port. To connect the tu58 port you might need to create a cable; an example of how that can be done can be found here.
You can do that using minicom and see which of the ports shows the actual console.
In my case the mapping was:
/dev/ttyUSB0 → tu58 serial port
/dev/ttyUSB1 → Console serial port
A second thing to check is the actual bitrate set for the tu58 serial interface on the pdp-11. It should be set to 38400bps but this speed can be changed, and you need the actual speed. One way to test this is as follows (explained by Geert Rolf):
...
This error appears to cause the POWER MONITOR BIT FOUND SET error during the ZMSP memory test, but I need to validate that.
KKAAB0 (CPU and EIS)
This test got back to the console with the following:
Code Block |
---|
17777707 041740 |
The 17.777.707 address is the PC register and the 041740 value is the actual program counter location of the fault. This must be looked up in the fiche library.
KKABD1 (Traps)
Also failed with this:
...
XXDP test result interpretation
Info |
---|
Work in progress while I learn. |
The tests usually abort to console if something serious happens. This will show the program counter at the error at the console. But the tests will also leave information in memory at given addresses:
...
This data can be used together with the test listing to find out what was really wrong. These test listings were available on microfiche, and a DEC engineer had a suitcase with a reader and those fiches. The listings, of course, depend on the exact version of the test used, so you need the correct set of fiches for the test you are executing.
The amazing people at RETROCMP (Jörg Hoppe) have built a fiche scanning device (see here) and scanned an enormous amount of these fiches. And that was not enough: they built a searchable database where you can find the scanned fiches. Amazing.
This database can be found here.
KKAAB0 (CPU and EIS)
This test got back to the console with the following:
Code Block |
---|
17777707 041740 |
The 17.777.707 address is the PC register and the 041740 value is the actual program counter location of the fault. This must be looked up in the fiche library. That shows the following:
...
It is clearly $DEITY 's wish to fix that power supply…
Info |
---|
Pro tip: if you examine the listing it shows that the “normal” flow of the test continues after the “halt” instruction. The halt leaves the PC at the address of that next instruction, so doing a “continue” (C) on the console continues the test. And for me that then shows: END OF CKKAAB0 11/44 CPU/EIS which seems to indicate that at least the rest of this test passes |
KKABD1 (Traps)
Also failed with this:
Code Block |
---|
17777707 000674 |
Exact version of the fiche not found, but the KKABD0 version reads:
...
so I’m going to assume it’s the same issue (power monitor bit set).
Second round of tests (after switching the PSU)
KKAAB0 (CPU + EIS)
Code Block |
---|
END OF CKKAAB0 11/44 CPU/EIS
END OF CKKAAB0 11/44 CPU/EIS
END OF CKKAAB0 11/44 CPU/EIS
END OF CKKAAB0 11/44 CPU/EIS
END OF CKKAAB0 11/44 CPU/EIS
END OF CKKAAB0 11/44 CPU/EIS |
KKABD1 (Traps)
Code Block |
---|
CKKABD0 11/44 TRAPS
NO FLOATING POINT OPTION PRESENT
NO CIS OPTION PRESENT
END OF CKKABD0 11/44 TRAPS
END OF CKKABD0 11/44 TRAPS |
KKTAB1 (mmu)
Code Block |
---|
CKKTAB 11/44 MEM MGMT PRT A
END PASS # 1 TOTAL ERRORS SINCE LAST REPORT 0
END PASS # 2 TOTAL ERRORS SINCE LAST REPORT 0
END PASS # 3 TOTAL ERRORS SINCE LAST REPORT 0
END PASS # 4 TOTAL ERRORS SINCE LAST REPORT 0
END PASS # 5 TOTAL ERRORS SINCE LAST REPORT 0
END PASS # 6 TOTAL ERRORS SINCE LAST REPORT 0
END PASS # 7 TOTAL ERRORS SINCE LAST REPORT 0 |
KKTBD0 (mmu)
Code Block |
---|
CKKTBD0 11/44 MEM MGMT PRT B
EOP MESSAGES WILL PRINT EVERY 64 PASSES OR ABOUT 11 SECONDS
END PASS # 64
END PASS # 128
END PASS # 192 |
KKUAE0 (ubi, map)
Code Block |
---|
CKKUAE 11/24/44 UBI MAP
DIAGNOSTIC HAS DETERMINED THAT CPU IS AN 11/44
END PASS # 1
END PASS # 2
END PASS # 3
END PASS # 4
END PASS # 5
END PASS # 6 |
KKKA (Cache)
Code Block |
---|
CKKKAC0 11-44 KK11B CACHE
RMI REGISTER (G5179) NOT USED-SKIP HI ORDER BIT ADDRESS TEST
UNIBUS EXERCISER NOT USED- DMA TESTS NOT PERFORMED
END OF PASS # 1
END OF PASS # 2
END OF PASS # 3 |
ZMSP (Memory)
Code Block |
---|
CZMSPC MS11-L/M/P MEMORY DIAGNOSTIC
11/44 CACHE AVAILABLE
CSR MAP
CSR 0 1 2 3 4 5 6 7 8 9 A B C D E F
MEMTYPE P
512K OF MS11-P
512K WORDS OF MEMORY TOTAL
MEMORY CONFIGURATION MAP
16K WORD BANKS
1 2 3 4 5 6 7
012345670123456701234567012345670123456701234567012345670123
ERRORS
INTRLV --------------------------------
MEMTYPE PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
CSR 00000000000000000000000000000000
PROTECT PP
END PASS #QV 1 |
ZM9BE0 (Ubi, bootproms)
Code Block |
---|
CZM9BE0 M9312/1144 UBI BOOT
DIAG. ROM (E20) (FOR 11-44 UBI: E58)C0
BOOTSTRAP ROM ENTRY POINTS AND DEVICE CODES
LOC. NO DIAG. RUN DIAG. DEVICE CODE
ROM 1(E48) 173004 173006 MS
ROM 2(E49) 173204 173206 DL
PSEUDO POWER-FAIL VECTOR ADR./NEW PC 173024 173052
ROM SEQUENCE IS INCORRECT AS PER INSTALLATION PROCEDURE.
SEQUENCE SHOULD BE:
ROM 1(E48) DL
ROM 2(E49) MS
END PASS
END PASS
END PASS
END PASS
END PASS
END PASS |
DL = RL01 / RL02 disk
MS = TS04/TU80/TSU05 tape
ZDLDI0 (mfm, slu)
Code Block |
---|
CZDLDI0 DL11-W 11/44 MFM SLU
02 DEVICES UNDER TEST
TRAP CATCHER
TEST# ERR PC RCSR OLDPC TRAP ADR
000024 014540 176500 007472 000424
CONSOLE
17777707 014544 |
Second run fails too:
Code Block |
---|
CZDLDI0 DL11-W 11/44 MFM SLU
02 DEVICES UNDER TEST
TRAP CATCHER
TEST# ERR PC RCSR OLDPC TRAP ADR
000024 014540 176500 007474 000424
CONSOLE
17777707 014544 |
KFPCD0 (fpu11)
Code Block |
---|
CKFPCD0 FP11F FLTG PNT PRT C
EOP MESSAGE WILL PRINT EVERY 1000 PASSES (15 SECONDS)
HIT ANY KEY TO ENABLE/DISABLE EOP MESSAGES
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040010 040010
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 177700
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040004 040004
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 000000
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040000 040000
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 000001
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040000 040000
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 000175
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040010 040010
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 177601
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040370 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040352 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 047710 047710
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 177756
END PASS # 1 TOTAL ERRORS THIS PASS 22
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040010 040010
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 177700
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040004 040004
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 000000
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040000 040000
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 000001
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040000 040000
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 000175
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040364 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040356 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 040010 040010
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 177601
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175020 040362 040370 040200
STEXP AUTO INCREMENTED/DECREMENTED R0 INCORRECTLY
M7095 ECO # 10 MIGHT NOT BE INSTALLED
TEST PC OF CALL STEXP OP CODE EXPCTD RECVED PC OF ERROR
74 040232 175040 040360 040352 040200
STEXP A,(R) FAILED.
TEST. PC OF CALL. PC OF ERROR. GOT FPS. EXPECTED FPS.
74 040300 040200 047710 047710
AC OPERAND: 123456 076543 177777 177777
GOT RESULT: 123456
EXPECTED RESULT: 177756
END PASS # 2 TOTAL ERRORS THIS PASS 22
|
Not a happy FPU… KFPA and KFPB do pass though.