protected void calculateChecksum(Patch patch, int start, int end, int ofs) { CalculateChecksum(patch, start, end, ofs);
protected static void calculateChecksum(Patch patch, int start, int end, int ofs) { int sum = 0; for (int i = start; i <= end; i++) sum += patch.sysex[i]; patch.sysex[ofs] = (byte) (-sum & 0x7f);
    protected void calculateChecksum(Patch patch, int start, int end, int ofs) {        CalculateChecksum(patch, start, end, ofs);    }