log.debug(" Control byte0 " + Integer.toBinaryString(byte0 & 0xff));
   private void processCC0 (byte byte0) {//      System.out.println(" Control byte0 " + Integer.toBinaryString(byte0 & 0xff));      boolean lockKeyboard = true;      boolean resetMDT=false;      boolean resetMDTAll = false;      boolean nullMDT = false;      boolean nullAll = false;      // Bits 3 to 6 are reserved and should be set to '0000'      // 0xE0 = '11100000' - only the first 3 bits are tested      if ((byte0 & 0xE0) == 0x00) {         lockKeyboard = false;      }      // '00100000' = 0x20 /32 -- just lock keyboard      // '01000000' = 0x40 /64      // '01100000' = 0x60 /96      // '10000000' = 0x80 /128      // '10100000' = 0xA0 /160      // '11000000' = 0xC0 /192      // '11100000' = 0xE0 /224      switch (byte0 & 0xE0) {         case 0x40:            resetMDT = true;            break;         case 0x60:            resetMDTAll = true;            break;         case 0x80:            nullMDT = true;            break;         case 0xA0:            resetMDT = true;            nullAll = true;            break;         case 0xC0:            resetMDT = true;            nullMDT = true;            break;         case 0xE0:            resetMDTAll = true;            nullAll = true;            break;      }      if (lockKeyboard) {         screen52.setKeyboardLocked(true);         pendingUnlock = false;      }      else         pendingUnlock =false;      if (resetMDT ||            resetMDTAll ||            nullMDT ||            nullAll) {         ScreenField sf;         int f = screen52.getScreenFields().getSize();         for (int x = 0; x < f; x++) {            sf = screen52.getScreenFields().getField(x);            if (!sf.isBypassField()) {               if ((nullMDT && sf.mdt) || nullAll ) {                  sf.setFieldChar((char)0x0);                  screen52.drawField(sf);               }            }            if (resetMDTAll || (resetMDT && !sf.isBypassField()))                  sf.resetMDT();         }         sf = null;      }   }