; Terminal Data Interface diagnostic (D427A). ; Parameter 1 = path to diagnostic tape. ; ; Configuration locations: ; ; Location Default Value Contents ; ------------- ------------- --------------------------------------------------- ; DB+0 021640 002011 Switch Register setting ; DB+1 021641 077400 Section Select Register setting ; DB+2 021642 000001 Version and update level ; DB+3 021643 000007 7 Terminal Data Interface DRT number ; DB+4 021644 000310 200 Maximum error print count ; DB+5 021645 000003 3 Clock DRT number echo echo echo ------------------------------- echo D427A - Terminal Data Interface echo ------------------------------- echo echo Loading the stand-alone loader. ; Cold load the I/O diagnostics tape. attach -r MS0 %130000-11017_Rev-2640_IO.tape boot MS0 ; Load the tape file containing the diagnostic. ; ; The I/O tape contains these files: ; ; DIAGNOSTIC FILE REV %FILE ; ------------------- ------ ----- ---- ; SLEUTH PD411A 01.05 (01) ; CART DISC-7905A PD419A 01.04 (02) ; MEMORY PATTERN PD421A 01.00 (03) ; MULTIPLEXOR CHAN PD422A 01.02 (04) ; DISC FILE-2888A PD423A 01.00 (05) ; CART DISC-7900A PD424A 01.00 (06) ; SYSTEM CLOCK II/III PD425A 01.00 (07) ; SYS CLK/FLI III-LC PD426A 00.00 (10) ; TERMINAL DATA PD427A 01.01 (11) ; FIXED HEAD DISC PD428A 01.00 (12) ; SELECTOR CHAN PD429A 01.01 (13) ; FLT.CORR.MEM SER-II PD430A 01.01 (14) ; FLT.CORR.MEM SER-III PD430B 00.00 (15) ; EXTEND INSTRUC SET PD431A 01.00 (16) ; HSI DIAG. PD432A 01.00 (17) ; MAGNETIC TAPE PD433A 01.04 (20) ; SSLC INTERFACE PD434A 01.03 (21) ; ASLC INTERFACE PD434B 01.04 (22) ; UI DIAG PD435A 01.01 (23) ; TERMINAL CONTROL PD438A 01.00 (24) ; CALCOMP PLOTTER PD439A 01.01 (25) ; COBOLII A F/W DIAG PD441A 00.00 (26) ; COBOLII B F/W DIAG PD442A 00.00 (27) ; STAND ALONE DISC SADUTIL 01.00 (30) deposit SWCH 11 echo echo Loading the diagnostic. echo Expect halt 6 if successful. go ; Verify HALT 6 to set the switch register options. assert CIR=030366 ; Set the ATC and CLK into diagnostic mode. set ATCD DIAGNOSTIC set CLK REALTIME ; Set the Switch Register options: ; ; + bit 0 = select the external switch register ; + bit 1 = modify the Section Select Register ; bit 2 = not used ; bit 3 = not used ; bit 4 = not used ; bit 5 = channel selection (0/1 = automatic/manual) ; bit 6 = not used ; bit 7 = not used ; bit 8 = not used ; bit 9 = not used ; bit 10 = not used ; bit 11 = loop on the last step ; bit 12 = halt on error ; bit 13 = halt at the end of each step ; bit 14 = halt at the end of each section ; bit 15 = halt at the end of each diagnostic pass deposit SWCH 140000 echo echo Configuring the switch register. echo Expect halt 5 if successful. go ; Verify HALT 5 to set the Section Select options. assert CIR=030365 ; Set the Section Select options: ; ; bit 0 = TDI DRT configuration section ; + bit 1 = execute section 1 ; + bit 2 = execute section 2 ; + bit 3 = execute section 3 ; + bit 4 = execute section 4 ; + bit 5 = execute section 5 ; + bit 6 = execute section 6 ; + bit 7 = execute section 7 ; bit 8 = execute section 8 ; bit 9 = not used ; bit 10 = not used ; bit 11 = not used ; bit 12 = not used ; bit 13 = not used ; bit 14 = not used ; bit 15 = not used deposit SWCH 077400 echo echo Configuring the section select register. echo Expect halt 6 if successful. go ; Verify HALT 6 to set the switch register options. assert CIR=030366 ; Set the Switch Register options: ; ; + bit 0 = select the external switch register ; bit 1 = modify the Section Select Register ; bit 2 = not used ; bit 3 = not used ; bit 4 = not used ; bit 5 = channel selection (0/1 = automatic/manual) ; bit 6 = not used ; bit 7 = not used ; bit 8 = not used ; bit 9 = not used ; bit 10 = not used ; bit 11 = loop on the last step ; + bit 12 = halt on error ; bit 13 = halt at the end of each step ; bit 14 = halt at the end of each section ; + bit 15 = halt at the end of each diagnostic pass deposit SWCH 100011 ; Run the diagnostic. echo echo Reconfiguring the switch register and executing the diagnostic. echo Expect halt 15 for successful completion. go ; End of the diagnostic. ; ; Verify HALT 15 for a successful automatic pass ; (or HALT 16 for a successful manual pass). assert CIR=030375 ; Restore the hardware configuration. set ATCD TERMINAL set CLK CALTIME