home *** CD-ROM | disk | FTP | other *** search
/ Hacks & Cracks / Hacks_and_Cracks.iso / vol1 / ucf-xpk7.zip / XPACKAPI.DOC < prev    next >
PGP Signed Message  |  1997-03-02  |  4KB  |  115 lines

  1. -----BEGIN PGP SIGNED MESSAGE-----
  2.  
  3.  
  4. ;Xpack's Errorlevel for DOS Batch Processing
  5. ;--
  6. ; Errorlevel (255) -1: user break (esc)
  7. ;                   0: ok
  8. ;                   1: Can't Open Input File
  9. ;                   2: Can not PacK: Overlay
  10. ;                   3: Can not PacK: Non-EXE
  11. ;                   4: display usage
  12. ;                   5: display help documentation
  13. ;                   6: File could not be compressed !!
  14. ;                   7: Can not PacK: New EXE
  15. ;                   8: disk full
  16. ;                   9: Can't Create tmpfile
  17. ;                  10: expand function (option/x) not support .exe files
  18. ;                  11: .COM File size exceeds 56,000 bytes
  19. ;       (reserved) 12: (n/a)
  20. ;                  13: file is already compressed
  21. ;                  14: file is not compressed
  22. ;                  15: .COM file size is 0 byte
  23. ;                  16: .COM file size < 512 bytes
  24. ;       (reserved) 17: (n/a)
  25. ;                  18: memory not enough
  26. ;       (reversed) 19: (n/a)
  27. ;                  20: Can not unpack non-xpacked archive!
  28. ;                  21: Can not unpack not supported filetype!
  29. ;                  22: Can not unpack to different diskette size!
  30. ;                  23: Data integrity error of .XDi file!
  31. ;                  24: Diskette Write Protect!
  32. ;                  25: Can't install Xpack OnLine DeCompression System
  33.  
  34. ;Xpack OnLine DeCompression System Application Interface
  35. ;----------2137A0BX6A6D-----------------------
  36. ;INT 21 - XPACK v1.52 - TSR INSTALLATION CHECK
  37. ;     AX = 37A0h
  38. ;        BX = 6A6Dh
  39. ;Return: AL = FFh if not present as TSR (default return value from DOS)
  40. ;     AX = 0000h if installed as a TSR
  41. ;            CX = 6A6Dh
  42. ;            DX = version ID
  43. ;Program: XPACK is a transparent file compressor/decompressor by JauMing Tseng
  44. ;----------2137A1BX6A6D-----------------------
  45. ;INT 21 - XPACK v1.52 - UNLOAD TSR
  46. ;     AX = 37A1h
  47. ;        BX = 6A6Dh
  48. ;Return: AX = status
  49. ;         0000h successful
  50. ;         FFFFh failed
  51. ;Program: XPACK is a transparent file compressor/decompressor by JauMing Tseng
  52. ;Index:  uninstall;XPACK
  53. ;----------2137A2BX6A6D-----------------------
  54. ;INT 21 - XPACK v1.52 - GET TSR STATUS
  55. ;     AX = 37A2h
  56. ;        BX = 6A6Dh
  57. ;Return: AX = 0000h
  58. ;     DL = status (01h active, 00h disabled)
  59. ;----------2137A3BX6A6D-----------------------
  60. ;INT 21 - XPACK v1.52 - SET TSR STATUS
  61. ;     AX = 37A3h
  62. ;        BX = 6A6Dh
  63. ;     DL = status (01h active, 00h disabled)
  64. ;Return: AX = 0000h
  65. ;----------2137A4BX6A6D-----------------------
  66. ;INT 21 - XPACK v1.65 - COMPRESS A MEMORY BLOCK
  67. ;        AX = 37A4h
  68. ;        BX = 6A6Dh
  69. ;        CX = size of input data
  70. ;        DS:SI -> pointer to source block
  71. ;        ES:DI -> pointer to target block
  72. ;Return: CX = compressed size
  73. ;Note: ¡ Make sure the target block is always larger than the source block !!
  74. ; 'coz if input data is uncompressable, the resulting size will be expanded !
  75. ;SeeAlso: AX=37A5h
  76. ;----------2137A5BX6A6D-----------------------
  77. ;INT 21 - XPACK v1.65 - UNCOMPRESS A MEMORY BLOCK
  78. ;        AX = 37A5h
  79. ;        BX = 6A6Dh
  80. ;        DS:SI -> pointer to source block
  81. ;        ES:DI -> pointer to target block
  82. ;Return: AX = original size
  83. ;        CX = expanded size
  84. ;SeeAlso: AX=37A4h
  85. ;----------2137A6BX6A6D-----------------------
  86. ;INT 21 - XPACK v1.65 - GET TEMPORARY DIRECTORY NAME
  87. ;        AX = 37A6h
  88. ;        BX = 6A6Dh
  89. ;Return: AX = 0000h
  90. ;        DS:DX -> name of temporary directory
  91. ;SeeAlso: AX=37A7h
  92. ;----------2137A7BX6A6D-----------------------
  93. ;INT 21 - XPACK v1.65 - SET TEMPORARY DIRECTORY NAME
  94. ;        AX = 37A7h
  95. ;        BX = 6A6Dh
  96. ;        DS:DX -> ASCIZ name of temporary directory (max 64 chars)
  97. ;Return: AX = 0000h
  98. ;Note:   the specified directory name must include a drive letter and end with
  99. ;          a backslash (e.g. 'c:\dos\',0)
  100. ;SeeAlso: AX=37A6h
  101.  
  102.  
  103. -----BEGIN PGP SIGNATURE-----
  104. Version: 2.6.3i
  105. Charset: cp850
  106.  
  107. iQEVAwUBMxokKGA4W6nuMXMlAQHZJQf/VoKSOmgxq8Qvjrp/ZYy9nI2IRLaZo/sb
  108. SOfRS5NBgllStOq06UQ3anfXSKnjenzpPqB2+XOX03EsvLqGUiqvl80uj8aVWoMd
  109. X4Sefuv7kSLsVHm+0WvtniCP3TUEqs4Rrf2cbs//6s4eLOQNKjAjASxtkYhW46pB
  110. /mhc1PTylaeL05n7TbjSaAtHizNh65CPH3wuJ74M5f/1f3U37x780vm8jFWaHmb2
  111. Fkbpydl4uS4s200UTsfi1t8iJM9lD3hRO8gFClrXrcm2O4JXS0gcwm0d/r46j43J
  112. N+onPqLzD4fvfZMxWN6/Nj89GzDGKDuCiM/a4sLwlmJnZY/X82a9lQ==
  113. =qtBm
  114. -----END PGP SIGNATURE-----
  115.