home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / TECLADO / TSRFIX.ZIP / TSRFIX.TXT
Encoding:
Text File  |  1990-11-29  |  1.0 KB  |  22 lines

  1.                         T  S  R    F I X
  2.                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3.    Some older TSRs do not properly check the interrupt 16H function
  4.    code in the AH register when used on an AT with the 101 keyboard
  5.    and AT 101 keyboard Bios.  Although the TSR will work fine on
  6.    an XT, it ceases to "see" the HotKey on the AT 101 keyboard.
  7.  
  8.    Fortunately there is a patch for this.  The command in these
  9.    older TSRs that is causing the problem is CMP AH,00H which
  10.    should be replaced with TEST AH,0EFH.
  11.  
  12.    The machine code for CMP  AH,00H is 80H FCH 00H, and you can
  13.    search the EXE or COM file for the three byte sequence with
  14.    DEBUG, PCTOOLS, etc,.  When you see the 80 FC 00 sequence in
  15.    the code, you can replace it with F6 C4 EF (F6H C4H EFH).
  16.    The TSR then should work in both 84-key and 101-key environments.
  17.    This code sequence is very close to the begining of the TSR.
  18.    When you see this:               Replace it with this:
  19.  
  20.       80 FC 00                            F6 C4 EF
  21.  
  22.