home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / pibsoft / terminal / source / overmgr.dis < prev    next >
Encoding:
Text File  |  1994-06-19  |  61.5 KB  |  1,108 lines

  1.  
  2. Module: OVERMGR.PAS
  3. Group: 'DGROUP' _DATA,_BSS
  4.  
  5. Segment: OVERMGR_TEXT  PARA   000009b0 bytes  
  6.  0000  0c 5c             L1              or      al,5cH
  7.  0002  5c                                pop     sp
  8.  0003  5c                                pop     sp
  9.  0004  5c                                pop     sp
  10.  0005  5c                                pop     sp
  11.  0006  5c                                pop     sp
  12.  0007  5c                                pop     sp
  13.  0008  5c                                pop     sp
  14.  0009  2e 5c                             pop     sp
  15.  000b  5c                                pop     sp
  16.  000c  5c                                pop     sp
  17.  000d  55                OVERMGR_003     push    bp
  18.  000e  89 e5                             mov     bp,sp
  19.  0010  bf 00 00                          mov     di,offset L1
  20.  0013  0e                                push    cs
  21.  0014  57                                push    di
  22.  0015  c4 7e 04                          les     di,dword ptr +4H[bp]
  23.  0018  06                                push    es
  24.  0019  57                                push    di
  25.  001a  b8 ff 00                          mov     ax,00ffH
  26.  001d  50                                push    ax
  27.  001e  9a 00 00 00 00                    call    far SYSTEM_00C
  28.  0023  89 ec                             mov     sp,bp
  29.  0025  5d                                pop     bp
  30.  0026  c3                                ret     
  31.  0027  31 49 6e          L2              xor     +6eH[bx+di],cx
  32.  002a  73 75                             jae     L12
  33.  002c  66 66 69 63 69 65 
  34.        6e 74 20                          imul    esp,+69H[bp+di],20746e65H
  35.  0035  68 65 61                          push    6165H
  36.  0038  70 20                             jo      L4
  37.  003a  73 70                             jae     L13
  38.  003c  61                                popa    
  39.  003d  63 65 20                          arpl    sp,+20H[di]
  40.  0040  66 6f                             outsd   
  41.  0042  72 20                             jb      L5
  42.  0044  73 74                             jae     L15
  43.  0046  61                                popa    
  44.  0047  63 6b 20                          arpl    bp,+20H[bp+di]
  45.  004a  61                                popa    
  46.  004b  6e                                outsb   
  47.  004c  64 20 66 69                       and     fs:+69H[bp],ah
  48.  0050  78 75                             js      L16
  49.  0052  70 20                             jo      L7
  50.  0054  6c                                insb    
  51.  0055  69 73 74 73 12                    imul    si,+74H[bp+di],1273H
  52.  005a  4f                L4              dec     di
  53.  005b  56                                push    si
  54.  005c  52                                push    dx
  55.  005d  20 66 69                          and     +69H[bp],ah
  56.  0060  6c                                insb    
  57.  0061  65 20 6e 6f                       and     gs:+6fH[bp],ch
  58.  0065  74 20                             je      L8
  59.  0067  66 6f                             outsd   
  60.  0069  75 6e                             jne     L19
  61.  006b  64 28 4f 56                       sub     fs:+56H[bx],cl
  62.  006f  45                                inc     bp
  63.  0070  52                                push    dx
  64.  0071  4c                                dec     sp
  65.  0072  41                                inc     cx
  66.  0073  59                                pop     cx
  67.  0074  20 68 61          L7              and     +61H[bx+si],ch
  68.  0077  73 20                             jae     L10
  69.  0079  6e                                outsb   
  70.  007a  6f                                outsw   
  71.  007b  74 20                             je      L11
  72.  007d  62 65 65                          bound   sp,+65H[di]
  73.  0080  6e                                outsb   
  74.  0081  20 72 75                          and     +75H[bp+si],dh
  75.  0084  6e                                outsb   
  76.  0085  20 6f 6e                          and     +6eH[bx],ch
  77.  0088  20 74 68                          and     +68H[si],dh
  78.  008b  65 20 45 58                       and     gs:+58H[di],al
  79.  008f  45                                inc     bp
  80.  0090  20 66 69                          and     +69H[bp],ah
  81.  0093  6c                                insb    
  82.  0094  65 17                             pop     ss
  83.  0096  4f                                dec     di
  84.  0097  56                                push    si
  85.  0098  52                                push    dx
  86.  0099  20 66 69          L10             and     +69H[bp],ah
  87.  009c  6c                                insb    
  88.  009d  65 20 69 6e       L11             and     gs:+6eH[bx+di],ch
  89.  00a1  76 61             L12             jbe     L23
  90.  00a3  6c                                insb    
  91.  00a4  69 64 20 66 6f                    imul    sp,+20H[si],6f66H
  92.  00a9  72 6d                             jb      L25
  93.  00ab  61                                popa    
  94.  00ac  74 1a             L13             je      L17
  95.  00ae  45                                inc     bp
  96.  00af  72 72                             jb      L27
  97.  00b1  6f                                outsw   
  98.  00b2  72 20                             jb      L18
  99.  00b4  72 65                             jb      L26
  100.  00b6  61                                popa    
  101.  00b7  64 69 6e 67 20 6f                 imul    bp,fs:+67H[bp],6f20H
  102.  00bd  76 65                             jbe     L28
  103.  00bf  72 6c                             jb      OVERMGR_002
  104.  00c1  61                                popa    
  105.  00c2  79 20                             jns     L20
  106.  00c4  66 69 6c 65 1f 45 
  107.        72 72                             imul    ebp,+65H[si],7272451fH
  108.  00cc  6f                                outsw   
  109.  00cd  72 20                             jb      L22
  110.  00cf  61                                popa    
  111.  00d0  63 63 65                          arpl    sp,+65H[bp+di]
  112.  00d3  73 73                             jae     L31
  113.  00d5  69 6e 67 20 65                    imul    bp,+67H[bp],6520H
  114.  00da  78 70                             js      L32
  115.  00dc  61                                popa    
  116.  00dd  6e                                outsb   
  117.  00de  64 65 64 20 6d 65                 and     fs:+65H[di],ch
  118.  00e4  6d                L20             insw    
  119.  00e5  6f                                outsw   
  120.  00e6  72 79                             jb      L35
  121.  00e8  29 54 6f          L21             sub     +6fH[si],dx
  122.  00eb  6f                                outsw   
  123.  00ec  20 6d 61                          and     +61H[di],ch
  124.  00ef  6e                L22             outsb   
  125.  00f0  79 20                             jns     L24
  126.  00f2  72 65                             jb      L34
  127.  00f4  6c                                insb    
  128.  00f5  6f                                outsw   
  129.  00f6  63 61 74                          arpl    sp,+74H[bx+di]
  130.  00f9  69 6f 6e 20 69                    imul    bp,+6eH[bx],6920H
  131.  00fe  74 65                             je      L36
  132.  0100  6d                                insw    
  133.  0101  73 20                             jae     L27
  134.  0103  69 6e 20 74 68                    imul    bp,+20H[bp],6874H
  135.  0108  65 20 4f 56                       and     gs:+56H[bx],cl
  136.  010c  52                                push    dx
  137.  010d  20 66 69                          and     +69H[bp],ah
  138.  0110  6c                                insb    
  139.  0111  65 1a 4f 75                       sbb     cl,gs:+75H[bx]
  140.  0115  74 20                             je      L29
  141.  0117  6f                                outsw   
  142.  0118  66 20 6f 76       L25             and     +76H[bx],ch
  143.  011c  65 72 6c                          jb      L38
  144.  011f  61                                popa    
  145.  0120  79 20                             jns     L30
  146.  0122  73 74                             jae     L39
  147.  0124  61                L28             popa    
  148.  0125  63 6b 20                          arpl    bp,+20H[bp+di]
  149.  0128  73 70                             jae     L40
  150.  012a  61                                popa    
  151.  012b  63 65 55                          arpl    sp,+55H[di]
  152.  012e  89 e5                             mov     bp,sp
  153.  0130  81 ec 00 01                       sub     sp,0100H
  154.  0134  a1 00 00                          mov     ax,OVERLAYERROR
  155.  0137  3d 01 00          L29             cmp     ax,0001H
  156.  013a  75 17                             jne     L33
  157.  013c  bf 00 00                          mov     di,offset L2
  158.  013f  0e                                push    cs
  159.  0140  57                                push    di
  160.  0141  8d be 00 ff                       lea     di,-100H[bp]
  161.  0145  16                                push    ss
  162.  0146  57                                push    di
  163.  0147  b8 ff 00                          mov     ax,00ffH
  164.  014a  50                                push    ax
  165.  014b  9a 00 00 00 00                    call    far SYSTEM_00C
  166.  0150  e9 cb 00                          jmp     L48
  167.  0153  3d 02 00          L33             cmp     ax,0002H
  168.  0156  75 17                             jne     L37
  169.  0158  bf 00 00                          mov     di,offset L3
  170.  015b  0e                                push    cs
  171.  015c  57                                push    di
  172.  015d  8d be 00 ff                       lea     di,-100H[bp]
  173.  0161  16                L35             push    ss
  174.  0162  57                                push    di
  175.  0163  b8 ff 00                          mov     ax,00ffH
  176.  0166  50                                push    ax
  177.  0167  9a 00 00 00 00                    call    far SYSTEM_00C
  178.  016c  e9 af 00                          jmp     L48
  179.  016f  3d 03 00          L37             cmp     ax,0003H
  180.  0172  75 17                             jne     L38
  181.  0174  bf 00 00                          mov     di,offset L6
  182.  0177  0e                                push    cs
  183.  0178  57                                push    di
  184.  0179  8d be 00 ff                       lea     di,-100H[bp]
  185.  017d  16                                push    ss
  186.  017e  57                                push    di
  187.  017f  b8 ff 00                          mov     ax,00ffH
  188.  0182  50                                push    ax
  189.  0183  9a 00 00 00 00                    call    far SYSTEM_00C
  190.  0188  e9 93 00                          jmp     L48
  191.  018b  3d 04 00          L38             cmp     ax,0004H
  192.  018e  75 16                             jne     L41
  193.  0190  bf 00 00                          mov     di,offset L9
  194.  0193  0e                                push    cs
  195.  0194  57                                push    di
  196.  0195  8d be 00 ff                       lea     di,-100H[bp]
  197.  0199  16                                push    ss
  198.  019a  57                L40             push    di
  199.  019b  b8 ff 00                          mov     ax,00ffH
  200.  019e  50                                push    ax
  201.  019f  9a 00 00 00 00                    call    far SYSTEM_00C
  202.  01a4  eb 78                             jmp     L48
  203.  01a6  3d 05 00          L41             cmp     ax,0005H
  204.  01a9  74 05                             je      L42
  205.  01ab  3d 00 02                          cmp     ax,0200H
  206.  01ae  75 16                             jne     L43
  207.  01b0  bf 00 00          L42             mov     di,offset L14
  208.  01b3  0e                                push    cs
  209.  01b4  57                                push    di
  210.  01b5  8d be 00 ff                       lea     di,-100H[bp]
  211.  01b9  16                                push    ss
  212.  01ba  57                                push    di
  213.  01bb  b8 ff 00                          mov     ax,00ffH
  214.  01be  50                                push    ax
  215.  01bf  9a 00 00 00 00                    call    far SYSTEM_00C
  216.  01c4  eb 58                             jmp     L48
  217.  01c6  3d 06 00          L43             cmp     ax,0006H
  218.  01c9  74 05                             je      L44
  219.  01cb  3d 00 03                          cmp     ax,0300H
  220.  01ce  75 16                             jne     L45
  221.  01d0  bf 00 00          L44             mov     di,offset L17
  222.  01d3  0e                                push    cs
  223.  01d4  57                                push    di
  224.  01d5  8d be 00 ff                       lea     di,-100H[bp]
  225.  01d9  16                                push    ss
  226.  01da  57                                push    di
  227.  01db  b8 ff 00                          mov     ax,00ffH
  228.  01de  50                                push    ax
  229.  01df  9a 00 00 00 00                    call    far SYSTEM_00C
  230.  01e4  eb 38                             jmp     L48
  231.  01e6  3d 07 00          L45             cmp     ax,0007H
  232.  01e9  75 16                             jne     L46
  233.  01eb  bf 00 00                          mov     di,offset L21
  234.  01ee  0e                                push    cs
  235.  01ef  57                                push    di
  236.  01f0  8d be 00 ff                       lea     di,-100H[bp]
  237.  01f4  16                                push    ss
  238.  01f5  57                                push    di
  239.  01f6  b8 ff 00                          mov     ax,00ffH
  240.  01f9  50                                push    ax
  241.  01fa  9a 00 00 00 00                    call    far SYSTEM_00C
  242.  01ff  eb 1d                             jmp     L48
  243.  0201  3d 00 01          L46             cmp     ax,0100H
  244.  0204  75 16                             jne     L47
  245.  0206  bf 00 00                          mov     di,offset L24
  246.  0209  0e                                push    cs
  247.  020a  57                                push    di
  248.  020b  8d be 00 ff                       lea     di,-100H[bp]
  249.  020f  16                                push    ss
  250.  0210  57                                push    di
  251.  0211  b8 ff 00                          mov     ax,00ffH
  252.  0214  50                                push    ax
  253.  0215  9a 00 00 00 00                    call    far SYSTEM_00C
  254.  021a  eb 02                             jmp     L48
  255.  021c  eb 20             L47             jmp     L49
  256.  021e  bf 00 00          L48             mov     di,offset SYSTEM_BSS+100H
  257.  0221  1e                                push    ds
  258.  0222  57                                push    di
  259.  0223  8d be 00 ff                       lea     di,-100H[bp]
  260.  0227  16                                push    ss
  261.  0228  57                                push    di
  262.  0229  31 c0                             xor     ax,ax
  263.  022b  50                                push    ax
  264.  022c  9a 00 00 00 00                    call    far SYSTEM_036
  265.  0231  9a 00 00 00 00                    call    far SYSTEM_03A
  266.  0236  b8 01 00                          mov     ax,0001H
  267.  0239  9a 00 00 00 00                    call    far SYSTEM_003
  268.  023e  89 ec             L49             mov     sp,bp
  269.  0240  5d                                pop     bp
  270.  0241  cb                                retf    
  271.  0242  55                OVERMGR_004     push    bp
  272.  0243  89 e5                             mov     bp,sp
  273.  0245  8a 46 04                          mov     al,+4H[bp]
  274.  0248  30 e4                             xor     ah,ah
  275.  024a  86 c4                             xchg    al,ah
  276.  024c  0b 06 00 00                       or      ax,OVERLAYERROR
  277.  0250  a3 00 00                          mov     OVERLAYERROR,ax
  278.  0253  0e                                push    cs
  279.  0254  e8 00 00                          call    CHECKOVERLAYERROR
  280.  0257  b8 01 00                          mov     ax,0001H
  281.  025a  9a 00 00 00 00                    call    far SYSTEM_003
  282.  025f  89 ec                             mov     sp,bp
  283.  0261  5d                                pop     bp
  284.  0262  c2 02 00                          ret     0002H
  285.  0265  55                OVERMGR_00D     push    bp
  286.  0266  89 e5                             mov     bp,sp
  287.  0268  b0 00                             mov     al,00H
  288.  026a  50                                push    ax
  289.  026b  e8 00 00                          call    OVERMGR_004
  290.  026e  89 ec                             mov     sp,bp
  291.  0270  5d                                pop     bp
  292.  0271  cb                                retf    
  293.  0272  55                OVERMGR_00E     push    bp
  294.  0273  89 e5                             mov     bp,sp
  295.  0275  83 ec 02                          sub     sp,0002H
  296.  0278  c7 46 fe 01 00                    mov     word ptr -2H[bp],0001H
  297.  027d  8b 46 fe                          mov     ax,-2H[bp]
  298.  0280  89 ec                             mov     sp,bp
  299.  0282  5d                                pop     bp
  300.  0283  ca 02 00                          retf    0002H
  301.  0286  55                OVERMGR_00F     push    bp
  302.  0287  89 e5                             mov     bp,sp
  303.  0289  c4 06 00 00                       les     ax,dword ptr L152
  304.  028d  8c c2                             mov     dx,es
  305.  028f  a3 00 00                          mov     SYSTEM_BSS+214H,ax
  306.  0292  89 16 00 00                       mov     SYSTEM_BSS+216H,dx
  307.  0296  b0 3f                             mov     al,3fH
  308.  0298  50                                push    ax
  309.  0299  ff 36 00 00                       push    L136
  310.  029d  ff 36 00 00                       push    SAVEINT3F
  311.  02a1  e8 00 00                          call    OVERMGR_00A
  312.  02a4  80 3e 00 00 00                    cmp     byte ptr USINGEMS,00H
  313.  02a9  74 07                             je      L50
  314.  02ab  ff 36 00 00                       push    L158
  315.  02af  e8 00 00                          call    OVERMGR_008
  316.  02b2  89 ec             L50             mov     sp,bp
  317.  02b4  5d                                pop     bp
  318.  02b5  cb                                retf    
  319.  02b6  08 45 4d          L51             or      +4dH[di],al
  320.  02b9  4d                                dec     bp
  321.  02ba  58                                pop     ax
  322.  02bb  58                                pop     ax
  323.  02bc  58                                pop     ax
  324.  02bd  58                                pop     ax
  325.  02be  30 55 89                          xor     -77H[di],dl
  326.  02c1  e5 81                             in      ax,81H
  327.  02c3  ec                                in      al,dx
  328.  02c4  81 00 8d be                       add     word ptr [bx+si],0be8dH
  329.  02c8  7f ff                             jg      L52
  330.  02ca  16                                push    ss
  331.  02cb  57                                push    di
  332.  02cc  bf 00 00                          mov     di,offset L51
  333.  02cf  0e                                push    cs
  334.  02d0  57                                push    di
  335.  02d1  9a 00 00 00 00                    call    far SYSTEM_049
  336.  02d6  8d be 7f ff                       lea     di,-81H[bp]
  337.  02da  16                                push    ss
  338.  02db  57                                push    di
  339.  02dc  b8 80 00                          mov     ax,0080H
  340.  02df  50                                push    ax
  341.  02e0  9a 00 00 00 00                    call    far SYSTEM_04A
  342.  02e5  9a 00 00 00 00                    call    far SYSTEM_031
  343.  02ea  09 c0                             or      ax,ax
  344.  02ec  75 11                             jne     L53
  345.  02ee  c6 46 ff 01                       mov     byte ptr -1H[bp],01H
  346.  02f2  8d be 7f ff                       lea     di,-81H[bp]
  347.  02f6  16                                push    ss
  348.  02f7  57                                push    di
  349.  02f8  9a 00 00 00 00                    call    far SYSTEM_04C
  350.  02fd  eb 04                             jmp     L54
  351.  02ff  c6 46 ff 00       L53             mov     byte ptr -1H[bp],00H
  352.  0303  8a 46 ff          L54             mov     al,-1H[bp]
  353.  0306  89 ec                             mov     sp,bp
  354.  0308  5d                                pop     bp
  355.  0309  c3                                ret     
  356.  030a  55                OVERMGR_011     push    bp
  357.  030b  89 e5                             mov     bp,sp
  358.  030d  83 ec 05                          sub     sp,0005H
  359.  0310  c4 06 00 00                       les     ax,dword ptr SYSTEM_BSS+210H
  360.  0314  8c c2                             mov     dx,es
  361.  0316  89 46 fb                          mov     -5H[bp],ax
  362.  0319  89 56 fd                          mov     -3H[bp],dx
  363.  031c  b8 00 00                          mov     ax,offset OVERMGR_00E
  364.  031f  8c ca                             mov     dx,cs
  365.  0321  a3 00 00                          mov     SYSTEM_BSS+210H,ax
  366.  0324  89 16 00 00                       mov     SYSTEM_BSS+212H,dx
  367.  0328  c4 7e 06                          les     di,dword ptr +6H[bp]
  368.  032b  06                                push    es
  369.  032c  57                                push    di
  370.  032d  ff 76 04                          push    +4H[bp]
  371.  0330  9a 00 00 00 00                    call    far SYSTEM_022
  372.  0335  c4 7e 06                          les     di,dword ptr +6H[bp]
  373.  0338  26 8b 05                          mov     ax,es:[di]
  374.  033b  26 0b 45 02                       or      ax,es:+2H[di]
  375.  033f  75 04                             jne     L55
  376.  0341  b0 00                             mov     al,00H
  377.  0343  eb 02                             jmp     L56
  378.  0345  b0 01             L55             mov     al,01H
  379.  0347  88 46 ff          L56             mov     -1H[bp],al
  380.  034a  c4 46 fb                          les     ax,dword ptr -5H[bp]
  381.  034d  8c c2                             mov     dx,es
  382.  034f  a3 00 00                          mov     SYSTEM_BSS+210H,ax
  383.  0352  89 16 00 00                       mov     SYSTEM_BSS+212H,dx
  384.  0356  8a 46 ff                          mov     al,-1H[bp]
  385.  0359  89 ec                             mov     sp,bp
  386.  035b  5d                                pop     bp
  387.  035c  c2 06 00                          ret     0006H
  388.  035f  55                OVERMGR_012     push    bp
  389.  0360  89 e5                             mov     bp,sp
  390.  0362  83 ec 03                          sub     sp,0003H
  391.  0365  bf 00 00                          mov     di,offset OVERF
  392.  0368  1e                                push    ds
  393.  0369  57                                push    di
  394.  036a  c4 7e 06                          les     di,dword ptr +6H[bp]
  395.  036d  06                                push    es
  396.  036e  57                                push    di
  397.  036f  ff 76 04                          push    +4H[bp]
  398.  0372  8d 7e fd                          lea     di,-3H[bp]
  399.  0375  16                                push    ss
  400.  0376  57                                push    di
  401.  0377  9a 00 00 00 00                    call    far SYSTEM_053
  402.  037c  9a 00 00 00 00                    call    far SYSTEM_031
  403.  0381  09 c0                             or      ax,ax
  404.  0383  75 08                             jne     L57
  405.  0385  8b 46 fd                          mov     ax,-3H[bp]
  406.  0388  3b 46 04                          cmp     ax,+4H[bp]
  407.  038b  74 04                             je      L58
  408.  038d  b0 00             L57             mov     al,00H
  409.  038f  eb 02                             jmp     L59
  410.  0391  b0 01             L58             mov     al,01H
  411.  0393  88 46 ff          L59             mov     -1H[bp],al
  412.  0396  8a 46 ff                          mov     al,-1H[bp]
  413.  0399  89 ec                             mov     sp,bp
  414.  039b  5d                                pop     bp
  415.  039c  c2 06 00                          ret     0006H
  416.  039f                    SETOVERLAYHANDLER:
  417.  039f  55                OVERMGR_001     push    bp
  418.  03a0  89 e5                             mov     bp,sp
  419.  03a2  b0 3f                             mov     al,3fH
  420.  03a4  50                                push    ax
  421.  03a5  bf 00 00                          mov     di,offset SAVEINT3F
  422.  03a8  1e                                push    ds
  423.  03a9  57                                push    di
  424.  03aa  e8 00 00                          call    OVERMGR_009
  425.  03ad  80 3e 00 00 00                    cmp     byte ptr OVERLAYSACTIVE,00H
  426.  03b2  74 0f                             je      L60
  427.  03b4  b0 3f                             mov     al,3fH
  428.  03b6  50                                push    ax
  429.  03b7  b8 00 00                          mov     ax,offset OVERMGR_00C
  430.  03ba  8c ca                             mov     dx,cs
  431.  03bc  52                                push    dx
  432.  03bd  50                                push    ax
  433.  03be  e8 00 00                          call    OVERMGR_00A
  434.  03c1  eb 0d                             jmp     L61
  435.  03c3  b0 3f             L60             mov     al,3fH
  436.  03c5  50                                push    ax
  437.  03c6  b8 00 00                          mov     ax,offset OVERMGR_00D
  438.  03c9  8c ca                             mov     dx,cs
  439.  03cb  52                                push    dx
  440.  03cc  50                                push    ax
  441.  03cd  e8 00 00                          call    OVERMGR_00A
  442.  03d0  89 ec             L61             mov     sp,bp
  443.  03d2  5d                                pop     bp
  444.  03d3  cb                                retf    
  445.  03d4  55                OVERMGR_013     push    bp
  446.  03d5  89 e5                             mov     bp,sp
  447.  03d7  83 ec 16                          sub     sp,0016H
  448.  03da  c6 46 ff 00                       mov     byte ptr -1H[bp],00H
  449.  03de  bf 00 00                          mov     di,offset L138
  450.  03e1  1e                                push    ds
  451.  03e2  57                                push    di
  452.  03e3  b8 43 02                          mov     ax,0243H
  453.  03e6  50                                push    ax
  454.  03e7  e8 00 00                          call    OVERMGR_012
  455.  03ea  08 c0                             or      al,al
  456.  03ec  75 09                             jne     L62
  457.  03ee  c7 06 00 00 05 00                 mov     word ptr OVERLAYERROR,0005H
  458.  03f4  e9 f4 01                          jmp     L85
  459.  03f7  c4 06 00 00       L62             les     ax,dword ptr L138
  460.  03fb  8c c2                             mov     dx,es
  461.  03fd  3b 16 00 00                       cmp     dx,L134
  462.  0401  75 06                             jne     L63
  463.  0403  3b 06 00 00                       cmp     ax,L133
  464.  0407  74 09                             je      L64
  465.  0409  c7 06 00 00 04 00 L63             mov     word ptr OVERLAYERROR,0004H
  466.  040f  e9 d9 01                          jmp     L85
  467.  0412  81 3e 00 00 f8 7f L64             cmp     word ptr L146,7ff8H
  468.  0418  76 09                             jbe     L65
  469.  041a  c7 06 00 00 07 00                 mov     word ptr OVERLAYERROR,0007H
  470.  0420  e9 c8 01                          jmp     L85
  471.  0423  a1 00 00          L65             mov     ax,L146
  472.  0426  d1 e0                             shl     ax,1
  473.  0428  89 46 fc                          mov     -4H[bp],ax
  474.  042b  bf 00 00                          mov     di,offset L151
  475.  042e  1e                                push    ds
  476.  042f  57                                push    di
  477.  0430  ff 76 fc                          push    -4H[bp]
  478.  0433  e8 00 00                          call    OVERMGR_011
  479.  0436  08 c0                             or      al,al
  480.  0438  75 09                             jne     L66
  481.  043a  c7 06 00 00 01 00                 mov     word ptr OVERLAYERROR,0001H
  482.  0440  e9 a8 01                          jmp     L85
  483.  0443  c4 3e 00 00       L66             les     di,dword ptr L151
  484.  0447  06                                push    es
  485.  0448  57                                push    di
  486.  0449  ff 76 fc                          push    -4H[bp]
  487.  044c  e8 00 00                          call    OVERMGR_012
  488.  044f  08 c0                             or      al,al
  489.  0451  75 09                             jne     L67
  490.  0453  c7 06 00 00 05 00                 mov     word ptr OVERLAYERROR,0005H
  491.  0459  e9 8f 01                          jmp     L85
  492.  045c  bf 00 00          L67             mov     di,offset L148
  493.  045f  1e                                push    ds
  494.  0460  57                                push    di
  495.  0461  ff 36 00 00                       push    L155
  496.  0465  e8 00 00                          call    OVERMGR_011
  497.  0468  08 c0                             or      al,al
  498.  046a  75 09                             jne     L68
  499.  046c  c7 06 00 00 01 00                 mov     word ptr OVERLAYERROR,0001H
  500.  0472  e9 76 01                          jmp     L85
  501.  0475  a1 00 00          L68             mov     ax,L155
  502.  0478  2d 10 00                          sub     ax,0010H
  503.  047b  a3 00 00                          mov     L156,ax
  504.  047e  c4 3e 00 00                       les     di,dword ptr L148
  505.  0482  8c c0                             mov     ax,es
  506.  0484  40                                inc     ax
  507.  0485  8b d0                             mov     dx,ax
  508.  0487  a1 00 00                          mov     ax,L156
  509.  048a  a3 00 00                          mov     L149,ax
  510.  048d  89 16 00 00                       mov     L150,dx
  511.  0491  a1 00 00                          mov     ax,SYSTEM_BSS+200H
  512.  0494  05 10 00                          add     ax,0010H
  513.  0497  a3 00 00                          mov     L154,ax
  514.  049a  c6 46 fe 00                       mov     byte ptr -2H[bp],00H
  515.  049e  eb 03                             jmp     L70
  516.  04a0  fe 46 fe          L69             inc     byte ptr -2H[bp]
  517.  04a3  8a 46 fe          L70             mov     al,-2H[bp]
  518.  04a6  98                                cbw     
  519.  04a7  8b f8                             mov     di,ax
  520.  04a9  d1 e7                             shl     di,1
  521.  04ab  83 bd 00 00 ff                    cmp     word ptr L143[di],0ffffH
  522.  04b0  74 10                             je      L71
  523.  04b2  8b 16 00 00                       mov     dx,L154
  524.  04b6  8a 46 fe                          mov     al,-2H[bp]
  525.  04b9  98                                cbw     
  526.  04ba  8b f8                             mov     di,ax
  527.  04bc  d1 e7                             shl     di,1
  528.  04be  01 95 00 00                       add     L143[di],dx
  529.  04c2  80 7e fe 05       L71             cmp     byte ptr -2H[bp],05H
  530.  04c6  75 d8                             jne     L69
  531.  04c8  bf 00 00                          mov     di,offset L147
  532.  04cb  1e                                push    ds
  533.  04cc  57                                push    di
  534.  04cd  b8 06 00                          mov     ax,0006H
  535.  04d0  50                                push    ax
  536.  04d1  b0 ff                             mov     al,0ffH
  537.  04d3  50                                push    ax
  538.  04d4  9a 00 00 00 00                    call    far SYSTEM_05C
  539.  04d9  80 3e 00 00 00                    cmp     byte ptr PATCHCHECKEMS,00H
  540.  04de  75 03                             jne     L72
  541.  04e0  e9 04 01                          jmp     L84
  542.  04e3  e8 00 00          L72             call    OVERMGR_010
  543.  04e6  08 c0                             or      al,al
  544.  04e8  75 03                             jne     L73
  545.  04ea  e9 fa 00                          jmp     L84
  546.  04ed  8d 7e ec          L73             lea     di,-14H[bp]
  547.  04f0  16                                push    ss
  548.  04f1  57                                push    di
  549.  04f2  b8 00 40                          mov     ax,4000H
  550.  04f5  50                                push    ax
  551.  04f6  e8 00 00                          call    OVERMGR_011
  552.  04f9  08 c0                             or      al,al
  553.  04fb  75 03                             jne     L74
  554.  04fd  e9 e7 00                          jmp     L84
  555.  0500  bf 00 00          L74             mov     di,offset OVERF
  556.  0503  1e                                push    ds
  557.  0504  57                                push    di
  558.  0505  9a 00 00 00 00                    call    far SYSTEM_057
  559.  050a  89 46 f4                          mov     -0cH[bp],ax
  560.  050d  89 56 f6                          mov     -0aH[bp],dx
  561.  0510  c4 46 f4                          les     ax,dword ptr -0cH[bp]
  562.  0513  8c c2                             mov     dx,es
  563.  0515  b9 00 40                          mov     cx,4000H
  564.  0518  31 db                             xor     bx,bx
  565.  051a  9a 00 00 00 00                    call    far SYSTEM_006
  566.  051f  89 46 f8                          mov     -8H[bp],ax
  567.  0522  c4 46 f4                          les     ax,dword ptr -0cH[bp]
  568.  0525  8c c2                             mov     dx,es
  569.  0527  b9 00 40                          mov     cx,4000H
  570.  052a  31 db                             xor     bx,bx
  571.  052c  9a 00 00 00 00                    call    far SYSTEM_006
  572.  0531  89 c8                             mov     ax,cx
  573.  0533  89 da                             mov     dx,bx
  574.  0535  09 d0                             or      ax,dx
  575.  0537  74 03                             je      L75
  576.  0539  ff 46 f8                          inc     word ptr -8H[bp]
  577.  053c  ff 76 f8          L75             push    -8H[bp]
  578.  053f  e8 00 00                          call    OVERMGR_006
  579.  0542  a3 00 00                          mov     L158,ax
  580.  0545  83 3e 00 00 ff                    cmp     word ptr L158,0ffffH
  581.  054a  75 03                             jne     L76
  582.  054c  e9 8a 00                          jmp     L83
  583.  054f  e8 00 00          L76             call    OVERMGR_005
  584.  0552  89 46 f0                          mov     -10H[bp],ax
  585.  0555  89 56 f2                          mov     -0eH[bp],dx
  586.  0558  c4 7e f0                          les     di,dword ptr -10H[bp]
  587.  055b  8c c0                             mov     ax,es
  588.  055d  a3 00 00                          mov     L157,ax
  589.  0560  bf 00 00                          mov     di,offset OVERF
  590.  0563  1e                                push    ds
  591.  0564  57                                push    di
  592.  0565  b8 01 00                          mov     ax,0001H
  593.  0568  50                                push    ax
  594.  0569  9a 00 00 00 00                    call    far SYSTEM_04A
  595.  056e  8b 46 f8                          mov     ax,-8H[bp]
  596.  0571  48                                dec     ax
  597.  0572  89 46 ea                          mov     -16H[bp],ax
  598.  0575  31 c0                             xor     ax,ax
  599.  0577  3b 46 ea                          cmp     ax,-16H[bp]
  600.  057a  77 4e                             ja      L82
  601.  057c  89 46 fa                          mov     -6H[bp],ax
  602.  057f  eb 03                             jmp     L78
  603.  0581  ff 46 fa          L77             inc     word ptr -6H[bp]
  604.  0584  ff 36 00 00       L78             push    L158
  605.  0588  ff 76 fa                          push    -6H[bp]
  606.  058b  b0 00                             mov     al,00H
  607.  058d  50                                push    ax
  608.  058e  e8 00 00                          call    OVERMGR_007
  609.  0591  08 c0                             or      al,al
  610.  0593  75 0a                             jne     L79
  611.  0595  c7 06 00 00 06 00                 mov     word ptr OVERLAYERROR,0006H
  612.  059b  eb 3c                             jmp     L83
  613.  059d  eb 23                             jmp     L81
  614.  059f  c4 7e ec          L79             les     di,dword ptr -14H[bp]
  615.  05a2  06                                push    es
  616.  05a3  57                                push    di
  617.  05a4  b8 00 40                          mov     ax,4000H
  618.  05a7  50                                push    ax
  619.  05a8  e8 00 00                          call    OVERMGR_012
  620.  05ab  08 c0                             or      al,al
  621.  05ad  74 00                             je      L80
  622.  05af  c4 7e ec          L80             les     di,dword ptr -14H[bp]
  623.  05b2  06                                push    es
  624.  05b3  57                                push    di
  625.  05b4  c4 7e f0                          les     di,dword ptr -10H[bp]
  626.  05b7  06                                push    es
  627.  05b8  57                                push    di
  628.  05b9  b8 00 40                          mov     ax,4000H
  629.  05bc  50                                push    ax
  630.  05bd  9a 00 00 00 00                    call    far SYSTEM_060
  631.  05c2  8b 46 fa          L81             mov     ax,-6H[bp]
  632.  05c5  3b 46 ea                          cmp     ax,-16H[bp]
  633.  05c8  75 b7                             jne     L77
  634.  05ca  bf 00 00          L82             mov     di,offset OVERF
  635.  05cd  1e                                push    ds
  636.  05ce  57                                push    di
  637.  05cf  9a 00 00 00 00                    call    far SYSTEM_04C
  638.  05d4  c6 06 00 00 01                    mov     byte ptr USINGEMS,01H
  639.  05d9  8d 7e ec          L83             lea     di,-14H[bp]
  640.  05dc  16                                push    ss
  641.  05dd  57                                push    di
  642.  05de  b8 00 40                          mov     ax,4000H
  643.  05e1  50                                push    ax
  644.  05e2  9a 00 00 00 00                    call    far SYSTEM_023
  645.  05e7  c6 46 ff 01       L84             mov     byte ptr -1H[bp],01H
  646.  05eb  8a 46 ff          L85             mov     al,-1H[bp]
  647.  05ee  89 ec                             mov     sp,bp
  648.  05f0  5d                                pop     bp
  649.  05f1  c3                                ret     
  650.  05f2                    OVERMGR_000:
  651.  05f2  89 e5             OVERMGR_INIT    mov     bp,sp
  652.  05f4  c6 06 00 00 00                    mov     byte ptr USINGEMS,00H
  653.  05f9  e8 00 00                          call    OVERMGR_00B
  654.  05fc  30 e4                             xor     ah,ah
  655.  05fe  a3 00 00                          mov     OVERLAYERROR,ax
  656.  0601  83 3e 00 00 00                    cmp     word ptr OVERLAYERROR,0000H
  657.  0606  75 2b                             jne     L86
  658.  0608  a1 00 00                          mov     ax,PATCHSTACKSIZE
  659.  060b  a3 00 00                          mov     L155,ax
  660.  060e  bf 00 00                          mov     di,offset OVERF
  661.  0611  1e                                push    ds
  662.  0612  57                                push    di
  663.  0613  bf 00 00                          mov     di,offset OVERLAYPATH
  664.  0616  1e                                push    ds
  665.  0617  57                                push    di
  666.  0618  9a 00 00 00 00                    call    far SYSTEM_049
  667.  061d  bf 00 00                          mov     di,offset OVERF
  668.  0620  1e                                push    ds
  669.  0621  57                                push    di
  670.  0622  b8 01 00                          mov     ax,0001H
  671.  0625  50                                push    ax
  672.  0626  9a 00 00 00 00                    call    far SYSTEM_04A
  673.  062b  e8 00 00                          call    OVERMGR_013
  674.  062e  a2 00 00                          mov     OVERLAYSACTIVE,al
  675.  0631  eb 05                             jmp     L87
  676.  0633  c6 06 00 00 00    L86             mov     byte ptr OVERLAYSACTIVE,00H
  677.  0638  0e                L87             push    cs
  678.  0639  e8 00 00                          call    OVERMGR_001
  679.  063c  c4 06 00 00                       les     ax,dword ptr SYSTEM_BSS+214H
  680.  0640  8c c2                             mov     dx,es
  681.  0642  a3 00 00                          mov     L152,ax
  682.  0645  89 16 00 00                       mov     L153,dx
  683.  0649  b8 00 00                          mov     ax,offset OVERMGR_00F
  684.  064c  8c ca                             mov     dx,cs
  685.  064e  a3 00 00                          mov     SYSTEM_BSS+214H,ax
  686.  0651  89 16 00 00                       mov     SYSTEM_BSS+216H,dx
  687.  0655  89 ec                             mov     sp,bp
  688.  0657  cb                                retf    
  689.  0658  5c                L88             pop     sp
  690.  0659  5c                                pop     sp
  691.  065a  5c                                pop     sp
  692.  065b  5c                                pop     sp
  693.  065c  5c                                pop     sp
  694.  065d  5c                                pop     sp
  695.  065e  5c                                pop     sp
  696.  065f  5c                                pop     sp
  697.  0660  2e 5c                             pop     sp
  698.  0662  5c                                pop     sp
  699.  0663  5c                                pop     sp
  700.  0664  00 b4 41 cd                       add     -32bfH[si],dh
  701.  0668  67 0a e4                          or      ah,ah
  702.  066b  b8 00 00                          mov     ax,0000H
  703.  066e  8b d3                             mov     dx,bx
  704.  0670  74 02                             je      L89
  705.  0672  33 d2                             xor     dx,dx
  706.  0674  c3                L89             ret     
  707.  0675  8b dc             OVERMGR_006     mov     bx,sp
  708.  0677  36 8b 5f 02                       mov     bx,ss:+2H[bx]
  709.  067b  b4 43                             mov     ah,43H
  710.  067d  cd 67                             int     67H
  711.  067f  0a e4                             or      ah,ah
  712.  0681  8b c2                             mov     ax,dx
  713.  0683  74 03                             je      L90
  714.  0685  b8 ff ff                          mov     ax,0ffffH
  715.  0688  c2 02 00          L90             ret     0002H
  716.  068b  8b dc             OVERMGR_007     mov     bx,sp
  717.  068d  36 8a 47 02                       mov     al,ss:+2H[bx]
  718.  0691  36 8b 57 06                       mov     dx,ss:+6H[bx]
  719.  0695  36 8b 5f 04                       mov     bx,ss:+4H[bx]
  720.  0699  b4 44                             mov     ah,44H
  721.  069b  cd 67                             int     67H
  722.  069d  80 fc 00                          cmp     ah,00H
  723.  06a0  b8 01 00                          mov     ax,0001H
  724.  06a3  74 01                             je      L91
  725.  06a5  48                                dec     ax
  726.  06a6  0b c0             L91             or      ax,ax
  727.  06a8  c2 06 00                          ret     0006H
  728.  06ab  8b dc             OVERMGR_008     mov     bx,sp
  729.  06ad  36 8b 57 02                       mov     dx,ss:+2H[bx]
  730.  06b1  b4 45                             mov     ah,45H
  731.  06b3  cd 67                             int     67H
  732.  06b5  c2 02 00                          ret     0002H
  733.  06b8  fc                OVERMGR_00B     cld     
  734.  06b9  1e                                push    ds
  735.  06ba  1e                                push    ds
  736.  06bb  0e                                push    cs
  737.  06bc  1f                                pop     ds
  738.  06bd  07                                pop     es
  739.  06be  be 00 00                          mov     si,offset OVERMGR_003
  740.  06c1  33 f6                             xor     si,si
  741.  06c3  bf 00 00                          mov     di,offset L165
  742.  06c6  e8 00 00                          call    L96
  743.  06c9  be 00 00                          mov     si,offset L88
  744.  06cc  bf 00 00                          mov     di,offset L165
  745.  06cf  b9 0d 00                          mov     cx,000dH
  746.  06d2  f3 a6                             repe    cmpsb    
  747.  06d4  1f                                pop     ds
  748.  06d5  75 03                             jne     L92
  749.  06d7  b0 03                             mov     al,03H
  750.  06d9  c3                                ret     
  751.  06da  be 00 00          L92             mov     si,offset L165
  752.  06dd  bf 00 00                          mov     di,offset L137
  753.  06e0  e8 00 00                          call    L101
  754.  06e3  e8 00 00                          call    L95
  755.  06e6  73 24                             jae     L94
  756.  06e8  80 3e 00 00 00                    cmp     byte ptr PATCHOVERPATH,00H
  757.  06ed  74 0e                             je      L93
  758.  06ef  be 00 00                          mov     si,offset PATCHOVERPATH
  759.  06f2  bf 00 00                          mov     di,offset L137
  760.  06f5  e8 00 00                          call    L96
  761.  06f8  e8 00 00                          call    L95
  762.  06fb  73 0f                             jae     L94
  763.  06fd  b4 30             L93             mov     ah,30H
  764.  06ff  cd 21                             int     21H
  765.  0701  fc                                cld     
  766.  0702  80 fc 03                          cmp     ah,03H
  767.  0705  72 4c                             jb      L103
  768.  0707  e8 00 00                          call    L112
  769.  070a  72 47                             jb      L103
  770.  070c  be 00 00          L94             mov     si,offset OVERLAYPATH
  771.  070f  e8 00 00                          call    L98
  772.  0712  b0 00                             mov     al,00H
  773.  0714  c3                                ret     
  774.  0715  ba 00 00          L95             mov     dx,offset L137
  775.  0718  b8 00 43                          mov     ax,4300H
  776.  071b  cd 21                             int     21H
  777.  071d  fc                                cld     
  778.  071e  c3                                ret     
  779.  071f  ac                L96             lodsb   
  780.  0720  8a c8                             mov     cl,al
  781.  0722  32 ed                             xor     ch,ch
  782.  0724  e3 02                             jcxz    L97
  783.  0726  f3 a4                             repe    movsb    
  784.  0728  32 c0             L97             xor     al,al
  785.  072a  aa                                stosb   
  786.  072b  c3                                ret     
  787.  072c  8b de             L98             mov     bx,si
  788.  072e  33 c9                             xor     cx,cx
  789.  0730  46                L99             inc     si
  790.  0731  80 3c 00                          cmp     byte ptr [si],00H
  791.  0734  74 03                             je      L100
  792.  0736  41                                inc     cx
  793.  0737  eb f7                             jmp     L99
  794.  0739  88 0f             L100            mov     [bx],cl
  795.  073b  c3                                ret     
  796.  073c  ac                L101            lodsb   
  797.  073d  aa                                stosb   
  798.  073e  0a c0                             or      al,al
  799.  0740  75 fa                             jne     L101
  800.  0742  c3                                ret     
  801.  0743  8e 06 00 00       L102            mov     es,SYSTEM_BSS+200H
  802.  0747  26 8e 06 2c 00                    mov     es,es:[0000002cH]
  803.  074c  1e                                push    ds
  804.  074d  06                                push    es
  805.  074e  1f                                pop     ds
  806.  074f  07                                pop     es
  807.  0750  33 f6                             xor     si,si
  808.  0752  c3                                ret     
  809.  0753  e8 00 00          L103            call    L102
  810.  0756  bf 00 00          L104            mov     di,offset L135
  811.  0759  b9 05 00                          mov     cx,0005H
  812.  075c  f3 a6                             repe    cmpsb    
  813.  075e  74 10                             je      L107
  814.  0760  4e                                dec     si
  815.  0761  ac                L105            lodsb   
  816.  0762  0a c0                             or      al,al
  817.  0764  75 fb                             jne     L105
  818.  0766  80 3c 00                          cmp     byte ptr [si],00H
  819.  0769  75 eb                             jne     L104
  820.  076b  06                L106            push    es
  821.  076c  1f                                pop     ds
  822.  076d  b0 02                             mov     al,02H
  823.  076f  c3                                ret     
  824.  0770  bf 00 00          L107            mov     di,offset L137
  825.  0773  32 c0                             xor     al,al
  826.  0775  8a e0             L108            mov     ah,al
  827.  0777  ac                                lodsb   
  828.  0778  3c 3b                             cmp     al,3bH
  829.  077a  74 07                             je      L109
  830.  077c  0a c0                             or      al,al
  831.  077e  74 03                             je      L109
  832.  0780  aa                                stosb   
  833.  0781  eb f2                             jmp     L108
  834.  0783  8a d8             L109            mov     bl,al
  835.  0785  b0 5c                             mov     al,5cH
  836.  0787  3a e0                             cmp     ah,al
  837.  0789  74 01                             je      L110
  838.  078b  aa                                stosb   
  839.  078c  1e                L110            push    ds
  840.  078d  56                                push    si
  841.  078e  06                                push    es
  842.  078f  1f                                pop     ds
  843.  0790  be 00 00                          mov     si,offset L165
  844.  0793  e8 00 00                          call    L101
  845.  0796  e8 00 00                          call    L95
  846.  0799  5e                                pop     si
  847.  079a  1f                                pop     ds
  848.  079b  73 06                             jae     L111
  849.  079d  0a db                             or      bl,bl
  850.  079f  75 cf                             jne     L107
  851.  07a1  eb c8                             jmp     L106
  852.  07a3  06                L111            push    es
  853.  07a4  1f                                pop     ds
  854.  07a5  be 00 00                          mov     si,offset OVERLAYPATH
  855.  07a8  e8 00 00                          call    L98
  856.  07ab  b0 00                             mov     al,00H
  857.  07ad  c3                                ret     
  858.  07ae  e8 00 00          L112            call    L102
  859.  07b1  ac                L113            lodsb   
  860.  07b2  0a c0                             or      al,al
  861.  07b4  75 fb                             jne     L113
  862.  07b6  ac                                lodsb   
  863.  07b7  0a c0                             or      al,al
  864.  07b9  75 f6                             jne     L113
  865.  07bb  83 c6 02                          add     si,0002H
  866.  07be  bf 00 00                          mov     di,offset L137
  867.  07c1  e8 00 00                          call    L101
  868.  07c4  06                                push    es
  869.  07c5  1f                                pop     ds
  870.  07c6  4f                L114            dec     di
  871.  07c7  81 ff 00 00                       cmp     di,offset L137
  872.  07cb  72 05                             jb      L115
  873.  07cd  80 3d 5c                          cmp     byte ptr [di],5cH
  874.  07d0  75 f4                             jne     L114
  875.  07d2  47                L115            inc     di
  876.  07d3  be 00 00                          mov     si,offset L165
  877.  07d6  e8 00 00                          call    L101
  878.  07d9  e8 00 00                          call    L95
  879.  07dc  c3                                ret     
  880.  07dd  55                OVERMGR_009     push    bp
  881.  07de  8b ec                             mov     bp,sp
  882.  07e0  8a 46 08                          mov     al,+8H[bp]
  883.  07e3  b4 35                             mov     ah,35H
  884.  07e5  cd 21                             int     21H
  885.  07e7  8c c0                             mov     ax,es
  886.  07e9  c4 7e 04                          les     di,dword ptr +4H[bp]
  887.  07ec  26 89 1d                          mov     es:[di],bx
  888.  07ef  26 89 45 02                       mov     es:+2H[di],ax
  889.  07f3  8b e5                             mov     sp,bp
  890.  07f5  5d                                pop     bp
  891.  07f6  c2 06 00                          ret     0006H
  892.  07f9  8b dc             OVERMGR_00A     mov     bx,sp
  893.  07fb  1e                                push    ds
  894.  07fc  36 c5 57 02                       lds     dx,dword ptr ss:+2H[bx]
  895.  0800  36 8a 47 06                       mov     al,ss:+6H[bx]
  896.  0804  b4 25                             mov     ah,25H
  897.  0806  cd 21                             int     21H
  898.  0808  1f                                pop     ds
  899.  0809  c2 06 00                          ret     0006H
  900.  080c  b0 02             L116            mov     al,02H
  901.  080e  e9 00 00                          jmp     L128
  902.  0811  89 1e 00 00       L117            mov     L161,bx
  903.  0815  d1 e3                             shl     bx,1
  904.  0817  ff b7 00 00                       push    L141[bx]
  905.  081b  d1 e3                             shl     bx,1
  906.  081d  8b 97 00 00                       mov     dx,L139[bx]
  907.  0821  8b 8f 00 00                       mov     cx,L140[bx]
  908.  0825  80 3e 00 00 00                    cmp     byte ptr USINGEMS,00H
  909.  082a  75 21                             jne     L118
  910.  082c  8b 1e 00 00                       mov     bx,OVERF
  911.  0830  b8 00 42                          mov     ax,4200H
  912.  0833  cd 21                             int     21H
  913.  0835  59                                pop     cx
  914.  0836  72 d4                             jb      L116
  915.  0838  1e                                push    ds
  916.  0839  8e 1e 00 00                       mov     ds,L160
  917.  083d  33 d2                             xor     dx,dx
  918.  083f  b4 3f                             mov     ah,3fH
  919.  0841  cd 21                             int     21H
  920.  0843  1f                                pop     ds
  921.  0844  72 c6                             jb      L116
  922.  0846  3b c1                             cmp     ax,cx
  923.  0848  75 c2                             jne     L116
  924.  084a  e9 00 00                          jmp     L123
  925.  084d  8f 06 00 00       L118            pop     L162
  926.  0851  8b c2                             mov     ax,dx
  927.  0853  8b d1                             mov     dx,cx
  928.  0855  b9 00 40                          mov     cx,4000H
  929.  0858  f7 f1                             div     cx
  930.  085a  8b f2                             mov     si,dx
  931.  085c  8b d8                             mov     bx,ax
  932.  085e  33 d2                             xor     dx,dx
  933.  0860  8b c6                             mov     ax,si
  934.  0862  03 06 00 00                       add     ax,L162
  935.  0866  83 d2 00                          adc     dx,0000H
  936.  0869  a3 00 00                          mov     L163,ax
  937.  086c  89 16 00 00                       mov     L164,dx
  938.  0870  f7 f1                             div     cx
  939.  0872  0b d2                             or      dx,dx
  940.  0874  74 01                             je      L119
  941.  0876  40                                inc     ax
  942.  0877  8b c8             L119            mov     cx,ax
  943.  0879  8b 16 00 00                       mov     dx,L158
  944.  087d  b4 47                             mov     ah,47H
  945.  087f  cd 67                             int     67H
  946.  0881  0a e4                             or      ah,ah
  947.  0883  75 74                             jne     L126
  948.  0885  8e 06 00 00                       mov     es,L160
  949.  0889  33 ff                             xor     di,di
  950.  088b  fc                                cld     
  951.  088c  32 c0             L120            xor     al,al
  952.  088e  b4 44                             mov     ah,44H
  953.  0890  cd 67                             int     67H
  954.  0892  0a e4                             or      ah,ah
  955.  0894  75 63                             jne     L126
  956.  0896  51                                push    cx
  957.  0897  83 3e 00 00 00                    cmp     word ptr L164,0000H
  958.  089c  75 0a                             jne     L121
  959.  089e  8b 0e 00 00                       mov     cx,L163
  960.  08a2  81 f9 00 40                       cmp     cx,4000H
  961.  08a6  76 03                             jbe     L122
  962.  08a8  b9 00 40          L121            mov     cx,4000H
  963.  08ab  2b ce             L122            sub     cx,si
  964.  08ad  1e                                push    ds
  965.  08ae  8e 1e 00 00                       mov     ds,L157
  966.  08b2  f3 a4                             repe    movsb    
  967.  08b4  1f                                pop     ds
  968.  08b5  81 2e 00 00 00 40                 sub     word ptr L163,4000H
  969.  08bb  83 1e 00 00 00                    sbb     word ptr L164,0000H
  970.  08c0  33 f6                             xor     si,si
  971.  08c2  43                                inc     bx
  972.  08c3  59                                pop     cx
  973.  08c4  e2 c6                             loop    L120
  974.  08c6  b4 48                             mov     ah,48H
  975.  08c8  cd 67                             int     67H
  976.  08ca  0a e4                             or      ah,ah
  977.  08cc  75 2b                             jne     L126
  978.  08ce  8b 1e 00 00       L123            mov     bx,L161
  979.  08d2  d1 e3                             shl     bx,1
  980.  08d4  8b 8f 00 00                       mov     cx,L144[bx]
  981.  08d8  e3 1e                             jcxz    L125
  982.  08da  8b 97 00 00                       mov     dx,L145[bx]
  983.  08de  8e 06 00 00                       mov     es,L160
  984.  08e2  8b 1e 00 00                       mov     bx,L154
  985.  08e6  1e                                push    ds
  986.  08e7  c5 36 00 00                       lds     si,dword ptr L151
  987.  08eb  03 f2                             add     si,dx
  988.  08ed  8b 3c             L124            mov     di,[si]
  989.  08ef  26 01 1d                          add     es:[di],bx
  990.  08f2  83 c6 02                          add     si,0002H
  991.  08f5  e2 f6                             loop    L124
  992.  08f7  1f                                pop     ds
  993.  08f8  c3                L125            ret     
  994.  08f9  b0 03             L126            mov     al,03H
  995.  08fb  eb 02                             jmp     L128
  996.  08fd  b0 01             L127            mov     al,01H
  997.  08ff  50                L128            push    ax
  998.  0900  e8 00 00                          call    OVERMGR_004
  999.  0903  cd 20                             int     20H
  1000.  0905  5e                OVERMGR_00C     pop     si
  1001.  0906  07                                pop     es
  1002.  0907  9d                                popf    
  1003.  0908  26 8a 1c                          mov     bl,es:[si]
  1004.  090b  32 ff                             xor     bh,bh
  1005.  090d  26 8b 44 01                       mov     ax,es:+1H[si]
  1006.  0911  a3 00 00                          mov     L159,ax
  1007.  0914  83 c6 03                          add     si,0003H
  1008.  0917  8c c0                             mov     ax,es
  1009.  0919  c4 3e 00 00                       les     di,dword ptr L149
  1010.  091d  83 ef 06                          sub     di,0006H
  1011.  0920  72 db                             jb      L127
  1012.  0922  89 3e 00 00                       mov     L149,di
  1013.  0926  26 89 35                          mov     es:[di],si
  1014.  0929  26 89 45 02                       mov     es:+2H[di],ax
  1015.  092d  8a 87 00 00                       mov     al,L142[bx]
  1016.  0931  26 88 45 04                       mov     es:+4H[di],al
  1017.  0935  26 88 5d 05                       mov     es:+5H[di],bl
  1018.  0939  32 e4                             xor     ah,ah
  1019.  093b  8b f0                             mov     si,ax
  1020.  093d  8b fe                             mov     di,si
  1021.  093f  d1 e7                             shl     di,1
  1022.  0941  8a 84 00 00                       mov     al,L147[si]
  1023.  0945  8b 95 00 00                       mov     dx,L143[di]
  1024.  0949  89 16 00 00                       mov     L160,dx
  1025.  094d  3a d8                             cmp     bl,al
  1026.  094f  74 07                             je      L129
  1027.  0951  88 9c 00 00                       mov     L147[si],bl
  1028.  0955  e8 00 00                          call    L117
  1029.  0958  ff 1e 00 00       L129            call    dword ptr L159
  1030.  095c  50                                push    ax
  1031.  095d  53                                push    bx
  1032.  095e  52                                push    dx
  1033.  095f  c4 3e 00 00                       les     di,dword ptr L149
  1034.  0963  83 06 00 00 06                    add     word ptr L149,0006H
  1035.  0968  26 8a 45 04                       mov     al,es:+4H[di]
  1036.  096c  32 e4                             xor     ah,ah
  1037.  096e  8b f0                             mov     si,ax
  1038.  0970  8a 9c 00 00                       mov     bl,L147[si]
  1039.  0974  8b 16 00 00                       mov     dx,L156
  1040.  0978  57                                push    di
  1041.  0979  eb 27                             jmp     L131
  1042.  097b  26 38 45 04       L130            cmp     es:+4H[di],al
  1043.  097f  75 21                             jne     L131
  1044.  0981  26 38 5d 05                       cmp     es:+5H[di],bl
  1045.  0985  74 22                             je      L132
  1046.  0987  26 8a 5d 05                       mov     bl,es:+5H[di]
  1047.  098b  88 9c 00 00                       mov     L147[si],bl
  1048.  098f  32 ff                             xor     bh,bh
  1049.  0991  d1 e6                             shl     si,1
  1050.  0993  8b 94 00 00                       mov     dx,L143[si]
  1051.  0997  89 16 00 00                       mov     L160,dx
  1052.  099b  06                                push    es
  1053.  099c  e8 00 00                          call    L117
  1054.  099f  07                                pop     es
  1055.  09a0  eb 07                             jmp     L132
  1056.  09a2  83 c7 06          L131            add     di,0006H
  1057.  09a5  3b fa                             cmp     di,dx
  1058.  09a7  72 d2                             jb      L130
  1059.  09a9  5f                L132            pop     di
  1060.  09aa  5a                                pop     dx
  1061.  09ab  5b                                pop     bx
  1062.  09ac  58                                pop     ax
  1063.  09ad  26 ff 2d                          jmp     dword ptr es:[di]
  1064.  
  1065. No disassembly errors
  1066.  
  1067. ------------------------------------------------------------
  1068.  
  1069. Segment: _DATA  WORD   000000ac bytes  
  1070.  0000                          OVERMGR_DATA    - 
  1071.  0000  12 4f 56 45 52 4c 41 59 PATCHID         - .OVERLAY
  1072.  0008  20 50 41 54 43 48 20 41                 -  PATCH A
  1073.  0010  52 45 41                                - REA
  1074.  0013  00 31 32 33 34 35 36 37 PATCHOVERPATH   - .1234567
  1075.  001b  38 39 30 31 32 33 34 35                 - 89012345
  1076.  0023  36 37 38 39 30 31 32 33                 - 67890123
  1077.  002b  34 35 36 37 38 39 30 31                 - 45678901
  1078.  0033  32 33 34 35 36 37 38 39                 - 23456789
  1079.  003b  30 31 32 33 34 35 36 37                 - 01234567
  1080.  0043  38 39 30 31 32 33 34 35                 - 89012345
  1081.  004b  36 37 38 39 30 31 32 33                 - 67890123
  1082.  0053  34                                      - 4
  1083.  0054  90 01                   PATCHSTACKSIZE  - ..
  1084.  0056  01                      PATCHCHECKEMS   - .
  1085.  0057  87 11                   L133            - ..
  1086.  0059  00 01                   L134            - ..
  1087.  005b  50 41 54 48 3d 4b 54 75 L135            - PATH=KTu
  1088.  0063  72 62 6f 20 50 61 73 63                 - rbo Pasc
  1089.  006b  61 6c 20 34 2e 30 20 4f                 - al 4.0 O
  1090.  0073  76 65 72 6c 61 79 20 53                 - verlay S
  1091.  007b  79 73 74 65 6d 20 34 2e                 - ystem 4.
  1092.  0083  30 2e 20 43 6f 70 79 72                 - 0. Copyr
  1093.  008b  69 67 68 74 20 28 63 29                 - ight (c)
  1094.  0093  20 31 39 38 37 20 54 75                 -  1987 Tu
  1095.  009b  72 62 6f 50 6f 77 65 72                 - rboPower
  1096.  00a3  20 53 6f 66 74 77 61 72                 -  Softwar
  1097.  00ab  65                                      - e
  1098.  
  1099. No disassembly errors
  1100.  
  1101. ------------------------------------------------------------
  1102.  
  1103. Segment: _BSS  WORD   00000355 bytes  
  1104.  
  1105. No disassembly errors
  1106.  
  1107. ------------------------------------------------------------
  1108.