mirror of
https://github.com/A2osX/A2osX.git
synced 2024-10-08 07:57:30 +00:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
PR#3
|
||
PREFIX /A2OSX.BUILD
|
||
NEW
|
||
INC 1
|
||
AUTO 6
|
||
.LIST OFF
|
||
.OP 65C02
|
||
*--------------------------------------
|
||
* File Header :
|
||
*--------------------------------------
|
||
S.PAKFILE.LEN .EQ 0 File Length (uncomp)
|
||
S.PAKFILE.CRC .EQ 4 CRC of Target File
|
||
S.PAKFILE.VER .EQ 8
|
||
S.PAKFILE.TF .EQ 9 Target File (C-String)
|
||
*--------------------------------------
|
||
* Shunk Header :
|
||
* WORD : !Target UNCompressed Length
|
||
* USED TO STOP UNPACK
|
||
* !!!NO EOF TOKEN!!!
|
||
* Short3 : [0..7]
|
||
* Short4 : [0..15]
|
||
*--------------------------------------
|
||
S.PAKHDR.LEN .EQ 0
|
||
S.PAKHDR.SHORT3 .EQ 2
|
||
S.PAKHDR.SHORT4 .EQ 10
|
||
*
|
||
S.PAKHDR .EQ 26
|
||
*--------------------------------------
|
||
S.PAKSTAT.PASS1 .EQ 0
|
||
S.PAKSTAT.PASS2 .EQ 2
|
||
S.PAKSTAT.BL .EQ 4
|
||
S.PAKSTAT.REP .EQ 6
|
||
S.PAKSTAT.S3 .EQ 8
|
||
S.PAKSTAT.S4 .EQ 10
|
||
S.PAKSTAT.STORE .EQ 12
|
||
*
|
||
S.PAKSTAT .EQ 14
|
||
*--------------------------------------
|
||
LIBPAK.Pak .EQ 4
|
||
LIBPAK.UnPak .EQ 6
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE /A2OSX.BUILD/INC/LIBPAK.I
|