Показать сообщение отдельно
Старый 16.09.2012, 17:44   #56 (permalink)
Админ
 
Аватар для Admin
 
Регистрация: 07.09.2008
Сообщений: 3,577
Вы сказали Спасибо: 265
Поблагодарили 13,485 раз(а) в 1,261 сообщениях
Сказал(а) Фууу!: 28
Сказали Фууу! 0 раз(а) в 0 сообщениях
Откуда: Москва
Авто: Ford Fiesta
По умолчанию

some checksums are hard to calculate, but there is a way to do it

here is one example how I arranged the checksum for the TRW posted
when you enter the value , message box will display an expalnation how I do this

Here is the loop command that I use on this script
procedure checksum;
begin
For Loop := 0 to 15 do Begin
CRC:= (inttohex(Z,6)[5]+inttohex(Z,6)[6]) + CRC;
Z := z + 1;
end;
Z := Z - 31;
For Loop := 0 to 15 do Begin
CRC:= (inttohex(Z,6)[5]+inttohex(Z,6)[6]) + CRC;
Z := z + 1;
end;
end;
Вложения
Тип файла: rar TRW.rar (6.3 Кб, 185 просмотров)
Admin вне форума   Ответить с цитированием
Эти 2 пользователя(ей) сказали Спасибо Admin за сообщение:
mixa2312 (21.07.2015), роман1969 (16.01.2020)