public void calculateChecksum(Patch ip, int start, int end, int ofs) {
protected void calculateChecksum(Patch ip, int start, int end, int ofs) {
    public void calculateChecksum(Patch ip, int start, int end, int ofs) {    	Patch p = (Patch)ip;    	// a litte strange this, but there is a checksum for each key!        for (int i = 8; i < HSIZE + SSIZE - 1; i += 11) {	    int sum = 0;            for (int j = i; j < i + 10; j++) {		sum += p.sysex[j];            }	    sum += 0xA5;	    p.sysex[i + 10] = (byte) (sum % 128);        }    }