home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / t / tp6bugs6.zip / DELAY.FIX next >
Text File  |  1992-04-11  |  1KB  |  34 lines

  1. 4)  Delay() patch provided by Borland for 50 MHz 486s:
  2.  
  3. This is a patch for the CRT unit for Turbo Pascal version 6.0. It takes care
  4. of unpredictable DELAY times on computers faster than 30mhz.
  5.  
  6. To patch the CRT unit you need to have TURBO.TPL and TPUMOVER.EXE from
  7. Turbo Pascal 6.0, and DELAYPAT.BAT from this ZIP file all in the
  8. same directory. Also DOS's DEBUG must be in the current directory or
  9. in the current path.
  10.  
  11. MAKE THESE CHANGES TO A COPY OF TURBO.TPL NOT YOUR ORIGNAL!
  12. DO NOT CHANGE YOUR ORIGNAL TURBO.TPL ONLY CHANGE YOUR WORKING COPY!
  13.  
  14. To install the new CRT unit Type: DELAYPAT
  15.  
  16. When the DOS prompt comes back the installation process
  17. is complete.  NOTE: the changes will only affect programs that are compiled
  18. after that patch has been made.
  19.  
  20. [ DELAYPAT.BAT: ]
  21.     Goto Batch
  22.     e 8BB 3E
  23.     e ADC 59 5B 5A 53 51 90
  24.     e AE5 14
  25.     e AF1 0E
  26.     e AF4 E8 04 00 4A 75 F6 CB BB 04 00 4B 75 FD 26 3A 05 E1 F5
  27.     w
  28.     q
  29.     :Batch
  30.     tpumover TURBO.TPL *CRT.TPU
  31.     debug CRT.TPU <Delaypat.BAT
  32.     tpumover TURBO.TPL +CRT.TPU
  33.     del crt.tpu
  34.