;---------------------------------------------------------------------------- ; Compression BCP structure ;---------------------------------------------------------------------------- bcpCompressStruc STRUC Header

Цитата:
Phoenix uses LZSS compression algorithm by Haruhiko Okumura.

;----------------------------------------------------------------------------
; Compression BCP structure
;----------------------------------------------------------------------------
bcpCompressStruc STRUC
Header bcpHeader <'BCPCMP', 2, 1, SIZEOF bcpCompressStruc>
compInfo DB bcpiCompInfo ; Misc. compression flags
COMP_******_RUN EQU 00000001b ; ******.EXE was used


COMP_SETUP_LOCATION EQU 00000010b
; 0 = setup in shadow memory
; 1 = setup in conv. memory
COMP_DO_SETUP EQU 00000100b ; Setup is compressed
COMP_DO_OPTIONROMS EQU 00001000b ; Option Roms are compressed
COMP_CLEAR_LOW_MEM EQU 00010000b ; Clear low mem before boot
COMP_DO_BIOS EQU 00100000b ; BIOS is compressed
algorithm DB bcpiAlgorithm ; Compression algorithm
COMP_LZSS EQU 0 ; LZSS decompression algorithm
COMP_LZARI EQU 1 ; LZARI decompression algorithm
COMP_LZHUF EQU 2 ; LZHUF decompression algorithm
COMP_LZINT EQU 3 ; LZINT decompression algorithm
nonCompDataStart DW OFFSET buildCompressEnd