log.debug(" WTD position move to home" + screen52.homePos + " row " + screen52.getRow(screen52.homePos) + " col " + screen52.getCol(screen52.homePos) );
   private void processCC1 (byte byte1) {//      System.out.println(" Control byte1 " + Integer.toBinaryString(byte1 & 0xff));      if ((byte1 & 0x04) == 0x04) {         Toolkit.getDefaultToolkit().beep();      }      if ((byte1 & 0x02) == 0x02) {         screen52.setMessageLightOff();      }      if ((byte1 & 0x01) == 0x01) {         screen52.setMessageLightOn();      }      if ((byte1 & 0x01) == 0x01 && (byte1 & 0x02) == 0x02) {         screen52.setMessageLightOn();      }      // reset blinking cursor seems to control whether to set or not set the      // the cursor position.  No documentation for this just testing and      // looking at the bit settings of this field.  This was a pain in the ass!      //      // if it is off '0' then keep existing cursor positioning information      // if it is on '1' then reset the cursor positioning information      // *** Note *** unless we receive bit 4 on at the same time      // this seems to work so far      if ((byte1 & 0x20) == 0x20 && (byte1 & 0x08) == 0x00) {         screen52.setPendingInsert(false);//         System.out.println(" WTD position no move");      }      else {         screen52.setPendingInsert(true);//         System.out.println(" WTD position move to home" + screen52.homePos +//                              " row " + screen52.getRow(screen52.homePos) +//                              " col " + screen52.getCol(screen52.homePos) );      }      // in enhanced mode we sometimes only receive bit 6 turned on which      // is reset blinking cursor      if ((byte1 & 0x20) == 0x20 && enhanced) {         cursorOn = true;      }      if (!screen52.isStatusErrorCode() && (byte1 & 0x08) == 0x08) {//         screen52.setStatus(screen52.STATUS_SYSTEM,screen52.STATUS_VALUE_OFF,null);         cursorOn = true;      }      if ((byte1 & 0x20) == 0x20 && (byte1 & 0x08) == 0x00) {         screen52.setPendingInsert(false,1,1);      }   }