1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-13 07:19:57 +00:00

Fixed DQXDEV (DQ) device to work in KA-10. Resolve #1669.

This commit is contained in:
Eric Swenson 2019-08-02 20:41:31 +00:00
parent 3744295d5b
commit 40bc0b9840
5 changed files with 40 additions and 1 deletions

View File

@ -221,3 +221,7 @@ proc copy_to_klfe {file} {
proc comsat_switches {} { proc comsat_switches {} {
respond "Limit to KA-10 instructions" "y\r" respond "Limit to KA-10 instructions" "y\r"
} }
proc dqxdev_switches {} {
respond "Limit to KA-10 instructions" "y\r"
}

View File

@ -196,3 +196,7 @@ proc copy_to_klfe {file} {
proc comsat_switches {} { proc comsat_switches {} {
respond "Limit to KA-10 instructions" "y\r" respond "Limit to KA-10 instructions" "y\r"
} }
proc dqxdev_switches {} {
respond "Limit to KA-10 instructions" "y\r"
}

View File

@ -210,3 +210,7 @@ proc copy_to_klfe {file} {
proc comsat_switches {} { proc comsat_switches {} {
respond "Limit to KA-10 instructions" "n\r" respond "Limit to KA-10 instructions" "n\r"
} }
proc dqxdev_switches {} {
respond "Limit to KA-10 instructions" "n\r"
}

View File

@ -194,6 +194,7 @@ comsat_switches
expect ":KILL" expect ":KILL"
respond "*" ":midas device;jobdev dq_sysnet;dqxdev\r" respond "*" ":midas device;jobdev dq_sysnet;dqxdev\r"
dqxdev_switches
expect ":KILL" expect ":KILL"
respond "*" "comsat\033j" respond "*" "comsat\033j"

View File

@ -92,6 +92,24 @@ $barf: .call joberr
quit quit
quit quit
IF1,[
DEFINE IFCE A,B
IFE SIXBIT/A/-SIXBIT/B/,TERMIN ;SUBSTITUTE FOR IFSE THAT IGNORES CASE
PRINTX /Limit to KA-10 instructions? /
.TTYMAC KAONLY
IRPS Z,,[YES Y]
IFCE Z,KAONLY,{
$$KA10==1
.ISTOP
}
TERMIN
TERMIN
IFNDEF $$KA10, $$KA10==0
]
$$arpa==1 $$arpa==1
$$chaos==1 $$chaos==1
$$hostnm==1 $$hostnm==1
@ -373,7 +391,15 @@ qt.ptr: move a,qclass ; which type of foo-ADDR are we lookinf for?
call strlen call strlen
sub a,t ; get difference sub a,t ; get difference
ifg. a ; better be something left! ifg. a ; better be something left!
adjbp a,[440700,,qname] ; point at where trailer should be IFN $$KA10,[
move t,[440700,,qname]
ibp t
sojg a, .-1
move a,t
]
IFE $$KA10,[
adjbp a,[440700,,qname] ; point at where trailer should be
]
call strcmp ; strings match? call strcmp ; strings match?
anskp. ; yup anskp. ; yup
setz t, ; tie off string setz t, ; tie off string