|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Div by 0 -> :(
> It's cause by using crt.tpu in Turbo Pascal 7.0
> I've make a simple program:
>
> uses crt;
>
> begin
> end.
>
> then crash by that error message ... "Devide by zero"
> I've tracking by Turbo Debugger ...
> but ... the memory crash ( using EMM386.EXE ) ..
> my computer had to restart again ...
I thought I'd explained that problem properly, but if you are new on
the list i will explain it another time... hopefully the last one *puh*
So, in the crt-library is a function called delay(). This function stops
the program for a specifed amount of time, normally such like 500
milliseconds or so. This function must calculate some variables
using the speed of the cpu cause the program must stop 500
milliseconds on a faster computer, too. But due to the muddy
programming of the Borland (now Inprise) team this will cause a
runtime error 200: division by zero on computers faster than 200
mhz.
This bug is only able to fix using pre-written patchers, just like
tppatch which i prefer, or you sit down and patch the file manually
which takes long and is difficult <- asm debugging, deleting of code
without changing any important, and so on...
You see, if you still want develop under tp/bp7 for high speed
computers you need special knowledge or a patcher. Just serach
the net for it or ask me to send it to you (5k zipped).
king.fish@myokay.net?subject=tppatch
---
Cya, KingFish "You never know who's right,
but you always know who's in
ICQ# 66776024 charge."
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once
To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html
|
|