home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacks & Cracks
/
Hacks_and_Cracks.iso
/
vol1
/
ucf-xpk7.zip
/
XPACKAPI.DOC
< prev
next >
Wrap
PGP Signed Message
|
1997-03-02
|
4KB
|
115 lines
-----BEGIN PGP SIGNED MESSAGE-----
;Xpack's Errorlevel for DOS Batch Processing
;--
; Errorlevel (255) -1: user break (esc)
; 0: ok
; 1: Can't Open Input File
; 2: Can not PacK: Overlay
; 3: Can not PacK: Non-EXE
; 4: display usage
; 5: display help documentation
; 6: File could not be compressed !!
; 7: Can not PacK: New EXE
; 8: disk full
; 9: Can't Create tmpfile
; 10: expand function (option/x) not support .exe files
; 11: .COM File size exceeds 56,000 bytes
; (reserved) 12: (n/a)
; 13: file is already compressed
; 14: file is not compressed
; 15: .COM file size is 0 byte
; 16: .COM file size < 512 bytes
; (reserved) 17: (n/a)
; 18: memory not enough
; (reversed) 19: (n/a)
; 20: Can not unpack non-xpacked archive!
; 21: Can not unpack not supported filetype!
; 22: Can not unpack to different diskette size!
; 23: Data integrity error of .XDi file!
; 24: Diskette Write Protect!
; 25: Can't install Xpack OnLine DeCompression System
;Xpack OnLine DeCompression System Application Interface
;----------2137A0BX6A6D-----------------------
;INT 21 - XPACK v1.52 - TSR INSTALLATION CHECK
; AX = 37A0h
; BX = 6A6Dh
;Return: AL = FFh if not present as TSR (default return value from DOS)
; AX = 0000h if installed as a TSR
; CX = 6A6Dh
; DX = version ID
;Program: XPACK is a transparent file compressor/decompressor by JauMing Tseng
;----------2137A1BX6A6D-----------------------
;INT 21 - XPACK v1.52 - UNLOAD TSR
; AX = 37A1h
; BX = 6A6Dh
;Return: AX = status
; 0000h successful
; FFFFh failed
;Program: XPACK is a transparent file compressor/decompressor by JauMing Tseng
;Index: uninstall;XPACK
;----------2137A2BX6A6D-----------------------
;INT 21 - XPACK v1.52 - GET TSR STATUS
; AX = 37A2h
; BX = 6A6Dh
;Return: AX = 0000h
; DL = status (01h active, 00h disabled)
;----------2137A3BX6A6D-----------------------
;INT 21 - XPACK v1.52 - SET TSR STATUS
; AX = 37A3h
; BX = 6A6Dh
; DL = status (01h active, 00h disabled)
;Return: AX = 0000h
;----------2137A4BX6A6D-----------------------
;INT 21 - XPACK v1.65 - COMPRESS A MEMORY BLOCK
; AX = 37A4h
; BX = 6A6Dh
; CX = size of input data
; DS:SI -> pointer to source block
; ES:DI -> pointer to target block
;Return: CX = compressed size
;Note: ¡ Make sure the target block is always larger than the source block !!
; 'coz if input data is uncompressable, the resulting size will be expanded !
;SeeAlso: AX=37A5h
;----------2137A5BX6A6D-----------------------
;INT 21 - XPACK v1.65 - UNCOMPRESS A MEMORY BLOCK
; AX = 37A5h
; BX = 6A6Dh
; DS:SI -> pointer to source block
; ES:DI -> pointer to target block
;Return: AX = original size
; CX = expanded size
;SeeAlso: AX=37A4h
;----------2137A6BX6A6D-----------------------
;INT 21 - XPACK v1.65 - GET TEMPORARY DIRECTORY NAME
; AX = 37A6h
; BX = 6A6Dh
;Return: AX = 0000h
; DS:DX -> name of temporary directory
;SeeAlso: AX=37A7h
;----------2137A7BX6A6D-----------------------
;INT 21 - XPACK v1.65 - SET TEMPORARY DIRECTORY NAME
; AX = 37A7h
; BX = 6A6Dh
; DS:DX -> ASCIZ name of temporary directory (max 64 chars)
;Return: AX = 0000h
;Note: the specified directory name must include a drive letter and end with
; a backslash (e.g. 'c:\dos\',0)
;SeeAlso: AX=37A6h
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: cp850
iQEVAwUBMxokKGA4W6nuMXMlAQHZJQf/VoKSOmgxq8Qvjrp/ZYy9nI2IRLaZo/sb
SOfRS5NBgllStOq06UQ3anfXSKnjenzpPqB2+XOX03EsvLqGUiqvl80uj8aVWoMd
X4Sefuv7kSLsVHm+0WvtniCP3TUEqs4Rrf2cbs//6s4eLOQNKjAjASxtkYhW46pB
/mhc1PTylaeL05n7TbjSaAtHizNh65CPH3wuJ74M5f/1f3U37x780vm8jFWaHmb2
Fkbpydl4uS4s200UTsfi1t8iJM9lD3hRO8gFClrXrcm2O4JXS0gcwm0d/r46j43J
N+onPqLzD4fvfZMxWN6/Nj89GzDGKDuCiM/a4sLwlmJnZY/X82a9lQ==
=qtBm
-----END PGP SIGNATURE-----