Groups | Search | Server Info | Login | Register


Groups > comp.lang.pascal.borland > #252

Re: CLPB Mini FAQ v2.08 - Final

From Robert Prins <robert@prino.org>
Newsgroups comp.lang.pascal.borland
Subject Re: CLPB Mini FAQ v2.08 - Final
Date 2025-10-29 12:40 +0000
Organization A noiseless patient Spider
Message-ID <10dsqve$2r3q1$1@dont-email.me> (permalink)
References (1 earlier) <MPG.4367d66f1deaa140989681@news.eternal-september.org> <nyrkzatznvypbz.t4robe0.pminews@news.eternal-september.org> <10dohn3$14v7i$1@dont-email.me> <qwkb6nefgazh.1naa6up8gr9ts$.dlg@40tude.net> <yhgidouwnlsu.xciov9jjcnwg.dlg@40tude.net>

Show all headers | View raw


On 2025-10-28 05:01, JJ wrote:
 > On Mon, 27 Oct 2025 21:38:13 +0000, Robert Prins wrote:
 >>
 >> I occasionally still use TP 3.01a, and work full-time with Virtual Pascal,
 >> FreePascal cannot handle one TP originated construction, that I use all the
 >> time, and frankly, the last time I looked at the IDE and Debugger, they sucked,
 >> big time!
 >
 > Doesn't the DOS version of FreePascal have TP mode using {$MODE TP}?

Not really interested in DOS, big issue is, even in TP-mode, that FPC does not 
honour the old TP construction where all variables in a single var/const 
declaration are kept in the final executable, i.e. I use

const
   xxx_ptr : xxxptr  = nil;
   xxx_top : xxxptr  = nil;
   xxx_end : xxxptr  = nil; {or, occasionally @xxx_top}

and update them after an insert in the linked list with a small assembler 
routine that never explicitly uses xxx_end, nor do I ever explicitly use xxx_end 
myself and that results in FPC eliminating it. VP sticks to the Borland 
implementation!

Next to that, but that's resolvable, I don't like records to be non-packed, or, 
more in general, that FPC "wastes" too much data by auto-aligning variables on 
"preferred" boundaries and that it can reorder the location of variables that 
are not part of records.

And I really like that I can directly call VP RTL functions from my inline 
assembler code, without having to figure out name-mangling.

Robert
-- 
Robert AH Prins
robert(a)prino(d)org
The hitchhiking grandfather - https://prino.neocities.org/
Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html

Back to comp.lang.pascal.borland | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: CLPB Mini FAQ v2.08 - Final eb <engelbert_buxbaum@hotmail.com> - 2025-10-26 06:56 +0100
  Re: CLPB Mini FAQ v2.08 - Final "Alexander Grotewohl" <alexm0n@gmail.com> - 2025-10-26 20:33 -0400
    Re: CLPB Mini FAQ v2.08 - Final Robert Prins <robert@prino.org> - 2025-10-27 21:38 +0000
      Re: CLPB Mini FAQ v2.08 - Final JJ <jj4public@gmail.com> - 2025-10-28 12:01 +0700
        Re: CLPB Mini FAQ v2.08 - Final JJ <jj4public@gmail.com> - 2025-10-28 12:04 +0700
          Re: CLPB Mini FAQ v2.08 - Final Robert Prins <robert@prino.org> - 2025-10-29 12:40 +0000
            Re: CLPB Mini FAQ v2.08 - Final eb <engelbert_buxbaum@hotmail.com> - 2025-11-01 09:06 +0100
              Re: CLPB Mini FAQ v2.08 - Final Robert Prins <robert@prino.org> - 2025-11-02 14:45 +0000

csiph-web