• val pascal lal last build no mouse

    From Vince Coen@2:250/1 to James Coyle on Thu Jan 28 00:45:00 2016
    Hello James!

    Thursday January 21 2016 15:48, you wrote to Tony Master:

    i tried the latest 3.x but i get errors compiling. i dont kn ow
    if fpc.ini has the correct settings.

    If your code doesn't compile and has errors, then the problem is
    likely the code. You can post questions here if you are interested!

    Free Pascal isn't going to compile everything Virtual Pascal does
    without changes. If you want code that works across many platforms,
    Free Pascal is the only way to go.

    Wil it compile TP (Turbo Pascal) code and if so will it compile inline assembler?

    I have the Filemgr program that was used with that compiler and my knowledge of
    Pascal is to put it mildly now very rusty.


    Vince

    --- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From James Coyle@1:129/215 to Vince Coen on Thu Jan 28 11:05:47 2016
    Wil it compile TP (Turbo Pascal) code and if so will it compile inline assembler?

    The syntax is compatible with Turbo Pascal for the most part, and it has units to mimic much of the basic TP RTL (crt, dos, etc), but it cannot translate Assembly from one processor to another. It support a few variations of inline assembly syntax.

    You'd likely need to make pure pascal versions of those functions in order to get it to compile and work in Free Pascal with any sort of portability.

    --- Mystic BBS v1.12 A1 (Windows)
    * Origin: Sector 7 [Mystic BBS WHQ] (1:129/215)
  • From mark lewis@1:3634/12.73 to Vince Coen on Thu Jan 28 11:53:16 2016

    28 Jan 16 00:45, you wrote to James Coyle:

    Free Pascal isn't going to compile everything Virtual Pascal does
    without changes. If you want code that works across many platforms,
    Free Pascal is the only way to go.

    Wil it compile TP (Turbo Pascal) code and if so will it compile inline assembler?

    FPC will compile TP syntax but some things have to be done differently (eg: direct bios table access)... it does do inline assembly, IIRC... i know it does
    its own... i don't recall what ASM format it does, though...

    I have the Filemgr program that was used with that compiler and my knowledge of Pascal is to put it mildly now very rusty.

    it is a free download... there is a DOS oriented flavor... i think it requires one of those mem386 type memory managers, though... there's also been some work
    done for supporting the i386 model but i don't know how far that has come... that may work for older machines without need for special memory stuffs...

    there's also a forum and some mailing lists... i much prefer the mailing lists...

    )\/(ark

    ... No born and bred Canadian would eat anything with cayenne.
    ---
    * Origin: (1:3634/12.73)
  • From mark lewis@1:3634/12.73 to James Coyle on Thu Jan 28 14:09:32 2016

    28 Jan 16 11:05, you wrote to Vince Coen:

    You'd likely need to make pure pascal versions of those functions in
    order to get it to compile and work in Free Pascal with any sort of portability.

    that's what i've been doing... converting some of my fancy tricks back to pascal which i likely borrowed them from to start with... but as i work through
    everything, i find that many of them have already been made and exist in the libraries... even some of my nastiest clock/time/date code is already available
    from the libraries and i don't even need to use my wheel any more... that also save me from having to maintain it and try to figure out my own bugs... other's
    have already done that...

    )\/(ark

    ... Attack fur not leather; it's safer to harass old women than bikers.
    ---
    * Origin: (1:3634/12.73)