A2osX/INC/LIBPAK.I.txt
2019-10-03 17:39:08 +02:00

54 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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