1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-02-02 14:51:51 +00:00
Files
rcornwell.sims/SEL32/tests/dmdiag.ini
2022-03-07 14:18:38 -07:00

228 lines
5.1 KiB
INI

; 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