Re:Internals of a Turbo Pascal Compiler
by FullyFunctional on Friday September 11, 2015 @07:59PM
(#10206756)
Indeed. Manuals and object files for the original, BLS Pascal, can be found at http://nascomhomepage.com and the motivated reader can even run it at http://thorn.ws/jsnascom/jsnascom.html (Download http://nascomhomepage.com/lang/Blspas.nas and use "Load NAS" to browse to it. After that type "E1000" return and you should end up in BLS Pascal. Type a program like
BEGIN WRITE('Hi'); END.
hit Ctrl-X and use R to run it.
Re:Internals of a Turbo Pascal Compiler
by TD-Linux on Friday September 11, 2015 @01:12PM
(#10204858)
That's correct, I even have a version of it for the Z80 Softcard on the Apple II. Even in that day, the license was still only for 1 CPU and you had to mail in a license registration card to be able to use the software (I don't think that sort of EULA is legally enforceable, though)
How did that licensing work? Like any self-respecting 11-year-old, my Apple ][ CP/M copy of Turbo Pascal was pirated.
Re:Internals of a Turbo Pascal Compiler
by TD-Linux on Sunday September 13, 2015 @04:42PM
(#10212737)
The book just told you to mail in the registration card with strong language. I don't think it was legally enforceable in any way. There wasn't a license key or anything.
That's correct. I first used it on a Z-80 CP/M machine.
Re:Internals of a Turbo Pascal Compiler
by FullyFunctional on Friday September 11, 2015 @07:00PM
(#10206584)
Actually, the CP/M version was called COMPAS Pascal, but it was very nearly the same code.
I think they mean the CP/M version of Turbo Pascal (the Borland-licensed one with the built-in IDE)
Re:Internals of a Turbo Pascal Compiler
by FullyFunctional on Friday September 11, 2015 @08:32PM
(#10206830)
Borland never made CP/M software. This account matches my memory from back then: http://blogs.embarcadero.com/davidi/2008/11/02/38933
I think you're misremembering things. I'm pretty sure I ran CP/M Turbo Pascal as a kid and the page you link says:
The final step in November 1983 - Turbo Pascal v1.0 is created for Borland International, Inc. Distributed on a single floppy disk, Turbo Pascal integrated the Pascal compiler, Wordstar-like text editor, runtime library, run in memory, and creation of .COM programs - all within 131,297 bytes in the TURBO.COM file. The whole product was 33k bytes in size and ran in 64k bytes of memory. The product was delivered for CP/M-80 (Z/80, 5.25 and 8 inch floppy disks), CP/M-86, and MS-DOS/PC-DOS.
Re:Internals of a Turbo Pascal Compiler
by FullyFunctional on Friday September 11, 2015 @10:11PM
(#10206989)
Blush. I'm delighted to be corrected as I didn't know this.
A 15 year old version of me met The Man himself at a trade show where he was demoing COMPAS Pascal, running a maze generator. I've learned a lot from using and disassembling his software.
https://en.wikipedia.org/wiki/Turbo_Pascal#CP.2FM_and_DOS_ve...
The Turbo Pascal compiler was based on the Blue Label Pascal compiler originally produced for the NasSys cassette-based operating system of the Nascom microcomputer in 1981 by Anders Hejlsberg. Borland licensed Hejlsberg's "PolyPascal" compiler core (Poly Data was the name of Hejlsberg's company in Denmark), and added the user interface and editor. Anders Hejlsberg joined the company as an employee and was the architect for all versions of the Turbo Pascal compiler and the first three versions of Borland Delphi.