if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getDX7sPBPflag()==1 ) {  DX7ParamChanges.mkSysInfoAvail(port, (byte)(channel+0x10));  DX7ParamChanges.chBank(port, (byte)(channel+0x10), (byte)(0x25)); } else { if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getTipsMsgFlag()==1 )  JOptionPane.showMessageDialog(PatchEdit.instance, getDriverName()+"Driver:"+ DX7Strings.RECEIVE_STRING, getDriverName()+"Driver", JOptionPane.INFORMATION_MESSAGE); }
if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getDX7sPBPflag()==1 ) {  DX7ParamChanges.mkSysInfoAvail(getPort(), (byte)(getChannel()+0x10));  DX7ParamChanges.chBank(getPort(), (byte)(getChannel()+0x10), (byte)(0x25)); } else { if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getTipsMsgFlag()==1 )  JOptionPane.showMessageDialog(PatchEdit.instance, getDriverName()+"Driver:"+ DX7Strings.RECEIVE_STRING, getDriverName()+"Driver", JOptionPane.INFORMATION_MESSAGE); }
  public void storePatch (Patch p, int bankNum,int patchNum)  {    if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getSwOffMemProtFlag()==1 )    {      // switch off memory protection of internal voices      DX7ParamChanges.swOffMemProt(port, (byte)(channel+0x10), (byte)0x21, (byte)0x25);    }    else    {      if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getTipsMsgFlag()==1 )        // Information        JOptionPane.showMessageDialog(PatchEdit.instance,                                      getDriverName()+"Driver:"+ DX7Strings.MEMORY_PROTECTION_STRING,                                      getDriverName()+"Driver",                                      JOptionPane.INFORMATION_MESSAGE);    }    if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getDX7sPBPflag()==1 )    {      // make Sys Info available      DX7ParamChanges.mkSysInfoAvail(port, (byte)(channel+0x10));      // switch back to voice mode (internal voices)      DX7ParamChanges.chBank(port, (byte)(channel+0x10), (byte)(0x25));    }    else    {      if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getTipsMsgFlag()==1 )        // Information        JOptionPane.showMessageDialog(PatchEdit.instance,                                      getDriverName()+"Driver:"+ DX7Strings.RECEIVE_STRING,                                      getDriverName()+"Driver",                                      JOptionPane.INFORMATION_MESSAGE);    }    sendPatchWorker(p);  };