Subj : Pentium II patch for pascal To : Roelof Beverdam From : Jasen Betts Date : Sun Oct 12 2003 09:36 am Hi Roelof. 10-Oct-03 22:19:08, Roelof Beverdam wrote to Jasen Betts RB> Hello Jasen, >RdL>>> The trouble I'm having is that one of my doors (EZ-ROM) gives >RdL>>> me the Runtime error 200 but the patch program won't work on >RdL>>> it. The patch says that the executable is probably compressed. RB> > >GL>> Another possibility is that it is written in a version of Turbo >GL>> Pascal which your patch won't recognize RB> > >> That particular bug is only in version 7 earlier versions just >> delayed incorrectly RB> Nope. Earlier versions suffered the same problem. (How would you RB> expect them to calculate the millisecond counter otherwise? the older versions used a 16-nit (word) speed-test counter which on fast machines overflowed (counted past 65535 to 0 and up again) and they got the wrong figure for the delay factor. in version 7 they went to a 32bit (longint) speed-test counter but if it counts too high the delay factor that's computed from it won't fit in a 16 bit integer and the processor throws out an "divide overflow" exception and the system unit translates that to Runtime Error 200. The bug which causes runtime error 200 is only in version 7 other versions only delay incorrectly (patched version 7 programs also delay incorrectly) --- * Origin: Keyboard not connected, press to continue. (3:640/1042) .