• Turbo Pascal 5.0

    From Nick Andre@1:229/426 to All on Thu Nov 10 12:15:42 2005
    Hi...

    I'm in charge of maintaining a legacy Fido mailer called D'Bridge.

    I'd love to add BinkP functionality, but the problem is that DB was written in Turbo Pascal 5.0.

    Now I know that someone wrote a Winsock library for Microsoft QuickBasic, so I'm wondering if anyone has done the same thing for Pascal.

    If not, is it possible to write a Winsock interface for Turbo Pascal 5.0?

    *Nick*

    --- DB 1.93sl/100000
    * Origin: Nicks Notebook (1:229/426)
  • From Shawn Highfield@1:229/452 to Nick Andre on Thu Nov 10 17:32:37 2005
    Re: Turbo Pascal 5.0
    By: Nick Andre to All on Thu Nov 10 2005 12:15 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)

    Shawn
    --- SBBSecho 2.11-Win32
    * Origin: Abuse of Melody - Durham's Music Board! (1:229/452)
  • From Sean Dennis@1:18/200 to Nick Andre on Thu Nov 10 15:36:06 2005
    Nick,

    *** Quoting Nick Andre from a message to All ***

    If not, is it possible to write a Winsock interface for Turbo
    Pascal 5.0?

    Maybe you should try using Turbo Pascal 7.0 - might have more luck. I've seen TCP/IP stuff for Virutal Pascal and Delphi, but not much for TP. I know it's out there...try looking at Programmer's Paradise (www.programmersparadise.com) - they have some good stuff there.

    Later,
    Sean

    // outpostbbs@charter.net | http://outpostbbs.net | ICQ: 19965647

    --- Telegard/2 v3.09.g2-sp4/mL
    * Origin: Outpost BBS - outpostbbs.darktech.org (1:18/200)
  • From Nick Andre@1:229/426 to Shawn Highfield on Thu Nov 10 21:50:59 2005
    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)
  • From Nick Andre@1:229/426 to Sean Dennis on Thu Nov 10 21:52:30 2005

    Maybe you should try using Turbo Pascal 7.0 - might have more luck. I've seen TCP/IP stuff for Virutal Pascal and Delphi, but not much for TP. I
    know it's out there...try looking at Programmer's Paradise (www.programmersparadise.com) - they have some good stuff there.

    Later,
    Sean

    Wrote Shawn Highfield a message about that. ;) Thats what I'm having a problem with right now, is the original author's liberal use of global variables (theres a TON of them), and the inline assembly code thats scattered throughout
    the source.

    I sent you an email with my latest compile attached, so at least you can see all the corrections and bugs I finally solved. :)

    *Nick*

    --- DB 1.95sl/100000
    * Origin: Nicks Notebook (1:229/426)
  • From Sean Dennis@1:18/200 to Nick Andre on Fri Nov 11 14:50:44 2005
    Hello, Nick.

    Thursday November 10 2005 21:52, you wrote to me:


    I sent you an email with my latest compile attached, so at least you
    can see all the corrections and bugs I finally solved. :)

    I don't know if you got my email, but DB won't run on my system. My email explains why.

    Later,
    Sean

    // hausmaus@darktech.org * http://outpostbbs.net

    --- GoldED+/EMX 1.1.5-31012
    * Origin: Outpost BBS - Johnson City, TN - outpostbbs.darktech.org (1:18/200)
  • From Wayne Steele@3:633/690 to Nick Andre on Sat Nov 12 15:19:00 2005
    Hi Nick,

    Now I know that someone wrote a Winsock library for Microsoft
    QuickBasic, so I'm wondering if anyone has done the same thing
    for Pascal.

    If not, is it possible to write a Winsock interface for Turbo
    Pascal 5.0?

    Maybe something like EleBBS could give you ideas on this kinda
    stuff... If you'd like the source code I can email it too you... It's
    written in pascal and has internet connectivity so it maybe of help
    and can compile for os/2 w32 linux... Maybe not what your after but it
    may give you ideas...

    Give me an email address and I'll send it off if you want it...

    Lata, badnewsbbs@westnet.com.au
    zomorf ICQ 12489905 offline
    telnet ftp news http://badnews.bbs.us

    ... Pardon me, but would you have any Blue Poupon?

    ---
    * Origin: Come & Visit for a Kick@ss EleBBS & EleWEB BBS (3:633/690)
  • From Shawn Highfield@1:229/452 to Nick Andre on Fri Nov 11 19:43:37 2005
    Re: Re: Turbo Pascal 5.0
    By: Nick Andre to Shawn Highfield on Thu Nov 10 2005 09:50 pm

    retooling), and the other problem is the inline assembly language code. Tp7 stops on statements such as:
    FreeSegofs : Segofs absolute FreePtr;
    ^^^^^^^^


    Do you have Free Pascal installed by any chance? There is a switch on it that is supposed to "emulate" older borland pascal compilers. I /think/ it's fpc -So file.pas but please check the documentation. One of my old doors ported fine once I found that switch.

    other things, and theres heavy use of assembly language for Zmodem CRC check and some other functions.
    I figured if I could get DB to compile under TP7, then moving to Virtual/Fre pascal should have little to no issues.

    Yeah, your probably right... Sorry I dont have anything else to suggest.

    Shawn
    --- SBBSecho 2.11-Win32
    * Origin: Abuse of Melody - Durham's Music Board! (1:229/452)
  • From Nick Andre@1:229/426 to Sean Dennis on Sat Nov 12 11:59:52 2005
    Hello, Nick.
    Thursday November 10 2005 21:52, you wrote to me:

    I sent you an email with my latest compile attached, so at least you
    can see all the corrections and bugs I finally solved. :)

    I don't know if you got my email, but DB won't run on my system. My
    email explains why.

    Got it, I'm working on a solution. :)

    *Nick*

    --- DB 1.96sl/100000
    * Origin: Nicks Notebook (1:229/426)
  • From Scott Adams@1:112/91 to Nick Andre on Thu Nov 10 23:27:20 2005
    Quoting Nick Andre to All <=-

    @MSGID: 1:229/426 00000052
    Hi...

    I'm in charge of maintaining a legacy Fido mailer called D'Bridge.

    I'd love to add BinkP functionality, but the problem is that DB was written in Turbo Pascal 5.0.
    Now I know that someone wrote a Winsock library for Microsoft
    QuickBasic, so I'm wondering if anyone has done the same thing for
    Pascal.
    If not, is it possible to write a Winsock interface for Turbo Pascal

    I've not heard of such other than the ASYNC folks they
    may have (if they continued it) done something like
    that. But my version is 8-9 years old.

    ... "Hey! Hey, anybody here? Anybody hear me?" - Sheridan
    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)
  • From Scott Adams@1:112/91 to Nick Andre on Fri Nov 11 19:23:58 2005
    Quoting Nick Andre to Shawn Highfield <=-

    @MSGID: 1:229/426 00000054
    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.

    You go from bp7 to tp5.5? Wow. That's a DOWNgrade not a upgrade.
    Surprised you'd have to do this? Why?


    ... Error | Enter any 11 - digit prime number to continue...
    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)
  • From Nick Andre@1:229/426 to Scott Adams on Tue Nov 15 01:46:46 2005
    if I could get DB to compile under TP7, then moving to Virtual/Free pascal should have little to no issues.

    You go from bp7 to tp5.5? Wow. That's a DOWNgrade not a
    upgrade.
    Surprised you'd have to do this? Why?

    D'Bridge was never written in TP7, it was originally written in BP 5.0. I never
    used TP7 nor can I use it at all. I'm having a serious problem with the inline/assembly code that is preventing me from migrating to TP 7.0.

    I recently went from 5.0 to 5.5, although thats not enough of a difference to solve the problem.

    *Nick*

    --- DB 1.96sl/100000
    * Origin: Nicks Notebook (1:229/426)
  • From Scott Adams@1:112/91 to Nick Andre on Tue Nov 15 19:18:52 2005
    `07*** Quoting Nick Andre from a message to Scott Adams ***`07

    if I could get DB to compile under TP7, then moving to Virtual/Free pascal should have little to no issues.

    You go from bp7 to tp5.5? Wow. That's a DOWNgrade not a
    upgrade.
    Surprised you'd have to do this? Why?

    D'Bridge was never written in TP7, it was originally written in BP 5.0
    I never used TP7 nor can I use it at all. I'm having a serious problem
    with the inline/assembly code that is preventing me from migrating to

    I recently went from 5.0 to 5.5, although thats not enough of a differ
    to solve the problem.

    *Nick*

    I used tp3..4..5...5.5..6..7 I believe those versions over the year but jumped to bp7. Didn't know they had a bp5.

    As to inline I don't do any of that stuff anymore. Haven't in years. Best thing to do is study assembly in depth. Learn the registers. Learn the various aspects and the various interrupts. Then it should fall in place. I took a college assembly course so learned it then. But today I've not used it maybe 5-6 years if that. Bp7 never used it. Tp yeah. I'd have to dig up those old archives to refresh. Right now getting more into delphi which of course doesn't need asm.

    Good luck.

    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)