home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / tsr / tsrtpu / tsr.dis next >
Encoding:
Text File  |  1994-06-19  |  16.3 KB  |  296 lines

  1.  
  2. Module: TSR.PAS
  3. Group: 'DGROUP' _DATA,_BSS
  4.  
  5. Segment: TSR_TEXT  PARA   000002b8 bytes  
  6.  0000  55                TSR_002         push    bp
  7.  0001  89 e5                             mov     bp,sp
  8.  0003  31 c0                             xor     ax,ax
  9.  0005  9a 00 00 00 00                    call    far SYSTEM_034
  10.  000a  ff 5e 04                          call    dword ptr +4H[bp]
  11.  000d  89 ec                             mov     sp,bp
  12.  000f  5d                                pop     bp
  13.  0010  c2 04 00                          ret     0004H
  14.  0013  50                TSR_003         push    ax
  15.  0014  53                                push    bx
  16.  0015  51                                push    cx
  17.  0016  52                                push    dx
  18.  0017  56                                push    si
  19.  0018  57                                push    di
  20.  0019  1e                                push    ds
  21.  001a  06                                push    es
  22.  001b  55                                push    bp
  23.  001c  89 e5                             mov     bp,sp
  24.  001e  83 ec 15                          sub     sp,0015H
  25.  0021  b8 00 00                          mov     ax,seg INSTALLEDPROC
  26.  0024  8e d8                             mov     ds,ax
  27.  0026  80 7e 11 00                       cmp     byte ptr +11H[bp],00H
  28.  002a  75 06                             jne     L1
  29.  002c  c6 46 ff 01                       mov     byte ptr -1H[bp],01H
  30.  0030  eb 04                             jmp     L2
  31.  0032  c6 46 ff 00       L1              mov     byte ptr -1H[bp],00H
  32.  0036  8b 46 10          L2              mov     ax,+10H[bp]
  33.  0039  89 46 eb                          mov     -15H[bp],ax
  34.  003c  a0 00 00                          mov     al,L29
  35.  003f  50                                push    ax
  36.  0040  8d 7e eb                          lea     di,-15H[bp]
  37.  0043  16                                push    ss
  38.  0044  57                                push    di
  39.  0045  9a 00 00 00 00                    call    far DOS_001
  40.  004a  8b 46 fd                          mov     ax,-3H[bp]
  41.  004d  89 46 16                          mov     +16H[bp],ax
  42.  0050  8b 46 eb                          mov     ax,-15H[bp]
  43.  0053  89 46 10                          mov     +10H[bp],ax
  44.  0056  80 7e ff 00                       cmp     byte ptr -1H[bp],00H
  45.  005a  74 35                             je      L3
  46.  005c  80 3e 00 00 00                    cmp     byte ptr L30,00H
  47.  0061  75 2e                             jne     L3
  48.  0063  a0 00 00                          mov     al,HOTSCANCODE
  49.  0066  30 e4                             xor     ah,ah
  50.  0068  b9 08 00                          mov     cx,0008H
  51.  006b  d3 e0                             shl     ax,cl
  52.  006d  3b 46 10                          cmp     ax,+10H[bp]
  53.  0070  75 1f                             jne     L3
  54.  0072  c6 06 00 00 00                    mov     byte ptr CRT_BSS,00H
  55.  0077  c6 06 00 00 01                    mov     byte ptr L30,01H
  56.  007c  ff 36 00 00                       push    L26
  57.  0080  ff 36 00 00                       push    INSTALLEDPROC
  58.  0084  e8 00 00                          call    TSR_002
  59.  0087  c6 06 00 00 00                    mov     byte ptr L30,00H
  60.  008c  c6 06 00 00 01                    mov     byte ptr CRT_BSS,01H
  61.  0091  89 ec             L3              mov     sp,bp
  62.  0093  5d                                pop     bp
  63.  0094  07                                pop     es
  64.  0095  1f                                pop     ds
  65.  0096  5f                                pop     di
  66.  0097  5e                                pop     si
  67.  0098  5a                                pop     dx
  68.  0099  59                                pop     cx
  69.  009a  5b                                pop     bx
  70.  009b  58                                pop     ax
  71.  009c  cf                                iret    
  72.  009d  55                TSR_004         push    bp
  73.  009e  89 e5                             mov     bp,sp
  74.  00a0  b8 07 00                          mov     ax,0007H
  75.  00a3  9a 00 00 00 00                    call    far SYSTEM_034
  76.  00a8  83 ec 07                          sub     sp,0007H
  77.  00ab  c6 46 fa 00                       mov     byte ptr -6H[bp],00H
  78.  00af  c6 46 f9 5f                       mov     byte ptr -7H[bp],5fH
  79.  00b3  fe 46 f9          L4              inc     byte ptr -7H[bp]
  80.  00b6  31 c0                             xor     ax,ax
  81.  00b8  50                                push    ax
  82.  00b9  8a 46 f9                          mov     al,-7H[bp]
  83.  00bc  30 e4                             xor     ah,ah
  84.  00be  b9 02 00                          mov     cx,0002H
  85.  00c1  d3 e0                             shl     ax,cl
  86.  00c3  05 02 00                          add     ax,0002H
  87.  00c6  8b f8                             mov     di,ax
  88.  00c8  07                                pop     es
  89.  00c9  26 8b 05                          mov     ax,es:[di]
  90.  00cc  89 46 fd                          mov     -3H[bp],ax
  91.  00cf  31 c0                             xor     ax,ax
  92.  00d1  50                                push    ax
  93.  00d2  8a 46 f9                          mov     al,-7H[bp]
  94.  00d5  30 e4                             xor     ah,ah
  95.  00d7  b9 02 00                          mov     cx,0002H
  96.  00da  d3 e0                             shl     ax,cl
  97.  00dc  8b f8                             mov     di,ax
  98.  00de  07                                pop     es
  99.  00df  26 8b 05                          mov     ax,es:[di]
  100.  00e2  89 46 fb                          mov     -5H[bp],ax
  101.  00e5  83 7e fd 00                       cmp     word ptr -3H[bp],0000H
  102.  00e9  75 0a                             jne     L5
  103.  00eb  83 7e fb 00                       cmp     word ptr -5H[bp],0000H
  104.  00ef  75 04                             jne     L5
  105.  00f1  c6 46 fa 01                       mov     byte ptr -6H[bp],01H
  106.  00f5  80 7e f9 80       L5              cmp     byte ptr -7H[bp],80H
  107.  00f9  74 06                             je      L6
  108.  00fb  80 7e fa 00                       cmp     byte ptr -6H[bp],00H
  109.  00ff  74 b2                             je      L4
  110.  0101  80 7e fa 00       L6              cmp     byte ptr -6H[bp],00H
  111.  0105  74 08                             je      L7
  112.  0107  8a 46 f9                          mov     al,-7H[bp]
  113.  010a  88 46 ff                          mov     -1H[bp],al
  114.  010d  eb 04                             jmp     L8
  115.  010f  c6 46 ff 00       L7              mov     byte ptr -1H[bp],00H
  116.  0113  8a 46 ff          L8              mov     al,-1H[bp]
  117.  0116  89 ec                             mov     sp,bp
  118.  0118  5d                                pop     bp
  119.  0119  c3                                ret     
  120.  011a  36 59             L9              pop     cx
  121.  011c  6f                                outsw   
  122.  011d  75 20                             jne     L10
  123.  011f  6e                                outsb   
  124.  0120  65 65 64 20 61 74                 and     fs:+74H[bx+di],ah
  125.  0126  20 6c 65                          and     +65H[si],ch
  126.  0129  61                                popa    
  127.  012a  73 74                             jae     L15
  128.  012c  20 4d 53                          and     +53H[di],cl
  129.  012f  2d 44 4f                          sub     ax,4f44H
  130.  0132  53                                push    bx
  131.  0133  20 76 65                          and     +65H[bp],dh
  132.  0136  72 73                             jb      L16
  133.  0138  69 6f 6e 20 32                    imul    bp,+6eH[bx],3220H
  134.  013d  20 74 6f                          and     +6fH[si],dh
  135.  0140  20 72 75                          and     +75H[bp+si],dh
  136.  0143  6e                                outsb   
  137.  0144  20 74 68                          and     +68H[si],dh
  138.  0147  69 73 20 70 72                    imul    si,+20H[bp+di],7270H
  139.  014c  6f                                outsw   
  140.  014d  67 72 61                          jb      L17
  141.  0150  6d                                insw    
  142.  0151  19 54 68          L11             sbb     +68H[si],dx
  143.  0154  61                                popa    
  144.  0155  74 27                             je      L13
  145.  0157  73 20                             jae     L12
  146.  0159  61                                popa    
  147.  015a  6c                                insb    
  148.  015b  72 65                             jb      L21
  149.  015d  61                                popa    
  150.  015e  64 79 20                          jns     L14
  151.  0161  69 6e 20 6d 65                    imul    bp,+20H[bp],656dH
  152.  0166  6d                                insw    
  153.  0167  6f                                outsw   
  154.  0168  72 79                             jb      L22
  155.  016a  21 55 89                          and     -77H[di],dx
  156.  016d  e5 b8                             in      ax,0b8H
  157.  016f  20 00                             and     [bx+si],al
  158.  0171  9a 00 00 00 00                    call    far SYSTEM_034
  159.  0176  83 ec 20                          sub     sp,0020H
  160.  0179  c6 46 ed 30       L12             mov     byte ptr -13H[bp],30H
  161.  017d  8d 7e ec                          lea     di,-14H[bp]
  162.  0180  16                                push    ss
  163.  0181  57                L14             push    di
  164.  0182  9a 00 00 00 00                    call    far DOS_002
  165.  0187  80 7e ec 00                       cmp     byte ptr -14H[bp],00H
  166.  018b  75 24                             jne     L17
  167.  018d  bf 00 00                          mov     di,offset SYSTEM_BSS+100H
  168.  0190  1e                                push    ds
  169.  0191  57                                push    di
  170.  0192  bf 00 00                          mov     di,offset L9
  171.  0195  0e                                push    cs
  172.  0196  57                                push    di
  173.  0197  31 c0                             xor     ax,ax
  174.  0199  50                                push    ax
  175.  019a  9a 00 00 00 00                    call    far SYSTEM_036
  176.  019f  9a 00 00 00 00                    call    far SYSTEM_03B
  177.  01a4  9a 00 00 00 00                    call    far SYSTEM_032
  178.  01a9  b8 01 00                          mov     ax,0001H
  179.  01ac  9a 00 00 00 00                    call    far SYSTEM_003
  180.  01b1  c6 46 e7 5f       L17             mov     byte ptr -19H[bp],5fH
  181.  01b5  fe 46 e7          L18             inc     byte ptr -19H[bp]
  182.  01b8  c6 46 e0 00                       mov     byte ptr -20H[bp],00H
  183.  01bc  eb 03                             jmp     L20
  184.  01be  fe 46 e0          L19             inc     byte ptr -20H[bp]
  185.  01c1  31 c0             L20             xor     ax,ax
  186.  01c3  50                                push    ax
  187.  01c4  8a 46 e0                          mov     al,-20H[bp]
  188.  01c7  30 e4                             xor     ah,ah
  189.  01c9  8b d0                             mov     dx,ax
  190.  01cb  8a 46 e7                          mov     al,-19H[bp]
  191.  01ce  30 e4                             xor     ah,ah
  192.  01d0  b9 02 00                          mov     cx,0002H
  193.  01d3  d3 e0                             shl     ax,cl
  194.  01d5  03 c2                             add     ax,dx
  195.  01d7  8b f8                             mov     di,ax
  196.  01d9  07                                pop     es
  197.  01da  26 8a 15                          mov     dl,es:[di]
  198.  01dd  8a 46 e0                          mov     al,-20H[bp]
  199.  01e0  30 e4                             xor     ah,ah
  200.  01e2  40                                inc     ax
  201.  01e3  8b f8             L22             mov     di,ax
  202.  01e5  88 53 e1                          mov     -1fH[bp+di],dl
  203.  01e8  80 7e e0 03                       cmp     byte ptr -20H[bp],03H
  204.  01ec  75 d0                             jne     L19
  205.  01ee  c6 46 e1 04                       mov     byte ptr -1fH[bp],04H
  206.  01f2  8d 7e e1                          lea     di,-1fH[bp]
  207.  01f5  16                                push    ss
  208.  01f6  57                                push    di
  209.  01f7  bf 00 00                          mov     di,offset TSRSIGN
  210.  01fa  1e                                push    ds
  211.  01fb  57                                push    di
  212.  01fc  9a 00 00 00 00                    call    far SYSTEM_011
  213.  0201  75 24                             jne     L23
  214.  0203  bf 00 00                          mov     di,offset SYSTEM_BSS+100H
  215.  0206  1e                                push    ds
  216.  0207  57                                push    di
  217.  0208  bf 00 00                          mov     di,offset L11
  218.  020b  0e                                push    cs
  219.  020c  57                                push    di
  220.  020d  31 c0                             xor     ax,ax
  221.  020f  50                                push    ax
  222.  0210  9a 00 00 00 00                    call    far SYSTEM_036
  223.  0215  9a 00 00 00 00                    call    far SYSTEM_03B
  224.  021a  9a 00 00 00 00                    call    far SYSTEM_032
  225.  021f  b8 02 00                          mov     ax,0002H
  226.  0222  9a 00 00 00 00                    call    far SYSTEM_003
  227.  0227  80 7e e7 80       L23             cmp     byte ptr -19H[bp],80H
  228.  022b  75 88                             jne     L18
  229.  022d  b0 16                             mov     al,16H
  230.  022f  50                                push    ax
  231.  0230  bf 00 00                          mov     di,offset L27
  232.  0233  1e                                push    ds
  233.  0234  57                                push    di
  234.  0235  9a 00 00 00 00                    call    far DOS_011
  235.  023a  b0 16                             mov     al,16H
  236.  023c  50                                push    ax
  237.  023d  b8 00 00                          mov     ax,offset TSR_003
  238.  0240  8c ca                             mov     dx,cs
  239.  0242  52                                push    dx
  240.  0243  50                                push    ax
  241.  0244  9a 00 00 00 00                    call    far DOS_012
  242.  0249  e8 00 00                          call    TSR_004
  243.  024c  a2 00 00                          mov     L29,al
  244.  024f  a0 00 00                          mov     al,L29
  245.  0252  50                                push    ax
  246.  0253  ff 36 00 00                       push    L28
  247.  0257  ff 36 00 00                       push    L27
  248.  025b  9a 00 00 00 00                    call    far DOS_012
  249.  0260  e8 00 00                          call    TSR_004
  250.  0263  88 46 e6                          mov     -1aH[bp],al
  251.  0266  c6 46 e0 00                       mov     byte ptr -20H[bp],00H
  252.  026a  eb 03                             jmp     L25
  253.  026c  fe 46 e0          L24             inc     byte ptr -20H[bp]
  254.  026f  8a 46 e0          L25             mov     al,-20H[bp]
  255.  0272  30 e4                             xor     ah,ah
  256.  0274  40                                inc     ax
  257.  0275  8b f8                             mov     di,ax
  258.  0277  8a 9d 00 00                       mov     bl,TSRSIGN[di]
  259.  027b  31 c0                             xor     ax,ax
  260.  027d  50                                push    ax
  261.  027e  8a 46 e0                          mov     al,-20H[bp]
  262.  0281  30 e4                             xor     ah,ah
  263.  0283  8b d0                             mov     dx,ax
  264.  0285  8a 46 e6                          mov     al,-1aH[bp]
  265.  0288  30 e4                             xor     ah,ah
  266.  028a  b9 02 00                          mov     cx,0002H
  267.  028d  d3 e0                             shl     ax,cl
  268.  028f  03 c2                             add     ax,dx
  269.  0291  8b f8                             mov     di,ax
  270.  0293  07                                pop     es
  271.  0294  26 88 1d                          mov     es:[di],bl
  272.  0297  80 7e e0 03                       cmp     byte ptr -20H[bp],03H
  273.  029b  75 cf                             jne     L24
  274.  029d  31 c0                             xor     ax,ax
  275.  029f  50                                push    ax
  276.  02a0  9a 00 00 00 00                    call    far DOS_013
  277.  02a5  89 ec                             mov     sp,bp
  278.  02a7  5d                                pop     bp
  279.  02a8  cb                                retf    
  280.  02a9                    TSR_000:
  281.  02a9  89 e5             TSR_INIT        mov     bp,sp
  282.  02ab  c6 06 00 00 00                    mov     byte ptr L30,00H
  283.  02b0  c6 06 00 00 68                    mov     byte ptr HOTSCANCODE,68H
  284.  02b5  89 ec                             mov     sp,bp
  285.  02b7  cb                                retf    
  286.  
  287. No disassembly errors
  288.  
  289. ------------------------------------------------------------
  290.  
  291. Segment: _BSS  WORD   00000014 bytes  
  292.  
  293. No disassembly errors
  294.  
  295. ------------------------------------------------------------
  296.