Discussion:
diffrence between free pascal and tmt pascal
(too old to reply)
Patrick D. Rockwell
2014-02-07 21:12:48 UTC
Permalink
Does anyone know the difference between free Pascal and tmt Pascal ?

I've heard that tmt Pascal only writes protected mode programs, and allows overlays. Free Pascal doesn't have overlays, but can it write real mode programs?

Also, did Borland Pascal have the object code for its overlay unit? If so, couldn't I just compile it into a tpu unit under free Pascal so that I can have overlays in free Pascal?

Thanks in advance.
Marco van de Voort
2014-02-08 10:52:23 UTC
Permalink
On 2014-02-07, Patrick D. Rockwell <***@thegrid.net> wrote:

(neither FPC or TMT are ontopic in this group, f-up set to .misc)
Post by Patrick D. Rockwell
Does anyone know the difference between free Pascal and tmt Pascal ?
Yes. One is commercial, the other not.
Post by Patrick D. Rockwell
I've heard that tmt Pascal only writes protected mode programs, and allows
overlays. Free Pascal doesn't have overlays, but can it write real mode
programs?
Only the development version supports real mode (and only tiny and small
memory models, it does allow .COMs though).

And only by means of crosscompilation from non-dos at the moment.

There are no releases of that yet, though there are some snapshots. Ask on
the ml for more info.
Post by Patrick D. Rockwell
Also, did Borland Pascal have the object code for its overlay unit? If so,
couldn't I just compile it into a tpu unit under free Pascal so that I can
have overlays in free Pascal?
Maybe you can recycle the ideas, but outright reuse, unlikely. Moreover, it
is all academical, since overlays usually point towards big programs, and
with the 64k data limit of current memory models that is not very
practical with FPC atm.

Why don't you simply use 32-bit PM mode?
Robert AH Prins
2014-05-20 12:39:11 UTC
Permalink
Post by Patrick D. Rockwell
Does anyone know the difference between free Pascal and tmt Pascal ?
I've heard that tmt Pascal only writes protected mode programs, and allows
overlays. Free Pascal doesn't have overlays, but can it write real mode
programs?
Also, did Borland Pascal have the object code for its overlay unit? If so,
couldn't I just compile it into a tpu unit under free Pascal so that I can
have overlays in free Pascal?
The reconstituted source of the overlay unit is available, in

http://sunsite2.icm.edu.pl/pub/garbo/pc/turbopa7/over-120.zip

Creating overlays in PFC is basically impossible, the unit may be there, the
compiler cannot generate the required code!

Robert
--
Robert AH Prins
robert(a)prino(d)org
Loading...