News for hackers. Stuff that matters.
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.

Re:Why did Turbo Pascal apps fail with a division-by-zero on... by jonsen on Saturday August 24, 2019 @11:17AM (#20787595)
But would the delay be calibrated correctly then?
Re:Why did Turbo Pascal apps fail with a division-by-zero on... by 0x0 on Saturday August 24, 2019 @11:18AM (#20787598)
Not at all. But many programs "Uses crt" (only) for other functions and might not even care about delay().