; Load DUS-III from the tape. ; Set up the log(s). set -N console debug=BURSTREAD-debug.log set -N console log=BURSTREAD.log set imba debug=csrw;data set gic debug set cpp debug set dc debug=cmd;inco;state ; Establish the initial environment. echo echo Configuring the simulation environment. set CPU 512K,CIS set console DEL=177 set IMBA ENABLED break delay 30 milliseconds attach DC0 rte.disc echo echo echo ----------------------------- echo Diagnostic Utility System III echo ----------------------------- echo echo Loading DUS-III. ; Cold load the DUS-III tape. attach -e -r MS0 DUS-III.tape boot MS0 echo echo Configuring the diagnostic. deposit SWCH 2 ; 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 go until "\r\n:" ; reply "AID\r" ; do a burst-mode LOCREAD on device 0 unit 0 ; ; CC(0) = --0DH (Request Status opcode) ; CC(1) = --18H (Set Length opcode) ; CC(2) = 0000H \ ; CC(3) = 0300H / 768 bytes ; CC(4) = 00--H (Locate and Read opcode) ; CC(5) = 3C01H (Set Burst Last opcode, 1 block) ; Line 10 go until "\r\n> " ; reply "DB AA,10,0\r" go until "\r\n> " ; reply "DB BB,256,0\r" go until "\r\n> " ; reply "DB CC,10,0\r" go until "\r\n> " ; reply "DB DD,1024,0\r" go until "\r\n> " ; reply "ASSIGN CC(0),!0D,!18,!0000,!0300,!00,!3C01\r" go until "\r\n> " ; reply "LET CHANNEL:=11,DEVICE:=0\r" go until "\r\n> " ; reply "BSIO ZZ\r" go until "\r\n> " ; reply "DSJ 90\r . QSTAT REPORTING\r" ; Line 90 go until "\r\n> " ; reply "WR !5,CC(0),1,,R . REQUEST STATUS COMMAND\r" go until "\r\n> " ; reply "WAIT\r" go until "\r\n> " ; reply "RR !E,DD(0),20 . REQUEST STATUS EXECUTION\r" go until "\r\n> " ; reply "WAIT\r" go until "\r\n> " ; reply "DSJ 140\r . QSTAT REPORTING\r" ; Line 140 go until "\r\n> " ; reply "WR !5,CC(5),2 . SET BURST COMMAND\r" go until "\r\n> " ; reply "WAIT\r" go until "\r\n> " ; reply "DSJ 170\r . QSTAT REPORTING\r" ; Line 170 go until "\r\n> " ; reply "WR !5,CC(1),6,,R . LOCREAD COMMAND\r" go until "\r\n> " ; reply "WAIT\r" go until "\r\n> " ; reply "RB !E,DD(0),768,256 . LOCREAD EXECUTION (BURST)\r" go until "\r\n> " ; reply "JUMP 220 . END ON EOI\r" go until "\r\n> " ; reply "JUMP 180 . END ON BURST\r" go until "\r\n> " ; reply "WAIT\r" go until "\r\n> " ; reply "DSJ 240,240 . QSTAT REPORTING\r" ; Line 240 go until "\r\n> " ; reply "IN H\r" go until "\r\n> " ; reply "RSIO\r" go until "\r\n> " ; reply "END\r" go until "\r\n> " ; reply "RUN\r" ; Exit go until "\r\n> " ; reply "EXIT\r" go until "?" ; reply "YES\r" go until "\r\n:" exit