; Run Section 2 of the CPU diagnostic (D420A1). ; ; Preconfiguration is used. ; ; Fails on step 11, floating-point tests (unimplemented). ; Set up the log(s). set -n console log=zcpu02.log set -n console debug=debug.log ; Configuration locations: ; ; Location Default Value Contents ; ------------- ------------- --------------------------------------------------- ; DB+0 002000 000001 Switch Register setting ; DB+1 002001 000000 Section Select Register setting ; DB+2 002002 001000 Version and update level ; DB+3 002003 000002 Section number ; DB+5 002005 000000 Step number ; Boot the CPU diagnostics tape. attach -r ms0 30000-11016_Rev-1244_CPU-64K.tape boot ms0 boot ms0 ; Preconfigure the diagnostic. ; ; Set the Internal Switch Register options: ; ; bit 0 = select the external switch register ; bit 1 = modify the Section Select Register ; bit 2 = optional firmware is installed ; bit 3 = not used ; bit 4 = not used ; 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 = loop on the last step ; bit 12 = not used ; bit 13 = halt at the end of each step ; + bit 15 = halt at the end of each pass deposit 2000 000001 ; Set the Section Select Register options: ; ; bit 0 = not used ; bit 1 = not used ; bit 2 = not used ; + bit 3 = loop only once on each step ; bit 4 = not used ; 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 2001 010000 ; Set the debugging options. set cpu debug,nodebug=pserv set iop debug=dio;irq ; Start the diagnostic. echo echo Starting the diagnostic. echo Expect halt 15 for successful completion. go ; End of the diagnostic. ; ; Verify HALT 15 for a successful pass. assert CIR=030375