home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / lan / bpt510.arj / BPATDOS.51A next >
Text File  |  1991-02-26  |  5KB  |  347 lines

  1. .       PATCHES FOR BTRIEVE.EXE ver 5.10a for DOS
  2. .
  3. .       beginning of patch #20
  4. .
  5. .a 7766
  6. .jmp 7777
  7.  
  8. .
  9. .       end of patch #20
  10. .
  11. .
  12. .       beginning of patch #24
  13. .
  14. a e21
  15. jmp e2b
  16.  
  17. .
  18. .       end of patch #24
  19. .
  20. .
  21. .       beginning of patch #28
  22. .
  23. a 650c
  24. mov word ptr [105e],0
  25.  
  26. .
  27. .       end of patch #28
  28. .
  29. .
  30. .       beginning of patch #30
  31. .
  32. a 28f4
  33. or  dx,dx
  34. jnz 28fc
  35. mov dx,[bx+10e]
  36. add bx,110
  37. cmp word ptr [bx+16],0
  38. je  2916
  39. inc ax
  40. test byte ptr [bx+8],20
  41. jz 2911
  42. inc word ptr [15e8]
  43. add bx,1e
  44. jmp 2900
  45.  
  46. .
  47. .       end of patch #30
  48. .
  49. .
  50. .       beginning of patch #31
  51. .
  52. a 5f5a
  53. jmp 577c
  54.  
  55. a 577c
  56. cmp word ptr [1006], 28
  57. jz 5786
  58. jmp 5fcd
  59. jmp 5fe9
  60.  
  61. .
  62. .       end of patch #31
  63. .
  64. .       beginning of patch #35
  65. .
  66. a 7b01
  67. jbe 7b10
  68.  
  69. a 7b0e
  70. nop
  71. nop
  72. mov cl,0a
  73. shl ax,cl
  74. dec ax
  75. mov [1070], ax
  76. mov [1074], ax
  77.  
  78. e 9775 40
  79. .
  80. .       end of patch #35
  81. .
  82. .       beginning of patch #36
  83. .
  84. a 677d
  85. mov ax,ffff
  86. mov word ptr [13c6],ax
  87. mov word ptr [13c2],ax
  88. mov word ptr [13ca],ax
  89. mov word ptr [13d0],ax
  90. nop
  91. nop
  92. nop
  93.  
  94. .       end of patch #36.
  95. .
  96. .       beginning of patch #37
  97. .
  98. a 177b
  99. cmp al, [bx]
  100.  
  101. .
  102. .       end of patch #37
  103. .
  104. .       beginning of patch #44
  105. .
  106. a 5f66
  107. jmp     5f6f
  108. nop
  109. nop
  110. nop
  111. nop
  112. nop
  113. nop
  114.  
  115. .
  116. .       end of patch #44
  117. .
  118. .       beginning of patch #46
  119. .
  120. e 5600 42
  121.  
  122. e 5721 42
  123.  
  124. .
  125. .       end of patch #46
  126. .
  127. .       beginning of patch #55
  128. .
  129. a 6a75
  130. xor     bx,bx
  131. call    5789
  132.  
  133. a 5789
  134. mov     ax,[0002]
  135. cmp     al,2
  136. je      579a
  137. mov     ah,59
  138. push    ds
  139. call    766e
  140. pop     ds
  141. cmp     ax,0020
  142. ret
  143.  
  144. .
  145. .       end of patch #55
  146. .
  147. .       beginning of patch #64
  148. .
  149. e 7e3f bd
  150. .
  151. .       end of patch #64
  152. .
  153. .       beginning of patch #69
  154. .
  155. a 5c30
  156. call 579b   
  157. jz  5c50
  158. nop
  159.  
  160. a 579b
  161. cmp word ptr [di], 5c5c
  162. jnz 57a5
  163. inc si
  164. inc si
  165. xor di,di
  166. ret
  167.  
  168. .       end of patch #69
  169. .
  170. .       beginning of patch #71
  171. .
  172. e 1cde 00 7d
  173. e 1f5e 00 7c
  174. .
  175. .       end of patch #71
  176. .
  177. .       beginning of patch #73
  178. .
  179. a 6599
  180. cmp word ptr [13bb],0003
  181. jz 65a3
  182. call 57a6
  183.  
  184. a 57a6
  185. call 53b6
  186. add [bx+si],al
  187. call 3435
  188. add [bx+si],al
  189. ret
  190.  
  191. .       end of patch #73
  192. .
  193. .       beginning of patch #74
  194. .
  195. a 6cf5
  196. call 57b1                       
  197. nop                             
  198. nop                             
  199.  
  200. a 57b1
  201. cmp     word ptr [18d6],01      
  202. jne     57be                    
  203. mov     bx,002a                 
  204. call    58fc                    
  205. call    6dd8                    
  206. dw      0
  207. cmp     word ptr [18d6],01      
  208. jne     57cd                    
  209. call    593c                    
  210. ret 
  211.  
  212. a 6d31
  213. call 57ce                       
  214. nop                             
  215. nop                             
  216.  
  217. a 57ce
  218. cmp     word ptr [18d6],01      
  219. jne     57e0                    
  220. push    cx                      
  221. push    ax
  222. push    di
  223. push    bx                      
  224. mov     bx,02                   
  225. call    58fc                    
  226. pop     bx                      
  227. call    64c4                    
  228. dw      57f8 
  229. cmp     word ptr [18d6],01      
  230. jne     57f7                    
  231. push    bx                      
  232. mov     bx,02                   
  233. call    593c                    
  234. pop     bx
  235. pop     di
  236. pop     ax
  237. pop     cx
  238. ret
  239. mov     bx,[13bb]               
  240. jmp     57e5                    
  241.  
  242. .
  243. .       end of patch #74
  244. .
  245. .
  246. .       beginning of patch #76
  247. .
  248. e 9ff4 1
  249. .
  250. .       end of patch #76
  251. .
  252. .
  253. .       beginning of patch #77
  254. .
  255. .e 488 c3
  256. .
  257. .       end of patch #77
  258. .
  259. .       beginning of patch #78
  260. .
  261. a 6918                          
  262. call 57fe                       
  263. nop
  264.  
  265. a 57fe
  266. mov     byte ptr [18d4], 1      
  267. mov     bx,[104a]               
  268. ret
  269.  
  270. e 5b65 47                       
  271.  
  272. a 5a06                          
  273. call 5808                       
  274. nop
  275.  
  276. a 5808
  277. cmp     word ptr [16d0],47      
  278. jne     5814                    
  279. mov     si,15                   
  280. jmp     5818
  281. mov     si,[16d0]
  282. ret
  283.  
  284. .
  285. .       end of patch #78.       
  286. .
  287. .       beginning of patch #79
  288. .
  289. e 80a6 4d
  290. e 7f60 60
  291. a 7c27        
  292. call 80bc     
  293.  
  294. a 7f0b
  295. jmp 7f14      
  296.  
  297. a 80c2        
  298. push di
  299. push cx
  300. push ax
  301. xor ax,ax     
  302. mov cx,0300
  303. mov di,1916
  304. push ds
  305. pop  es
  306. repnz
  307. stosw
  308. push  ax
  309. push  ax
  310. push  ax
  311. push  [1f57]
  312. call  84ec    
  313. add sp,08
  314. mov ax,0600
  315. push ax
  316. mov  ax,1916
  317. push ax
  318. push  [1f57]  
  319. call 849a
  320. add sp,06
  321. push  [1f57]
  322. call 840a     
  323. add sp,02
  324. pop ax
  325. pop cx
  326. pop di
  327. mov sp,bp
  328. pop bp
  329. ret
  330.  
  331. .       end of patch #79.
  332. .
  333. .
  334. .        beginning of patch #81
  335. e 1270 eb
  336. e 1275 ff ff
  337. .        end of patch #81
  338. .
  339. .
  340. .       END OF PATCHES FOR BTRIEVE.EXE ver 5.10a
  341. .
  342.  
  343. w
  344. q
  345.  
  346.  
  347.