View Single Post
Old 15 November 2008, 19:14   #44
mr_0rga5m
Tik Gora :D

mr_0rga5m's Avatar
 
Join Date: Oct 2001
Location: Round yo momma's
Posts: 1,273
Quote:
Originally Posted by jasonver2.0 View Post
checksum+=long(buf+i*4) - i dont know whats happening here
Say 'i' contains 3 .. then you would get the value from location of 'buf' + 12 (cast to long) and add it to 'checksum' (also defined as long).

Code:
buf :       444F5300 'D' 'O' 'S' 
            00000000  *checksum*
            00000370
            43FA003E
            70254EAE
            FDD84A80

so checksum would be checksum plus 43FA003E.
mr_0rga5m is offline  
 
Page generated in 0.08586 seconds with 9 queries