Skip to content

Commit 847c8eb

Browse files
committed
Updated SLAVE interface to Type 340 display to correct an obvious bug.
The value of the timeout was getting overwritten by incorrect code. I was seeing timeout errors while trying to write to the display from SHRDLU. The fix seems to help a lot.
1 parent d468a47 commit 847c8eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/l/slave.10 src/l/slave.11

+3-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ DISLEEP:
146146
MOVEI T,20. ;ELSE, NOSKIP AND LEAVE ERROR NUMBER IN A
147147
SKIPL SIXOPD
148148
MOVEI T,100. ;FOR PDP10, WAIT UP TO 3.3 SECONDS
149-
DISLP3: MOVEI T,1 ;[FOR PDP6, UP TO .6 SECS] FOR SLAVE TO RESPOND
150-
.SLEEP T,
149+
DISLP3:
150+
MOVEI D,1
151+
.SLEEP D, ;[FOR PDP6, UP TO .6 SECS] FOR SLAVE TO RESPOND
151152
SKIPE A,ERRLOC
152153
DISLP4: SOSA (P)
153154
SKIPN DFUNCTION

0 commit comments

Comments
 (0)