Patch Turbo Pascal 7.0. Uses CRT; Begin Clrscr. Karna Turbo Pascal 7 itu dibuat masih jamannya 486 lah (:D heheh itu yang saya kenal dulu).


Ctbppat v1.2 © Andreas Stiller [April 2000] ctbppat fixes programs coded in Borland Pascal that cause runtime error 200 on systems with clock speeds of over 200MHz. This error occurs due to incorrect initialisation of the DELAY counter. Ctbppat is also a universal EXE scanner, monitor, and patcher.
It supports the usual EXE formats -- MZ for DOS; NE for OS/2, DPMI, and Windows 3.11; and PE for 32-bit environments -- and can detect the language with which the file was created. Running 'bppatch *.* /s [/p]' will list all file formats in the current directory. If you use the switches /NE, /MZ, or /PE, ctbppat will be restricted to the respective EXE format. This will increase the speed with which it can analyse files. Running in pure DOS mode with SmartDrive (if possible) will also increase analysation speed.
If ctbppat finds an executable made with Borland Pascal 7.0, it will examine the file further to determine if it uses an original or changed CRT unit, whether this unit is already patched, and whether the DELAY function is called at all. (If it is not, patching is unnecessary.) Depending on the result of this examination, ctbppat may offer to patch the file. If the DELAY function is used, it can be fixed by using a different delay routine that should function properly up to ~4GHz.
To do this, the BREAK routine in the CRT unit is shortened and the delay code patched into the free space. If DELAY is not used, the divisor is simply increased to 65535. This will prevent DELAY from operating; however, this will ensure that the program is able to run (theorhetically) on a 300GHz CPU.
If the CRT unit has been changed, but contains the same incorrect initialisation, ctbppat will modify the faulty divisor (255 =>1). Ctbppat only analyses original CRT units -- routines with similar incorrect code in Tool Boxes remain unchanged. However, by running 'ctbppat [filename.ext] /brute', one can force the program to search for the incorrect code but WITHOUT further analysis (which prevents error checking and will then allow the faulty code to be changed). Ctbppat will then allow you to patch the code with the new divisor (the default is 255, but by using the '/BRUTE=XXXX' switch, where XXXX is the divisor in HEX, you can enter your own divisor). When a file is patched, a new file (ex$) is created and the original EXE will then be overwritten (if desired). *** BE SURE TO MAKE BACKUPS OF ALL FILES YOU ARE GOING TO PATCH! *** Although the patch software proceeds quite carefully, a warranty for perfect functionality cannot be given.
Some programs use OVERLAY operations (OVR files), with which patched programs may not work correctly. All output is in an 'international language' in order to make the program somewhat simpler for foreigners.
As a goodie, ctbppat also contains a small file monitor that can dump or disassemble the file content or display the entries and segment lists of the EXE headers (MZ/PE/NE). The disassembler displays file addresses and assigned logical addresses. It supports MMX and 3DNow! TO RUN: 'ctbppat [filename.ext] /mon' PROGRAMMERS! The file contains a modified version of the CRT unit, which should be good for clock speeds up to 300GHz.
Andreas Stiller Englishized by: COLIN SNOVER For more information on this and other Borland Pascal 7.0 patches, please visit. Attachments (48.41 KiB) Downloaded 3413 times.
Quote SEWP III User wrote: >Can anyone help me fix the problem with using Crt unit? It generates >overflow error. Zip Password Unlocker V4.0 Free Download on this page. I am using Pention II Compaq Deskpro.
There is a FAQ posting every sunday here from Pedt Scragg, which covers this issue. Also has a list of articles and 'patches'.:-) -- Franz Glaser, Glasau 3, A-4191 Vorderweissenbach Austria +43-7219-7035-0 Muehlviertler Elektronik Glaser. Industrial control and instrumentation mailto:meg-gla.@eunet.at http://members.xoom.com/f_glaser/.
Quote Olivier Avenel wrote: >Osmo Ronkanen a crit dans l'article. >>Well here is a patch: >[100 lines skipped] >I hope he doesn't have too many files to patch! >Don't you think it would be more helpful to point to a fixed CRT unit >>which would fix both BP and TP in real and protected mode without having to >modify any source? No, I do not point to that, as I am not sure of the legality of that unit. Garo Special Byakuya No Majuto. Also using a different unit can introduce its own bugs or incompatibilities. Of course if one has BP then one should edit the source directly.
Quote >Olivier Avenel wrote: >>Don't you think it would be more helpful to point to a fixed CRT unit >>>>which would fix both BP and TP in real and protected mode without having to >>modify any source? >No, I do not point to that, as I am not sure of the legality of that >unit. Also using a different unit can introduce its own bugs or >incompatibilities.
Copyright © 2018 limitron.