public void calculateChecksum(IPatch ip)
public void calculateChecksum(Patch ip)
  public void calculateChecksum(IPatch ip)  {  	Patch p = (Patch)ip;    int i;    int sum=0;    for (i=7;i<=316;i++)      sum+=p.sysex[i];    p.sysex[checksumOffset]=(byte)(sum % 128);  }