1 thought on “Roland Checksum Calculator”

  1. lua function to calculate checksum from MemoryBlock()

    function checkSumMb(m) -- Roland Checksum from MemoryBlock
      local sum=0
      local result=0
      for i=0,m:getSize()-1 do
    local result=bit.band(sum,0x7f)
    if result * 1 ~=0 then
    result= 0x80-result
    return result
    end --function

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Do NOT follow this link or you will be banned from the site!