Inferno #10
30 апреля 2007 |
![]() |
Formats - The format of a packed file MegaLZ.

The format of a packed file MegaLZ Lord Vader The first byte is copied into vyhod.Vtoroy - is in bits. Bits in a byte of bits - from the senior. If you want a bit, but it is not (all 8 to nchilis) - a new byte is selected from at current. From the same selected and bytes, denoted obtained- but only after the sample all the bits link. The format options: - byte, which ry is selected from the stream. 1 - copied to the output. 000abc - copy an old byte shift FFF8 + [abc] to current position in the output (Abc == 000 - offset FFF8, abc == 111 - FFFF) 001 - copy 2 bytes at offset FF00 + (-1 ..- 256) 0100 - copy 3 bytes of shift FF00 + 0101abcd - copy 3 bytes of shift (F [abcd] -1) * 256 + (-257 ..- 4352) Longer links can be conveniently represented in the form of 3 parts: Prefix: 011 The length of the links: 1a -> 4 + [a] 01ab -> 6 + [ab] 001abc -> 10 + [abc] 0001abcd -> 18 + [abcd] 00001abcde -> 34 + [abcde] 000001abcdef -> 66 + [abcdef] 0000001abcdefg -> 130 + [abcdefg] (here the length no more than 255!) Displacement: 0 - FF00 + ago (-1 ..- 256) 1abcd - (F [abcd] -1) * 256 + (-257 ..- 4352) The label end of the stream: 011000000001 Examples: 000,111 - to repeat the last byte 001 - repeat the last byte double (offset =- 1, length 2) 011 001101 10000 - link length % 101 +10 = 15 bytes at offset -4352
Other articles:
Similar articles:
В этот день... 1 April
Info Guide #13,
ACNews #50,
Avro News #01,
ACNews #47,
ACNews #40,
ACNews #29,
Black Metall #01,
ACNews #16,
Adventurer #13,
Polesse #19,
Subliminal Extacy #03,
ZX Pilot #37,
Always #03,
Born Dead #0G,
Odyssey paper #08,
Optron #26,
City #08,
Zodiac #02,
Polesse #05,
Nicron #108,
X-Magazine #10,
Nicron #82,
Energy #01,
Sorrow News #03,
Sorrow News #02,
Proton #27,
Think #08,
Wallpaper #01,
Spectrum Progress #03,
Spectrum Expert #02,
Micro #01,
X-Files #02,
Gorodok #05,
Deja Vu #04,
Anecdotes #01,
X-Files #02,
Maximum #35,
Impulse #01,
Spectrofun #01,
Faultless #07,
Breeze #06,
Nicron #27,
Echo #03,
Oberon #01,
Spectrofon #19,
On-Line #30,
Sinclair Town #01,
Sinclair Classic #04,
Spectrofon #04