Rev 6617 | Rev 6673 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6617 | Rev 6639 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | 9 | ||
10 | FASTEST equ 1 |
10 | FASTEST equ 1 |
11 | GEN_TREES_H equ 0 |
11 | GEN_TREES_H equ 0 |
12 | DEBUG equ 0 |
12 | DEBUG equ 0 |
- | 13 | DYNAMIC_CRC_TABLE equ 1 |
|
Line 13... | Line 14... | ||
13 | DYNAMIC_CRC_TABLE equ 1 |
14 | Z_SOLO equ 0 |
14 | 15 | ||
15 | ; define NO_GZIP when compiling if you want to disable gzip header and |
16 | ; define NO_GZIP when compiling if you want to disable gzip header and |
16 | ; trailer creation by deflate(). NO_GZIP would be used to avoid linking in |
17 | ; trailer creation by deflate(). NO_GZIP would be used to avoid linking in |
17 | ; the crc code when it is not needed. For shared libraries, gzip encoding |
18 | ; the crc code when it is not needed. For shared libraries, gzip encoding |
Line 18... | Line 19... | ||
18 | ; should be left enabled. |
19 | ; should be left enabled. |
19 | GZIP equ 1 |
20 | GZIP equ 1 |
- | 21 | ||
- | 22 | macro zlib_debug fmt,p1 |
|
- | 23 | { |
|
- | 24 | if DEBUG eq 1 |
|
- | 25 | zlib_assert fmt,p1 |
|
- | 26 | end if |
|
- | 27 | } |
|
20 | 28 | ||
21 | macro zlib_debug fmt,p1 |
29 | macro zlib_assert fmt,p1 |
22 | { |
30 | { |
23 | local .end_t |
31 | local .end_t |
24 | local .m_fmt |
32 | local .m_fmt |
Line 34... | Line 42... | ||
34 | } |
42 | } |
Line 35... | Line 43... | ||
35 | 43 | ||
36 | include 'zlib.inc' |
44 | include 'zlib.inc' |
37 | include 'deflate.inc' |
45 | include 'deflate.inc' |
- | 46 | include 'zutil.asm' |
|
38 | include 'zutil.asm' |
47 | include '../kfar_arc/crc.inc' |
39 | include 'crc32.asm' |
48 | include 'crc32.asm' |
40 | include 'adler32.asm' |
49 | include 'adler32.asm' |
41 | include 'trees.asm' |
50 | include 'trees.asm' |
Line 167... | Line 176... | ||
167 | dd adeflateInit, deflateInit |
176 | dd adeflateInit, deflateInit |
168 | dd adeflateInit2, deflateInit2 |
177 | dd adeflateInit2, deflateInit2 |
169 | dd adeflateReset, deflateReset |
178 | dd adeflateReset, deflateReset |
170 | dd adeflate, deflate |
179 | dd adeflate, deflate |
171 | dd adeflateEnd, deflateEnd |
180 | dd adeflateEnd, deflateEnd |
- | 181 | dd adeflateCopy, deflateCopy |
|
- | 182 | dd azError, zError |
|
- | 183 | dd acalc_crc32, calc_crc32 |
|
172 | dd 0 |
184 | dd 0 |
Line 173... | Line 185... | ||
173 | 185 | ||
174 | ; exported names |
186 | ; exported names |
175 | adeflateInit db 'deflateInit',0 |
187 | adeflateInit db 'deflateInit',0 |
176 | adeflateInit2 db 'deflateInit2',0 |
188 | adeflateInit2 db 'deflateInit2',0 |
177 | adeflateReset db 'deflateReset',0 |
189 | adeflateReset db 'deflateReset',0 |
178 | adeflate db 'deflate',0 |
190 | adeflate db 'deflate',0 |
179 | adeflateEnd db 'deflateEnd',0 |
191 | adeflateEnd db 'deflateEnd',0 |
- | 192 | adeflateCopy db 'deflateCopy',0 |
|
- | 193 | azError db 'zError',0 |
|
- | 194 | acalc_crc32 db 'calc_crc32',0 |