 SPECTRUM RULEZ! (2:5020/993.213)  ZX.SPECTRUM 
 Msg  : 133 of 185                                                              
 From : Alexei Bugai                        2:461/173.3     Fri 31 Oct 97 23:24 
 To   : Ilya Zverev                                         Mon 03 Nov 97 17:43 
 Subj : p 䠩 审                                                    

               Peace unto you, _Ilya_!

29 Oct 97 Ilya Zverev write to All about "p 䠩 审":

 IZ>   祭 㦥 ᠡ, pls.

== Cut ==
 17-⭮ , 塞  TR-DOS
䠩 ணࠬ HoBeta.exe:

00-07 -  䠩
08    - ⨯ 䠩
09-0A - Start
0B-0C - Length
0D-0E - Length  256-  ( 0E - pp  ᥪp)
0F-10 - ஫쭠 㬬

 ࠧ,  14    TR-DOS᪮ ⠫.

稫 ஫쭮 㬬: S=S+257*Di+i, 

S 砫쭮=0
Di - 祭 
i - 浪   (᫨  訡, 稭  0,    1)


C src:

union {
 struct {
   unsigned char tr_filename[8];
   unsigned char tr_filetype;
   unsigned int tr_address;
   unsigned int tr_length;
   unsigned int tr_tr;
   unsigned int tr_crc;
 } tr_head;
 unsigned char head[17];
} header;

unsigned int CheckSum;
int i;

CheckSum=0;
for (i=0; i<=14; CheckSum = CheckSum + (header.head[i] * 257) + i, i++);
header.tr_head.tr_crc = CheckSum;


    ᢮ ணࠬ 襫 ⠪  ᯮᮡ 
஫쭮 㬬 :

  checksum=0;
  for (i=0; i<=14; checksum+=(unsigned char)*(bufptr+i), i++);
  checksum*=257;
  checksum+=105;

bufptr, 祢,   砫 .
=== Cut ===


     With best wishes,                            [ZX_Power Team]
                     Dr.Squizer.                  [Power_ZX Team]

... Don't try to understand me... You never will!
--- Powered by Spectrum Mail System.
 * Origin: X-Project BBS (2:461/173.3)

