Re:Why did Turbo Pascal apps fail with a division-by-zero on...
by 0x0 on Saturday August 24, 2019 @10:59AM
(#20787463)
I remember this issue after upgrading to a ~350MHz machine way back when.
A quick fix, with no software or patching needed, was to hit the return key and then the pause key at almost the same time after typing "program.exe". About 25% of the time, the pause would trigger an interrupt right in the delay calibration loop, and then pressing any key would resume the calibration loop with enough RTC time passing to avoid the division by zero.
A quick fix, with no software or patching needed, was to hit the return key and then the pause key at almost the same time after typing "program.exe". About 25% of the time, the pause would trigger an interrupt right in the delay calibration loop, and then pressing any key would resume the calibration loop with enough RTC time passing to avoid the division by zero.