diff --git a/SEL32/README.md b/SEL32/README.md index b6c9fe1..832306c 100644 --- a/SEL32/README.md +++ b/SEL32/README.md @@ -95,6 +95,13 @@ diag.tap - bootable level one diagnostic tape w/auto testing. Testing is extremely difficult without any source for the diagnostics. Updates to follow as tests are corrected. +# SEL32 tap tools available in the taptools directory: + +Available tap tools in taptools directory: +./taptools - set of tools to work with .tap formatted tapes. Also tools + to convert between MPX and UNIX file formats. See README + file in the taptools directory and source for descriptions. + Other MPX versions support: I have recently received some old MPX 3.X save tapes. Using these I have been able to hand build a MPX3.6 SDT tape that diff --git a/SEL32/installs/loadscsi21b.ini b/SEL32/installs/loadscsi21b.ini index 03aeb5b..4ea00ac 100644 --- a/SEL32/installs/loadscsi21b.ini +++ b/SEL32/installs/loadscsi21b.ini @@ -290,7 +290,7 @@ deposit BOOTR[7] 42 ;deposit BOOTR[7] 2 ;deposit BOOTR[6] 800 ;deposit BOOTR[0] ffffffff - +; ; Set register content at boot for SEL diagnostics ; uncomment next line to get diag loader prompt ;deposit bootr[0] ffffffff diff --git a/SEL32/installs/loadscsi3x.ini b/SEL32/installs/loadscsi3x.ini index 707a481..f6df2f5 100644 --- a/SEL32/installs/loadscsi3x.ini +++ b/SEL32/installs/loadscsi3x.ini @@ -130,7 +130,7 @@ deposit CSW 0 ; ; allow cpu idle set cpu idle - +; ; wait for expected output from simulator, then enter this text expect "ENTER" send " %DATE_MM%/%DATE_DD%/%DATE_YY%,%TIME_HH%:%TIME_MM%:%TIME_SS%\r"; continue expect "FMT>" send "INITIALIZE DEVICE=DM7600 DEST=Y DISC=DM0300 CON=N\r"; continue diff --git a/SEL32/installs/runscsi21b.ini b/SEL32/installs/runscsi21b.ini index d60a956..9cf048e 100644 --- a/SEL32/installs/runscsi21b.ini +++ b/SEL32/installs/runscsi21b.ini @@ -234,7 +234,7 @@ deposit BOOTR[7] 40 ;deposit BOOTR[7] 2 ;deposit BOOTR[6] 800 ;deposit BOOTR[0] ffffffff - +; ; Set register content at boot for SEL diagnostics ; uncomment next line to get diag loader prompt ;deposit bootr[0] ffffffff diff --git a/SEL32/installs/sel32load1x.ini b/SEL32/installs/sel32load1x.ini index f968d22..7037d86 100644 --- a/SEL32/installs/sel32load1x.ini +++ b/SEL32/installs/sel32load1x.ini @@ -135,7 +135,7 @@ set con1 dev=7efd ; useful options ;;set mta debug=cmd;detail;exp ;set mta debug=cmd;exp - +; ; enable MTA to change channel set mta enable ; set mta channel @@ -215,7 +215,7 @@ deposit CSW 0 ;deposit BOOTR[7] 2 ;deposit BOOTR[6] 800 ;deposit BOOTR[0] ffffffff - +; ; Set register content at boot for SEL diagnostics ; uncomment next line to get diag loader prompt ;deposit bootr[0] ffffffff diff --git a/SEL32/installs/sel32run1x.ini b/SEL32/installs/sel32run1x.ini index fc6d5a8..e5cc063 100644 --- a/SEL32/installs/sel32run1x.ini +++ b/SEL32/installs/sel32run1x.ini @@ -109,7 +109,7 @@ set con0 dev=7efc ; useful options ;;set mta debug=cmd;detail;exp ;set mta debug=cmd;exp - +; ; enable MTA to change channel set mta enable ; set mta channel @@ -191,7 +191,7 @@ deposit CSW 0 ;deposit BOOTR[7] 2 ;deposit BOOTR[6] 800 ;deposit BOOTR[0] ffffffff - +; ; Set register content at boot for SEL diagnostics ; uncomment next line to get diag loader prompt ;deposit bootr[0] ffffffff diff --git a/SEL32/installs/user36erunp2.ini b/SEL32/installs/user36erunp2.ini index 18956e6..02e3d49 100644 --- a/SEL32/installs/user36erunp2.ini +++ b/SEL32/installs/user36erunp2.ini @@ -145,13 +145,14 @@ set con0 dev=7efc set mta enable ; set mt channel set mta0 dev=1000 - +; ; Attach in/out tape files ;at mta0 user36sdts2.tap ;at mta0 user36sdts1.tap set mta0 locked at mta0 tapes/nbctape3x.tap ;at mta0 test.tap +;at mta0 user36sdt.tap ;at mta1 output.tap ;at mta0 iscsys_dsk.tap ; diff --git a/SEL32/installs/user36esdtp2.ini b/SEL32/installs/user36esdtp2.ini index 3b56612..e02125a 100644 --- a/SEL32/installs/user36esdtp2.ini +++ b/SEL32/installs/user36esdtp2.ini @@ -175,7 +175,7 @@ set con0 dev=7efc set mta enable ; set mt channel set mta0 dev=1000 - +; ; Attach in/out tape files set mta0 locked at mta0 tapes/user36esdtp2.tap @@ -285,7 +285,7 @@ deposit BOOTR[7] 42 ;deposit BOOTR[7] 2 ;deposit BOOTR[6] 800 ;deposit BOOTR[0] ffffffff - +; ; Set register content at boot for SEL diagnostics ; uncomment next line to get diag loader prompt ;deposit bootr[0] ffffffff diff --git a/SEL32/tests/diag.ini b/SEL32/tests/diag.ini index 80cf65a..7e2976e 100644 --- a/SEL32/tests/diag.ini +++ b/SEL32/tests/diag.ini @@ -126,7 +126,7 @@ set con1 dev=7efd set mta enable ; set mta channel set mta0 dev=1000 - +; ; Attach in/out tape files set mta0 locked at mta0 diag.tap @@ -195,7 +195,7 @@ deposit CSW 0 ;deposit BOOTR[7] 2 ;deposit BOOTR[6] 800 ;deposit BOOTR[0] ffffffff - +; ; Set register content at boot for SEL diagnostics ; uncomment next line to get diag loader prompt ;deposit bootr[0] ffffffff diff --git a/SEL32/tests/dmdiag.ini b/SEL32/tests/dmdiag.ini new file mode 100644 index 0000000..3089794 --- /dev/null +++ b/SEL32/tests/dmdiag.ini @@ -0,0 +1,227 @@ +; Set debug output +set debug -n sel.log +;set debug stderr +; +; Set run limit of 2 minutes +set runlimit 2 minutes +set on +on error ignore +on runtime echof "\r\n*** FAILED - SEL32 Test Runtime Limit %SIM_RUNLIMIT% %SIM_RUNLIMIT_UNITS% Exceeded ***\n"; exit 1 +; +; CPU type and memory +; Bad on UTX +;set CPU 32/27 2M +;set CPU 32/27 4M +;set CPU 32/87 4M +set CPU 32/67 4M +;End of Bad +;set CPU 32/97 4M +;;set CPU V6 4M +;set CPU V6 8M +;set CPU V9 4M +;set CPU V9 8M +; +; CPU debug options +;set cpu debug=cmd;exp;inst;detail;trap;xio;irq +; Set instruction trace history size +;;set cpu history=10000 +; useful options +;;set cpu debug=exp;xio;irq;trap;cmd +;set cpu debug=cmd;exp;irq;trap;xio +;set cpu debug=cmd;irq;trap;exp +;set cpu debug=irq;trap;exp;xio +;set cpu debug=irq;xio +;set cpu debug=irq;exp;trap +; +; RTC realtime clock +set RTC enable +; address is 7f06 +set RTC 50 +;set RTC 60 +; RTC debug options +;;set RTC debug=cmd +; +; ITM interval timer +; address is 7f04 +; set itm 3840 +;;set ITM debug=cmd +; +; IOP at channel 7e00 +; useful options +;set iop debug=cmd;exp +; make iop online +set iop enable +; set iop channel address +set iop0 dev=7e00 +; +; MFP at channel 7e00 +; useful options +;set mfp debug=cmd;exp +; make mfp online +;set mfp enable +; set mfp channel address +;set mfp0 dev=7e00 +;set mfp0 dev=7600 +; +;;set ec enable +; UTX says to not use mode=0, use mode=1 +;set ec mode=0 +;;set ec mode=1 +;set ec0 dev=0e00 +;;set ec0 dev=0c00 +; set mac address to cause ec to be attached +;set ec MAC=4a:45:ec:b6:5b:b4 +;;at ec tap:tap0 +;at ec nat:tcp=2323:192.68.1.26:23,tcp=2121:192.168.1.26:21 +;;set ec debug=cmd;exp;detail;irq;data;arp;tcp;udp;icmp;ether +;set ec debug=cmd;exp;detail;ether;arp +; +; COM 8-Line +;set com debug=cmd; +;set coml0 enable +;set coml1 enable +;set coml2 enable +;set coml3 enable +;set coml4 enable +;set coml5 enable +;set coml6 enable +;set coml7 enable +; +; Enable telnet sessions on port 4747 +;set comc enable +;at comc 4747 +; +; LPR +; LPR 7EF8, 7EF9 +;set lpr debug=cmd;detail +set lpr enable +; LPR output file +at lpr lprout +; +; CON Console +; useful options +;set con debug=cmd;exp;detail +; enable console +set con enable +; set console address +; set con0 enable +set con0 dev=7efc +; set con1 enable +set con1 dev=7efd +;;set con debug=cmd;exp +; +; MTA Buffered tape processor +; useful options +;set mta debug=cmd;exp;detail;data +; +; enable MTA to change channel +set mta enable +; set mta channel +set mta0 dev=1000 +;;set mta debug=cmd;exp +; Attach in/out tape files +;at mta0 mpxsdt.tap +;at mta0 nbctape.tap +;at mta0 utx21a1.tap +;at mta0 sim32sdt.tap +;at mta0 diag3.tap +set mta0 locked +at mta0 dmdiag.tap +;at mta1 output.tap +;at mta1 temptape.tap +;at mta2 output.tap +; +; DMA disk processor II/UDP +; enable DMA to change channel +set dma enable +; set disk chan to 0800 +set dma0 dev=800 +; set disk type to MPX MH300 +;set dma0 type=MH300 +; set disk type to UTX 9342 +set dma0 type=9342 +; set disk type to UTX 9346 +;set dma0 type=9346 +;set dma0 type=8155 +;set dma0 type=8887 +;set dma0 type=8148 +; +; Attach diskfile +;at dma0 utx0disk +;at dma0 utx1disk +;at dma0 sim32disk +at dma0 dmdiagdisk +; useful options +;set dma debug=cmd;exp +;;set dma debug=exp;cmd;detail +; +; SDA SCFI disk processor +;set sda debug=cmd;exp;data;detail +; Attach diskfiles +;at sda0 diskfile4 +;at sda1 diskfile5 +; +; DPA high speed disk processor +; enable the HSDP to change channel +;set dpa enable +; set channel addr +;set dpa0 dev=800 +; set disk type to UTX 8887 +;set dpa0 type=8887 +;set dpa0 type=8888 +;set dpa0 type=9342 +;set dpa0 type=MH080 +; +; Attach diskfiles +;at utxdsk.dsk +;at dpa0 dpdiagdisk +;at dpa0 utx0hsdp +;at dpa1 utx1hsdp +; +;;set dpa debug=cmd;detail;exp +; useful options +;set dpa debug=cmd;exp +; +; set console switches +deposit CSW 0 +; +;UTX boot tape options +;set GPR 7 to 0x00 to boot in multi-user mode +;set GPR 7 to 0x01 to prompt for unix filename +;set GPR 7 to 0x02 to boot in single user mode +;set GPR 7 to 0x10 to disable swapping and paging +;set GPR 7 to 0x20 to boot from device specified in GPR6 +;set GPR 7 to 0x40 to allow progress messages on boot +;deposit BOOTR[7] 40 +;deposit BOOTR[7] 52 +;deposit BOOTR[7] 42 +;deposit BOOTR[7] 2 +;deposit BOOTR[6] 800 +;deposit BOOTR[0] ffffffff + +; Set register content at boot for SEL diagnostics +; uncomment next line to get diag loader prompt +;deposit bootr[0] ffffffff +deposit bootr[1] 0 +deposit bootr[2] 0 +; +; allow cpu idle +set cpu idle +; Set expect script for auto time entry on MPX at OPCOM prompt +;expect haltafter=20000 +; wait for expected output from simulator, then enter this text +;expect "??" send " %DATE_MM%/%DATE_DD%/%DATE_YY%,%TIME_HH%:%TIME_MM%:%TIME_SS%\r"; GO +; +; Boot from disk +;bo dpa0 +;bo dma0 +; +; Go to simh on completion of script +expect "DOL>" echof "\r\n*** PASSED - SEL32 Autobatch Diagnostic Successfully Completed\n"; exit 0 +; +; Boot from mag tape +bo mta0 +det all +expect "[][]" echof "\r\n*** FAILED - SEL32 Autobatch Diagnostic Failed to Complete\n"; exit 1 +echof "\r\n*** FAILED - SEL32 Autobatch Diagnostic Failed to Complete\n"; exit 1 +quit diff --git a/SEL32/tests/sel32_test.ini b/SEL32/tests/sel32_test.ini index 80cf65a..7e2976e 100644 --- a/SEL32/tests/sel32_test.ini +++ b/SEL32/tests/sel32_test.ini @@ -126,7 +126,7 @@ set con1 dev=7efd set mta enable ; set mta channel set mta0 dev=1000 - +; ; Attach in/out tape files set mta0 locked at mta0 diag.tap @@ -195,7 +195,7 @@ deposit CSW 0 ;deposit BOOTR[7] 2 ;deposit BOOTR[6] 800 ;deposit BOOTR[0] ffffffff - +; ; Set register content at boot for SEL diagnostics ; uncomment next line to get diag loader prompt ;deposit bootr[0] ffffffff