mirror of
https://github.com/A2osX/A2osX.git
synced 2024-09-10 07:54:37 +00:00
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
NEW
|
||
AUTO 3,1
|
||
.LIST OFF
|
||
*--------------------------------------
|
||
TOP.MAX .EQ 32
|
||
BL.MIN .EQ 3
|
||
BL.MAX .EQ BL.MIN+31
|
||
*--------------------------------------
|
||
PAK.B.BYTE8.W .EQ 1
|
||
PAK.B.BYTE8 .EQ %0
|
||
|
||
PAK.B.TOP8.W .EQ 5
|
||
PAK.B.TOP8 .EQ %10.000
|
||
PAK.B.TOP16.W .EQ 6
|
||
PAK.B.TOP16 .EQ %110.000
|
||
|
||
PAK.B.TOP24.W .EQ 8
|
||
PAK.B.TOP24 .EQ %11100.000
|
||
PAK.B.TOP32.W .EQ 8
|
||
PAK.B.TOP32 .EQ %11101.000
|
||
|
||
PAK.B.BL.W .EQ 4
|
||
PAK.B.BL .EQ %1111
|
||
*--------------------------------------
|
||
* Shunk Header :
|
||
* WORD : Target UNCompressed Length
|
||
* !!! USED TO STOP UNPACK,NO EOF TOKEN!!!
|
||
*--------------------------------------
|
||
S.PAKSHNK.BLBITS .EQ 0 1.lll.oooo
|
||
S.PAKSHNK.ULEN .EQ 1 Uncompressed length
|
||
S.PAKSHNK.TOPCNT .EQ 3
|
||
S.PAKSHNK.TOPBYTES .EQ 4
|
||
* TOP Bytes ....
|
||
* DATA
|
||
S.PAKSHNK .EQ 2+1+1+TOP.MAX
|
||
*--------------------------------------
|
||
S.PAKSTAT.PASS1 .EQ 0
|
||
S.PAKSTAT.PASS2 .EQ 2
|
||
S.PAKSTAT.TOP8 .EQ 4
|
||
S.PAKSTAT.TOP16 .EQ 6
|
||
S.PAKSTAT.TOP24 .EQ 8
|
||
S.PAKSTAT.TOP32 .EQ 10
|
||
S.PAKSTAT.BYTE8 .EQ 12
|
||
S.PAKSTAT.BL .EQ 14
|
||
*
|
||
S.PAKSTAT .EQ 16
|
||
*--------------------------------------
|
||
LIBPAK.Pak .EQ 4
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE INC/LIBPAK.I
|
||
LOAD USR/SRC/LIB/LIBPAK.S
|
||
ASM
|