Board index » off-topic » tp 3.02 and win xp
|
jerry
Delphi Developer |
|
jerry
Delphi Developer |
tp 3.02 and win xp2005-08-17 02:34:50 AM off-topic5 have an old turbo pascal 3.02 program that fails with runtime error 02, pc=835C. pgm runs ok in win 98, but not in win xp nor win 2k. it appears to fail when it attemps to read a file created by the pgm. the file has numbers. any advice on how to get it to run in winxp? |
| Kevin G. Rhoads
Delphi Developer |
2005-08-31 01:28:17 AM
Re:tp 3.02 and win xp
Well, I have little to offer, I was hoping you'd get a more useful response.
I have an XP_Pro box available at work and a plain XP box available at home. If the program is not secret, I can see if I can get it to go on those. |
| Kevin G. Rhoads
Delphi Developer |
2005-09-06 08:00:48 PM
Re:tp 3.02 and win xpQuoteany advice on how to get it to run in winxp? {smallsort} |
| HubbleBubble
Delphi Developer |
2005-09-08 05:22:00 AM
Re:tp 3.02 and win xp
Hi,
There are issues with TP programs and Win XP. Because TP is 16bit and DOS based XP can be arbitrary about running them. Remember that XP (or Me/Win2000) no longer has a real mode DOS like in Win9x/3.1 so DOS is only emulated. Also if XP is running NTFS as opposed to Fat there may be a compatibility issue. Having said that I have got many Tp/BP 7 progs running OK under XP - so you could try upgrading first. Also a DOS box running under XP may need its properties tinkered with. XP produces a pif file for any DOS exe on first run. Setting full screen on exe start up often solves most problems. There are other DOS emulation settings you can tinker with. Ultimately the best solution may be able to port the program to a Win32 platform by recompiling under Delphi, Free Pascal or the excellent free virtual pascal or using TP and a Win32Dos unit you can buy form www.ryledesign.com This will allow your prog to run properly as a virtual Win32 console application under XP - and it shouldn't complain at all! :) |
| Chris
Delphi Developer |
2005-09-16 03:11:42 AM
Re:tp 3.02 and win xp
The problem is that the old pascal compiler used a loop function in the
timer and the newer computers run to fast for that function to do it's job. somewhere along the way the computer math ends up with a division by zero error. there is a patch that you can download that will fix your compiler to work with newer machines. I currently use my Turbo7 under XP (run in dos window and set attributes to full screen) but I needed to run the patch first. try google to find the patch. -cct "Kevin G. Rhoads" < XXXX@XXXXX.COM >wrote in message QuoteWell, I have little to offer, I was hoping you'd get a more useful |
