mirror of
https://github.com/PDP-10/its.git
synced 2026-02-27 01:09:49 +00:00
Patch the value of IMPUS3 when IP is read from the IMP
This commit is contained in:
committed by
Lars Brinkhoff
parent
47e0df7898
commit
621201978f
@@ -629,6 +629,19 @@ IMPIN: LDB T,[241000,,IMPILB+0] ;get network byte (ip[0])
|
||||
MOVE T,NIFIPA ; make network part of address
|
||||
AND T,NIFIPM
|
||||
MOVEM T,NIFIPN ; save it
|
||||
;; Backwards compatibility for RESOLV"OWNHST (used by e.g. COMSAT):
|
||||
;; patch the IMPUS3 symbol
|
||||
PUSH P,A ;Save the ACs clobbered by symlk
|
||||
PUSH P,B
|
||||
PUSH P,C
|
||||
MOVE B,[SQUOZE 0,IMPUS3]
|
||||
PUSHJ P,SYMLK
|
||||
BUG HALT,[IMPUS3 symbol not found]
|
||||
MOVE A,NIFIPA
|
||||
MOVEM A,(C) ;Zap the symbol value
|
||||
POP P,C
|
||||
POP P,B
|
||||
POP P,A
|
||||
JRST IMPIRT ;One more NOP from IMP
|
||||
|
||||
;;; IMP->Host Type 5 - RFNM (Ready For Next Message)
|
||||
Reference in New Issue
Block a user