; System Clock/Fault Logging Interface diagnostic (D426A). ; Parameter 1 = path to diagnostic tape. ; ; Configuration locations: ; ; Location Default Value Contents ; ------------- ------------- --------------------------------------------------- ; DB+0 016420 000000 Switch Register setting ; DB+1 016421 074000 Section Select Register setting ; DB+2 016422 000000 Version and update level ; DB+3 016423 000003 3 System clock DRT number ; DB+4 016424 023417 9999 Maximum error print count echo echo echo -------------------------------------------- echo D426A - System Clock/Fault Logging 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 10 ; Set the CLK into diagnostic mode. set CLK REALTIME ; Load and start the diagnostic. ; ; The diagnostic loads from tape and then waits for a . echo echo Loading the diagnostic. echo Expect halt 0 if successful. reply "\r" delay 2 seconds go ; Verify HALT 0 and respond to Q02 SELECT SWREG OPTIONS. assert CIR=030360 ; 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 = loop on the current section ; bit 6 = not used ; bit 7 = output to the line printer (if configured) ; bit 8 = not used ; bit 9 = suppress non-error messages ; bit 10 = suppress error messages ; 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 1 if successful. echo go ; Verify HALT 1 and respond to Q03 SELECT SECTION SWREG. OPTIONS. assert CIR=030361 ; Set the Section Select options: ; ; bit 0 = reconfigure ; + bit 1 = execute Section 1 ; + bit 2 = execute Section 2 ; + bit 3 = execute Section 3 ; + bit 4 = execute Section 4 ; bit 5 = not used ; bit 6 = not used ; bit 7 = not used ; bit 8 = not used ; 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 074000 echo echo Configuring the section select register. echo Expect halt 2 if successful. echo go ; Verify HALT 2 and respond to Q05 RESTORE SWREG OPTIONS. assert CIR=030362 ; 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 = loop on the current section ; bit 6 = not used ; bit 7 = output to the line printer (if configured) ; bit 8 = not used ; bit 9 = suppress non-error messages ; bit 10 = suppress error messages ; 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 the of diagnostic. ; ; Verify HALT 15 for a successful pass. assert CIR=030375 ; Restore the hardware configuration. set CLK CALTIME