Board index » off-topic » tp 3.02 and win xp

tp 3.02 and win xp


2005-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?
 
 

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.
 

Re:tp 3.02 and win xp

Quote
any advice on how to get it to run in winxp?
I got your e-mail and tried some things, but when I tried to reply I got a bounce message.
I haven't given up, but please get in touch.
 

{smallsort}

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! :)
 

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
Quote
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.