if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getDX7sPBPflag()==1 ) {  DX7ParamChanges.mkSysInfoAvail(port, (byte)(channel+0x10));  sendPatchWorker(p);
if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getDX7sPBPflag()==1 ) {  DX7ParamChanges.mkSysInfoAvail(getPort(), (byte)(getChannel()+0x10));  sendPatchWorker(p);
  public void storePatch (Patch p, int bankNum,int patchNum)  {    if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getSwOffMemProtFlag()==1 )    {      // switch off memory protection of internal/cartridge voices      DX7ParamChanges.swOffMemProt(port, (byte)(channel+0x10), (byte)(bankNum+0x21), (byte)(bankNum+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));      //place patch in the edit buffer       sendPatchWorker(p);      // internal memory or RAM cartridge?      DX7ParamChanges.chBank(port, (byte)(channel+0x10), (byte)(bankNum+0x25));      //start storing ...          (depress Store button)      DX7ParamChanges.depressStore.send(port,(byte)(channel+0x10));      //put patch in the patch number      DX7ParamChanges.chPatch(port, (byte)(channel+0x10), (byte)(patchNum));      //... finish storing         (release Store button)      DX7ParamChanges.releaseStore.send(port,(byte)(channel+0x10));    }    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);      if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getTipsMsgFlag()==1 )        // Information        JOptionPane.showMessageDialog(PatchEdit.instance,                                      getDriverName()+"Driver:"+ DX7Strings.STORE_SINGLE_VOICE_STRING,                                      getDriverName()+"Driver",                                      JOptionPane.INFORMATION_MESSAGE);    }  }