akettl
asked on
unit crt not working on pentium2
on my new pentium2 300 Mhz computer (Vobis) I get the error- message 200 (division) by zero when using the unit crt. Even without calling any routine of crt. Are there updates available of Turbo Pascal Units for Pentium2 and where ?
Or is there another solution to run my Turbo Pascal Programs on a Pentium2 Computer.
Or is there another solution to run my Turbo Pascal Programs on a Pentium2 Computer.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
to ow : is this only because the Delay-Proc ?
The overflow error is primarly not produced by the delay procedure but by the initialization routine of crt.
This initialization routine calls various subroutines to get information about screen resolution and other things. One of these subroutines counts the delay loop time, where the overflow error is produced.
The initialization routine of a unit is called as soon as the unit is inserted with "uses" anywhere in a program or another used unit.
This initialization routine calls various subroutines to get information about screen resolution and other things. One of these subroutines counts the delay loop time, where the overflow error is produced.
The initialization routine of a unit is called as soon as the unit is inserted with "uses" anywhere in a program or another used unit.
the patch available from http://www.chesworth.com/pv/vault/v_bug_buster.htm works quite well, i have just tried it out on a pentium II Celeron 330A
ASKER