config.S 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. #
  2. ;===========================================================================
  3. ; Copyright (c) 1990-2000 Info-ZIP. All rights reserved.
  4. ;
  5. ; See the accompanying file LICENSE, version 2000-Apr-09 or later
  6. ; (the contents of which are also included in unzip.h) for terms of use.
  7. ; If, for some reason, all these files are missing, the Info-ZIP license
  8. ; also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
  9. ;===========================================================================
  10. .globl _qlflag
  11. .globl _qlwait
  12. #ifdef ZIP
  13. .globl _dtype
  14. #endif
  15. .data
  16. ds.w 0
  17. dc.b '<<QCFX>>01'
  18. #ifdef ZIP
  19. dc.w 8
  20. dc.b 'Info-ZIP'
  21. * 12345678901234567890
  22. ds.w 0
  23. dc.w 3
  24. dc.b '?.?'
  25. ds.w 0
  26. #else
  27. dc.w 10
  28. dc.b 'Info-UNZIP'
  29. * 12345678901234567890
  30. ds.w 0
  31. dc.w 3
  32. dc.b '?.?'
  33. ds.w 0
  34. #endif
  35. dc.b 10
  36. dc.b 0
  37. l_4: dc.w _qlwait-l_4
  38. dc.w 0
  39. dc.w 0
  40. l_5: dc.w hpt-l_5
  41. l_6: dc.w hxx-l_6
  42. #ifdef ZIP
  43. dc.b 10
  44. dc.b 0
  45. d_4: dc.w _dtype-d_4
  46. dc.w 0
  47. dc.w 0
  48. d_5: dc.w dpt-d_5
  49. d_6: dc.w dxx-d_6
  50. #else
  51. dc.b 4
  52. dc.b 0
  53. l5:
  54. dc.w list1-l5
  55. dc.w 0
  56. l5a:
  57. dc.w Postit-l5a ; post proc
  58. l6:
  59. dc.w apt-l6
  60. l7:
  61. dc.w axx-l7
  62. * -------------------------------------
  63. dc.b 4
  64. dc.b 0
  65. l8:
  66. dc.w list2-l8
  67. dc.w 0
  68. l8a:
  69. dc.w Postit-l8a ; post proc
  70. l9:
  71. dc.w bpt-l9
  72. la:
  73. dc.w bxx-la
  74. * -------------------------------------
  75. #endif
  76. dc.w -1 ; end
  77. _qlflag:
  78. dc.w 0
  79. _qlwait:
  80. dc.w 250
  81. _dtype:
  82. dc.w 255
  83. hpt: dc.w 10
  84. dc.b 'Exit Delay'
  85. * 12345678901234567890
  86. ds.w 0
  87. hxx: dc.w 0
  88. dc.w $ffff
  89. dc.w -1
  90. #ifdef ZIP
  91. dpt: dc.w 14
  92. dc.b 'Directory Type'
  93. * 12345678901234567890
  94. ds.w 0
  95. dxx: dc.w 3
  96. dc.w $ff
  97. dc.w -1
  98. #else
  99. list1:
  100. dc.b 0
  101. list2:
  102. dc.b 0
  103. apt:
  104. dc.w 11
  105. dc.b 'Unpack Mode'
  106. * 12345678901234567890
  107. .even
  108. axx: dc.b 0
  109. dc.b 0
  110. dc.w 8
  111. dc.b 'SMS/QDOS'
  112. .even
  113. dc.b 1
  114. dc.b 0
  115. dc.w 7
  116. dc.b 'Default'
  117. .even
  118. dc.w -1
  119. .even
  120. bpt:
  121. dc.w 12
  122. dc.b 'Listing Mode'
  123. * 12345678901234567890
  124. .even
  125. bxx:
  126. dc.w 0
  127. dc.w 7
  128. dc.b 'Default'
  129. .even
  130. dc.b 2
  131. dc.b 0
  132. dc.w 8
  133. dc.b 'SMS/QDOS'
  134. * 12345678901234567890
  135. .even
  136. dc.w -1
  137. Postit:
  138. lea.l _qlflag,a0
  139. move.b list1,d0
  140. move.b d0,(a0)
  141. move.b list2,d0
  142. or.b d0,(a0)
  143. moveq #0,d0
  144. rts
  145. #endif
  146. end