From 35b59c63e8b0f8844d3dcb61be6308673db023b0 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Fri, 23 Jul 2021 09:12:16 +0200 Subject: [PATCH] Make ITS check whether the Type 340 display is up and running. Now that ITS will honor the DSDP switch, it might not check the CONI DIS bit 0 to see if the 340 is available. This leads to a situation where the display could be turned off but ITS thinks it's always online and will try to use it. This commit adds a check writing some CONO bits and read them back with CONI. --- src/system/{itsdev.976 => itsdev.977} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename src/system/{itsdev.976 => itsdev.977} (99%) diff --git a/src/system/itsdev.976 b/src/system/itsdev.977 similarity index 99% rename from src/system/itsdev.976 rename to src/system/itsdev.977 index 3b8efe44..4bc96a4f 100755 --- a/src/system/itsdev.976 +++ b/src/system/itsdev.977 @@ -2650,7 +2650,10 @@ ADSDV: ;A HAS NEW 340MD CONO DIS,0 CONI DIS,T JUMPE T,ADSDVN ;DIS NOT AVAIABLE -ADSDV1: SKIPL T,DISUSR +ADSDV1: CONO DIS,DISCHN + CONSO DIS,7 + JRST ADSDVN ;DIS NOT RUNNING + SKIPL T,DISUSR CAMN U,DISUSR JRST ADSDVY ;YES CAME U,UMASTER