Re: Turbo Pascal 1.0 trivia (Paul Schlyter)
28 Nov 1997 00:58:06 -0500

          From comp.compilers

Related articles
Turbo Pascal 1.0 trivia (Arne Frick) (1997-11-24)
Re: Turbo Pascal 1.0 trivia (Gregory Bond) (1997-11-28)
Re: Turbo Pascal 1.0 trivia (1997-11-28)
Re: Turbo Pascal 1.0 trivia (1997-11-28)
Re: Turbo Pascal 1.0 trivia (W. Craig Trader) (1997-11-28)
Re: Turbo Pascal 1.0 trivia (Stephen S. Mitchell) (1997-11-29)
Re: Turbo Pascal 1.0 trivia (laurie boshell) (1997-11-29)
Re: Turbo Pascal 1.0 trivia (1997-11-29)
Re: Turbo Pascal 1.0 trivia (Toon Moene) (1997-11-29)
Re: Turbo Pascal 1.0 trivia (Jerry L. Wahl) (1997-11-29)
[3 later articles]
| List of all articles for this month |

From: (Paul Schlyter)
Newsgroups: comp.lang.pascal.borland,comp.compilers,comp.lang.misc,comp.os.cpm
Date: 28 Nov 1997 00:58:06 -0500
Organization: Svensk Amat|rAstronomisk F|rening
References: 97-11-139
Keywords: Pascal, history

Arne Frick <> wrote:

> I am interested in the answer to the following question and couldn't
> find anything on the net.
> Remember the original Turbo Pascal for CP/M compiler from Borland? A
> colleague claims it was based on p-code, but my memory tells me
> otherwise.

Your memory tells you right. Turbo Pascal 1.0 did generate machine code.
It didn't optimize the code at all, but unoptimized machine code still
runs much faster than interpreted p-code.

> As far as I remember, it was the first native-code compiler for
> Pascal at the time.

It wasn't -- Pascal MT/+ for instance, which pre-dated Turbo Pascal,
did also generate machine code.

However, Turbo Pascal 1.0 was the first Pascal compiler with an
integrated development environment for CP/M. It was also amazingly
compact - compiler, edutor and runtime library all fit in 28K,
while other compilers typically needed twice as much for the compiler

Turbo Pascal did simplify things a little bit -- there was no link
step, instead TP generated absolute machine code. The entire run-time
library (some 11-12 K) was always included in the runtime, always at
the same memory addresses.

Paul Schlyter, Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40, S-114 38 Stockholm, SWEDEN
WWW: -- updated daily!

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.