; Load GIC diagnostic from the tape. ; Set up the log(s). set -N console log=GIC25.log set -N console debug=GIC25-debug.log ; Establish the initial environment. ; ; The CPU clock must be REALTIME to pass GICDIAG section 24 (timeouts). echo echo Configuring the simulation environment. set CPU 512K,REALTIME set console DEL=177 break delay 30 milliseconds ; Remove all devices from the HP-IB set DC DISABLED set GIC COUNT=2 set GIC CHANNEL=11 set GICA CHANNEL=12 set imba debug=csrw;data set gic debug set gica debug set cpp debug=cmd;data;opnd;serv echo echo echo ----------------------------------------- echo General I/O Channel Diagnostic Section 25 echo ----------------------------------------- echo echo Loading the GIC diagnostic. ; Cold load the DUS-III tape. attach -e -r MS0 DUS-III.tape boot MS0 echo echo Configuring the diagnostic. deposit SWCH 1 ; Load and start the diagnostic. ; ; The diagnostic loads from tape and then waits for a . echo echo Starting the diagnostic. reply "\r" delay 2 seconds ; Configure the diagnostic go until ">" ; reply "TEST 25\r" go until ">" ; reply "GO\r" ; Correct the diag from 021001 (LDI 1) to 000600 (ZERO,NOP) deposit 00.075515 000600 go until "What is the CHANNEL address of GIC under test? " ; reply "11\r" go until "What is the channel number of second GIC? " ; reply "12\r" go until ">" ; reply "GO\r" ; Respond to "Connect GIC under test to second GIC with interconnect cable" ; "and no other device attached." ; ; Set 'SYS CTRL' switch on GIC under test to 'OFF' (out) ; Respond 'GO' set GIC NOSYS,DIAGNOSTIC set GICA DIAGNOSTIC ; Either alternate is OK, although the former might be easier to read. if "%1" == "" 'set cpu exec=027000;177400' ; set cpu debug=exec if "%1" != "" 'set cpu debug,nodebug=fetch;pserv' go until ">" exit