mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-22 16:31:07 +00:00
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
NEW
|
||
AUTO 3,1
|
||
.LIST OFF
|
||
*--------------------------------------
|
||
REP.MAX .EQ 16
|
||
STRING.MAX .EQ 16
|
||
BL.MAX .EQ 66
|
||
WSIZE .EQ 4096
|
||
*--------------------------------------
|
||
PAK.B.STRING .EQ %0
|
||
PAK.B.BYTE8 .EQ %0
|
||
PAK.B.TOP8 .EQ %10.000
|
||
PAK.B.TOP16 .EQ %110.000
|
||
PAK.B.TOP24 .EQ %1110.000
|
||
PAK.B.REPn .EQ %1111.0000
|
||
PAK.B.BACKLINK .EQ %1
|
||
*--------------------------------------
|
||
* STRINGn : 0 xxxx (1-16)
|
||
* {
|
||
* BYTE8 : 0 xxxxxxxx
|
||
* TOP8 : 10 xxx
|
||
* TOP16 : 110 xxx
|
||
* TOP24 : 1110 xxx
|
||
* REPn : 1111 xxxx (1-16)
|
||
* }
|
||
* BACKLINK : 1 !BitCntWidePtr llllll (3-66)
|
||
*--------------------------------------
|
||
* Shunk Header :
|
||
* WORD : Target UNCompressed Length
|
||
* !!! USED TO STOP UNPACK,NO EOF TOKEN!!!
|
||
*--------------------------------------
|
||
S.PAKSHNK.ULEN .EQ 0 Uncompressed length
|
||
S.PAKSHNK.TOPCNT .EQ 2
|
||
S.PAKSHNK.TOPBYTES .EQ 3
|
||
* TOP Bytes ....
|
||
* DATA
|
||
S.PAKSHNK .EQ 2+1+24 Max
|
||
*--------------------------------------
|
||
S.PAKSTAT.PASS1 .EQ 0
|
||
S.PAKSTAT.PASS2 .EQ 2
|
||
S.PAKSTAT.BYTE8 .EQ 4
|
||
S.PAKSTAT.TOP8 .EQ 6
|
||
S.PAKSTAT.TOP16 .EQ 8
|
||
S.PAKSTAT.TOP24 .EQ 10
|
||
S.PAKSTAT.REPN .EQ 12
|
||
S.PAKSTAT.BL .EQ 14
|
||
*
|
||
S.PAKSTAT .EQ 16
|
||
*--------------------------------------
|
||
LIBPAK.Pak .EQ 4
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE INC/LIBPAK.I
|