From f3269ef9d19cabf8f9cebf0f119249d9a43983aa Mon Sep 17 00:00:00 2001 From: Eric Swenson Date: Mon, 22 Jul 2024 17:20:31 -0700 Subject: [PATCH] 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. --- src/l/{slave.10 => slave.11} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename src/l/{slave.10 => slave.11} (99%) diff --git a/src/l/slave.10 b/src/l/slave.11 similarity index 99% rename from src/l/slave.10 rename to src/l/slave.11 index 22a924b0..60313939 100644 --- a/src/l/slave.10 +++ b/src/l/slave.11 @@ -146,8 +146,9 @@ DISLEEP: MOVEI T,20. ;ELSE, NOSKIP AND LEAVE ERROR NUMBER IN A SKIPL SIXOPD MOVEI T,100. ;FOR PDP10, WAIT UP TO 3.3 SECONDS -DISLP3: MOVEI T,1 ;[FOR PDP6, UP TO .6 SECS] FOR SLAVE TO RESPOND - .SLEEP T, +DISLP3: + MOVEI D,1 + .SLEEP D, ;[FOR PDP6, UP TO .6 SECS] FOR SLAVE TO RESPOND SKIPE A,ERRLOC DISLP4: SOSA (P) SKIPN DFUNCTION