Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2210 → Rev 3013

/programs/other/archer/trunk/@RCHER.ASM
79,7 → 79,7
;{
include "..\..\..\macros.inc"
; purge mov
include "..\..\debug.inc"
include "..\..\..\debug.inc"
include 'dump.inc'
;}
end if
158,7 → 158,7
Newline
xor eax,eax
; and [Flags],STAY_MODE
and [CRC32],eax
and [_CRC32_],eax
and [IDATsize],eax
mov [Adler32],1
call OpenFile
282,7 → 282,7
push esi ecx
call UCRC
Msg 11
mov eax,[CRC32]
mov eax,[_CRC32_]
mov edx,36
cmp eax,[CRC_check]
je .crcok
/programs/other/archer/trunk/data.inc
121,7 → 121,7
outp dd ?
unp_size dd ?
CRC_check dd ?
CRC32 dd ?
_CRC32_ dd ?
CRC32table rd 256
Adler32 dd ?
child dd ?
/programs/other/archer/trunk/deflate.inc
562,14 → 562,14
UCRC:
; in: esi - data to calculate CRC
; ecx - its length
; [CRC32] - previous CRC32
; out: [CRC32]- partial CRC32 (no pre- & post-conditioning!)
; [_CRC32_] - previous CRC32
; out: [_CRC32_]- partial CRC32 (no pre- & post-conditioning!)
pusha
cmp dword[CRC32table+4],0x77073096
je .tbl_rdy
call makeCRC
.tbl_rdy:
mov eax,[CRC32]
mov eax,[_CRC32_]
not eax
.m1:
movzx ebx,al
579,7 → 579,7
inc esi
loop .m1
not eax
mov [CRC32],eax
mov [_CRC32_],eax
popa
ret
 
/programs/other/archer/trunk/parser.inc
469,9 → 469,9
mov byte[esi],al
mov ecx,1
push dword[ebx]
pop [CRC32]
pop [_CRC32_]
call UCRC
push [CRC32]
push [_CRC32_]
pop dword[ebx]
mov eax,[ebx]
and eax,0xff
482,9 → 482,9
shr eax,24
mov byte[esi],al
push dword[ebx+8]
pop [CRC32]
pop [_CRC32_]
call UCRC
push [CRC32]
push [_CRC32_]
pop dword[ebx+8]
popa
ret