Article View: comp.lang.pascal.borland
Article #692Q: tp7 crt -bug ("Division by Zero")
From: Daniel Kinzler
Date: Wed, 02 Dec 1998 00:00
Date: Wed, 02 Dec 1998 00:00
26 lines
2039 bytes
2039 bytes
Hello everybody !
As many of you might know, the tp7-version of the crt-unit has got a bug
(i guess its related to some internal timing loop) that causes the
compiled program to abort with the runtime error "Division by Zero"
before executing the first line of code (actually when initializing
crt), if the program is executed on a fast PC (faster than 130 MHz or
something).
I found a way to work around that by simply not using the CRT unit and
writing all the crucial routines "by hand" --no big deal.
But I experienced this error happening to me with some older programs
(games, drivers, etc.) which were apparently written using the CRT unit.
Now my question: Does anybody know a way to patch that ? Any tools,
asm-lines,
anything ? I would be grateful for some solution.
Please MAIL, i'm not a frequent newsgroup reader. If there is any useful
response,
i will summarize and post it.
P.S.: If anybody would like to know more about this error, how I worked
around it, or need some code, just ask.
Technical Details
Message-ID:
<36656FF8.22B74C9F@rupert.informatik.uni-stuttgart.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111659,ee7f844328c9a5e0,start
X-Google-Attributes: gid111659,public
X-Google-Thread: 1006de,ee7f844328c9a5e0,start
X-Google-Attributes: gid1006de,public
X-Google-Thread: 110467,ee7f844328c9a5e0,start
X-Google-Attributes: gid110467,public
From: Daniel Kinzler <kinzledl@rupert.informatik.uni-stuttgart.de>
Subject: Q: tp7 crt -bug ("Division by Zero")
Date: 1998/12/02
Message-ID: <36656FF8.22B74C9F@rupert.informatik.uni-stuttgart.de>
X-Deja-AN: 417901629
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@news.informatik.uni-stuttgart.de
X-Trace: inf2.informatik.uni-stuttgart.de 912617464 12694 129.69.208.50 (2 Dec 1998 16:51:04 GMT)
Organization: Fakultaet Informatik, Universitaet Stuttgart, Germany
Mime-Version: 1.0
NNTP-Posting-Date: 2 Dec 1998 16:51:04 GMT
Newsgroups: comp.lang.pascal.borland,fido.ger.pascal,de.comp.lang.pascal.misc