Subversion Repositories Kolibri OS

Rev

Rev 1686 | Rev 1713 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;---------------------------------------------------------------------
  2. params:
  3.         rb 256
  4. ;--------------------------------------------------------------------- 
  5. color_table     rd 10
  6.  
  7. innamelen       rd 1
  8. inname          rb 256  ;48
  9. outnamelen      rd 1
  10. outname         rb 256  ;48
  11. pathlen         rd 1
  12. path            rb 256  ;48
  13.  
  14. message_mem     rb 80*20
  15. message_cur_pos rd 1
  16.  
  17. outsize         rd 1
  18. infile          rd 1
  19. outfile         rd 1
  20. outfile1        rd 1
  21. outfile2        rd 1
  22. outfilebest     rd 1
  23. inbuftmp        rd 1
  24. workmem         rd 1
  25. lzma_dictsize   rd 1
  26. ct1             rb 256
  27. ctn             rd 1
  28. cti             rb 1
  29. use_lzma        = 1
  30.  
  31. use_no_calltrick = 0
  32. use_calltrick1  = 40h
  33. use_calltrick2  = 80h
  34.  
  35. method          rb 1
  36.  
  37. ;---------------------------------------------------------------------
  38. align 4
  39. fn70block:
  40. fn70op          rd 1
  41. fn70start       rd 1
  42. fn70size        rd 1
  43. fn70zero        rd 1
  44. fn70dest        rd 1
  45. fullname        rb 256
  46.  
  47. ;---------------------------------------------------------------------
  48. align 4
  49. file_attr       rd 8
  50. insize          rd 1       ; last qword in file_attr
  51.                 rd 1
  52. ;---------------------------------------------------------------------
  53. align 4
  54.         rb 4096
  55. stacktop:
  56. ;---------------------------------------------------------------------
  57. cur_dir_path:
  58.         rb 4096
  59. ;---------------------------------------------------------------------
  60. library_path:
  61.         rb 4096
  62. ;---------------------------------------------------------------------
  63. temp_dir_pach:
  64.         rb 4096
  65. ;---------------------------------------------------------------------
  66. fname_buf:
  67.         rb 4096
  68. ;---------------------------------------------------------------------
  69. filename_area:
  70.         rb 256
  71. ;---------------------------------------------------------------------
  72. procinfo:
  73.         rb 1024
  74. ;---------------------------------------------------------------------
  75. ; Deconpress data area start
  76. ;---------------------------------------------------------------------
  77. align 4
  78. unpack.p        rb      0x1F36*4
  79. unpack.code_:
  80.                 rd      1
  81. unpack.range:
  82.                 rd      1
  83. unpack.rep0     rd      1
  84. unpack.rep1     rd      1
  85. unpack.rep2     rd      1
  86. unpack.rep3     rd      1
  87. unpack.previousByte rb  1
  88. ;---------------------------------------------------------------------
  89. ; Deconpress data area end
  90. ;---------------------------------------------------------------------
  91. ;---------------------------------------------------------------------
  92. ; Compress data area start
  93. ;---------------------------------------------------------------------
  94. align 4
  95. _lenEncoder:
  96.         rd 8451
  97. ;-----------------------------------------------------
  98. _prices:
  99.         rd 4384
  100.         rd 17
  101. ;-----------------------------------------------------
  102. _finished:              rb 1
  103. _writeEndMark:          rb 1
  104. _longestMatchWasFound:  rb 1
  105. _previousByte:          rb 1
  106. _longestMatchLength:    rd 1
  107. ;-----------------------------------------------------
  108. g_FastPos:
  109.         rb 1024
  110. ;-----------------------------------------------------
  111. _posSlotPrices:
  112.         rd 256
  113. ;-----------------------------------------------------
  114. _isRep0Long:
  115.         rd 192
  116. ;-----------------------------------------------------
  117. distances:
  118.         rd 274
  119. ;-----------------------------------------------------
  120. _optimumCurrentIndex:   rd 1
  121. _additionalOffset:      rd 1
  122. ;-----------------------------------------------------
  123. _isRepG1:
  124.         rd 12
  125. ;-----------------------------------------------------
  126. _isMatch:
  127.         rd 192
  128. ;-----------------------------------------------------
  129. _alignPriceCount:       rd 1
  130. _numLiteralContextBits: rd 1
  131. ;-----------------------------------------------------
  132. _literalEncoder:
  133.         rd 114
  134. ;-----------------------------------------------------
  135. nowPos64:
  136.         rd 2
  137. ;-----------------------------------------------------
  138. _distancesPrices:
  139.         rd 512
  140. ;-----------------------------------------------------
  141. _repDistances:
  142.         rd 4
  143. ;-----------------------------------------------------
  144. _posSlotEncoder:
  145.         rd 1028
  146. ;-----------------------------------------------------
  147. lastPosSlotFillingPos:
  148.         rd 2
  149. ;-----------------------------------------------------
  150. _numFastBytes:  rd 1
  151. _posStateMask:  rd 1
  152. ;-----------------------------------------------------
  153. _isRepG0:
  154.         rd 12
  155. ;-----------------------------------------------------
  156. _repMatchLenEncoder:
  157.         rd 8451
  158.         rd 4384
  159.         rd 17
  160. ;-----------------------------------------------------
  161. _isRepG2:
  162.         rd 12
  163. ;-----------------------------------------------------
  164. _dictionarySize:                rd 1
  165. _numLiteralPosStateBits:        rd 1
  166. _distTableSize:                 rd 1
  167. _optimumEndIndex:               rd 1
  168. ;-----------------------------------------------------
  169. ;static CState state
  170. state.State:            rb 1
  171. state.Prev1IsChar:      rb 1
  172. state.Prev2:            rb 2
  173. state.PosPrev2:         rd 1
  174. state.BackPrev2:        rd 1
  175. state.Price:            rd 1
  176. state.PosPrev:          rd 1
  177. state.BackPrev:         rd 1
  178. state.Backs:
  179.         rd 4
  180. ;----------------------------------------------------
  181.         rd 40950
  182. ;-----------------------------------------------------
  183. _alignPrices:
  184.         rd 16
  185. ;-----------------------------------------------------
  186. _isRep:
  187.         rd 12
  188. ;-----------------------------------------------------
  189. _posAlignEncoder:
  190.         rd 256
  191. ;-----------------------------------------------------
  192. i_01:   rd 1
  193. ;-----------------------------------------------------
  194. _state:                 rb 1
  195. _cache:                 rb 1
  196. _state.Prev2:           rb 2
  197. _posEncoders:           rd 1
  198. _numPrevBits:           rd 1
  199. _numPosBits:            rd 1
  200. _posMask:               rd 1
  201. _posStateBits:          rd 1
  202. range:                  rd 1
  203. _cacheSize:             rd 1
  204. _cyclicBufferSize:      rd 1
  205. ;-----------------------------------------------------
  206. low:
  207.         rd 2
  208. ;-----------------------------------------------------
  209. Models:
  210.         rd 512
  211. ;-----------------------------------------------------
  212. _matchMaxLen:   rd 1
  213. pack_pos:       rd 1
  214. _cutValue:      rd 1
  215. _hash:          rd 1
  216. ;-----------------------------------------------------
  217. crc_table:
  218.         rd 256
  219. ;-----------------------------------------------------
  220. _buffer:        rd 1
  221. _pos:           rd 1
  222. _streamPos:     rd 1
  223. pack_length:    rd 1
  224. ;---------------------------------------------------------------------
  225. ; Compress data area end
  226. ;---------------------------------------------------------------------