2018-02-05 16:25:25 +00:00
|
|
|
|
NEW
|
2019-07-07 20:48:57 +00:00
|
|
|
|
AUTO 3,1
|
|
|
|
|
.LIST OFF
|
2018-02-05 16:25:25 +00:00
|
|
|
|
*--------------------------------------
|
2019-09-25 15:34:43 +00:00
|
|
|
|
REPMAX .EQ 16
|
|
|
|
|
STRINGMAX .EQ 16
|
|
|
|
|
WSIZE .EQ 4096
|
|
|
|
|
*--------------------------------------
|
2019-09-27 14:53:44 +00:00
|
|
|
|
PAK.B.STOREn .EQ %0
|
|
|
|
|
PAK.B.BYTE8 .EQ %0
|
|
|
|
|
PAK.B.TOP8 .EQ %10
|
|
|
|
|
PAK.B.TOP16 .EQ %110
|
|
|
|
|
PAK.B.TOP24 .EQ %1110
|
|
|
|
|
PAK.B.REPn .EQ %1111
|
|
|
|
|
PAK.B.BACKLINK .EQ %1
|
2019-09-25 15:34:43 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
* STRINGn : 0 xxxx (1-16)
|
|
|
|
|
* {
|
|
|
|
|
* BYTE8 : 0 xxxxxxxx
|
|
|
|
|
* TOP8 : 10 xxx
|
|
|
|
|
* TOP16 : 110 xxx
|
|
|
|
|
* TOP24 : 1110 xxx
|
|
|
|
|
* REPn : 1111 xxxx (1-16)
|
|
|
|
|
* }
|
|
|
|
|
* BACKLINK : 1 !oooooooo !OOOO llllll (3-66)
|
2018-02-09 07:04:19 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
* Shunk Header :
|
2018-03-16 16:33:11 +00:00
|
|
|
|
* WORD : Target UNCompressed Length
|
|
|
|
|
* !!! USED TO STOP UNPACK,NO EOF TOKEN!!!
|
2018-02-09 07:04:19 +00:00
|
|
|
|
*--------------------------------------
|
2019-09-25 15:34:43 +00:00
|
|
|
|
S.PAKSHNK.ULEN .EQ 0 Uncompressed length
|
2019-09-27 14:53:44 +00:00
|
|
|
|
S.PAKSHNK.TOPCNT .EQ 2
|
|
|
|
|
S.PAKSHNK.TOPBYTES .EQ 3
|
2019-09-25 15:34:43 +00:00
|
|
|
|
* TOP Bytes ....
|
|
|
|
|
* DATA
|
2019-09-27 14:53:44 +00:00
|
|
|
|
S.PAKSHNK .EQ 2+1+24 Max
|
2018-02-09 07:04:19 +00:00
|
|
|
|
*--------------------------------------
|
2018-02-08 16:39:56 +00:00
|
|
|
|
S.PAKSTAT.PASS1 .EQ 0
|
|
|
|
|
S.PAKSTAT.PASS2 .EQ 2
|
2019-09-27 14:53:44 +00:00
|
|
|
|
S.PAKSTAT.BYTE8 .EQ 4
|
2019-09-25 15:34:43 +00:00
|
|
|
|
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
|
2018-02-05 16:25:25 +00:00
|
|
|
|
*
|
2019-09-25 15:34:43 +00:00
|
|
|
|
S.PAKSTAT .EQ 16
|
2018-02-05 16:25:25 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
LIBPAK.Pak .EQ 4
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
MAN
|
2019-07-07 20:48:57 +00:00
|
|
|
|
SAVE INC/LIBPAK.I
|