Subj : Re: Turbo Pascal 5.0
To : Shawn Highfield
From : Nick Andre
Date : Thu Nov 10 2005 09:50 pm
>> If not, is it possible to write a Winsock interface for Turbo Pascal
> 5.0?
> I know there are winsock interface's available for Virtual Pascal and
> Free
> pascal. What are the chances DB would port easily to one of those? (Just
> google for either and you'll find links to winsock's. both are free)
I just finished tonight migrating DB over from Borland Pascal 5.0 to 5.5,
without any hitches, but when I tried to move up to 7.0, I run into two
problems. The first is that theres too many symbols (the original author made
heavy use of global variables, and changing them would require massive
retooling), and the other problem is the inline assembly language code. Tp7
stops on statements such as:
var
FreeSegofs : Segofs absolute FreePtr;
^^^^^^^^
I'm not really an expert Pascal programmer, but it looks to me like TP7 doesn't
like the way assembly language code is handled from the 5.5 compile.
So that is what appears to be the two fundimental problems I'm having... DB was
written with the TurboPower units to handle ISAM code and sharing and a few
other things, and theres heavy use of assembly language for Zmodem CRC checking
and some other functions.
I figured if I could get DB to compile under TP7, then moving to Virtual/Free
pascal should have little to no issues.
*Nick*
--- DB 1.95sl/100000
* Origin: Nicks Notebook (1:229/426)