.       PATCHES FOR BTRIEVE.EXE ver 5.10a for DOS
.
.       beginning of patch #20
.
.a 7766
.jmp 7777

.
.       end of patch #20
.
.
.       beginning of patch #24
.
a e21
jmp e2b

.
.       end of patch #24
.
.
.       beginning of patch #28
.
a 650c
mov word ptr [105e],0

.
.       end of patch #28
.
.
.       beginning of patch #30
.
a 28f4
or  dx,dx
jnz 28fc
mov dx,[bx+10e]
add bx,110
cmp word ptr [bx+16],0
je  2916
inc ax
test byte ptr [bx+8],20
jz 2911
inc word ptr [15e8]
add bx,1e
jmp 2900

.
.       end of patch #30
.
.
.       beginning of patch #31
.
a 5f5a
jmp 577c

a 577c
cmp word ptr [1006], 28
jz 5786
jmp 5fcd
jmp 5fe9

.
.       end of patch #31
.
.       beginning of patch #35
.
a 7b01
jbe 7b10

a 7b0e
nop
nop
mov cl,0a
shl ax,cl
dec ax
mov [1070], ax
mov [1074], ax

e 9775 40
.
.       end of patch #35
.
.       beginning of patch #36
.
a 677d
mov ax,ffff
mov word ptr [13c6],ax
mov word ptr [13c2],ax
mov word ptr [13ca],ax
mov word ptr [13d0],ax
nop
nop
nop

.       end of patch #36.
.
.       beginning of patch #37
.
a 177b
cmp al, [bx]

.
.       end of patch #37
.
.       beginning of patch #44
.
a 5f66
jmp     5f6f
nop
nop
nop
nop
nop
nop

.
.       end of patch #44
.
.       beginning of patch #46
.
e 5600 42

e 5721 42

.
.       end of patch #46
.
.       beginning of patch #55
.
a 6a75
xor     bx,bx
call    5789

a 5789
mov     ax,[0002]
cmp     al,2
je      579a
mov     ah,59
push    ds
call    766e
pop     ds
cmp     ax,0020
ret

.
.       end of patch #55
.
.       beginning of patch #64
.
e 7e3f bd
.
.       end of patch #64
.
.       beginning of patch #69
.
a 5c30
call 579b   
jz  5c50
nop

a 579b
cmp word ptr [di], 5c5c
jnz 57a5
inc si
inc si
xor di,di
ret

.       end of patch #69
.
.       beginning of patch #71
.
e 1cde 00 7d
e 1f5e 00 7c
.
.       end of patch #71
.
.       beginning of patch #73
.
a 6599
cmp word ptr [13bb],0003
jz 65a3
call 57a6

a 57a6
call 53b6
add [bx+si],al
call 3435
add [bx+si],al
ret

.       end of patch #73
.
.       beginning of patch #74
.
a 6cf5
call 57b1                       
nop                             
nop                             

a 57b1
cmp     word ptr [18d6],01      
jne     57be                    
mov     bx,002a                 
call    58fc                    
call    6dd8                    
dw      0
cmp     word ptr [18d6],01      
jne     57cd                    
call    593c                    
ret 

a 6d31
call 57ce                       
nop                             
nop                             

a 57ce
cmp     word ptr [18d6],01      
jne     57e0                    
push    cx                      
push    ax
push    di
push    bx                      
mov     bx,02                   
call    58fc                    
pop     bx                      
call    64c4                    
dw      57f8 
cmp     word ptr [18d6],01      
jne     57f7                    
push    bx                      
mov     bx,02                   
call    593c                    
pop     bx
pop     di
pop     ax
pop     cx
ret
mov     bx,[13bb]               
jmp     57e5                    

.
.       end of patch #74
.
.
.       beginning of patch #76
.
e 9ff4 1
.
.       end of patch #76
.
.
.       beginning of patch #77
.
.e 488 c3
.
.       end of patch #77
.
.       beginning of patch #78
.
a 6918                          
call 57fe                       
nop

a 57fe
mov     byte ptr [18d4], 1      
mov     bx,[104a]               
ret

e 5b65 47                       

a 5a06                          
call 5808                       
nop

a 5808
cmp     word ptr [16d0],47      
jne     5814                    
mov     si,15                   
jmp     5818
mov     si,[16d0]
ret

.
.       end of patch #78.       
.
.       beginning of patch #79
.
e 80a6 4d
e 7f60 60
a 7c27        
call 80bc     

a 7f0b
jmp 7f14      

a 80c2        
push di
push cx
push ax
xor ax,ax     
mov cx,0300
mov di,1916
push ds
pop  es
repnz
stosw
push  ax
push  ax
push  ax
push  [1f57]
call  84ec    
add sp,08
mov ax,0600
push ax
mov  ax,1916
push ax
push  [1f57]  
call 849a
add sp,06
push  [1f57]
call 840a     
add sp,02
pop ax
pop cx
pop di
mov sp,bp
pop bp
ret

.       end of patch #79.
.
.
.        beginning of patch #81
e 1270 eb
e 1275 ff ff
.        end of patch #81
.
.
.       END OF PATCHES FOR BTRIEVE.EXE ver 5.10a
.

w
q


