logo To Foot
© J R Stockton, ≥ 2009-07-31

Borland Pascal Procurement.

No-Frame * Framed Index * Frame This
Links within this site :-

Note that Borland WWW/FTP site re-arrangements have made it difficult to maintain valid links here.

Borland Pascal with Objects 7.0 Description - copy of release info.

Turbo Pascal and Borland Pascal

In May 1998, Borland renamed itself Inprise. Therefore, URLs (http://, ftp://) referring to their own sites could need a corresponding change. The newsgroup names have not changed. It seems to have reverted to being Borland.

In November 2006, I read that "Borland has announced the spin- off of it's developers tools group into a separate, wholly owned subsidiary named CodeGear."

Turbo Pascal (TP; v1..v7.01), Turbo Pascal for Windows(TPW; v1.0,v1.5) and Borland Pascal (BP; v7.00,v7.01) are commercial products for the PC, which have been sold at a reasonable price; they are not freeware, shareware, etc. Therefore any distribution by unofficial means, of all or part of the products, including Borland's compiled library units, is illegal. See, however, Borland Museum below. Student versions, with restrictions on usage, may be available, as may sale copies or full used copies. I know of no demo versions, either BP or TP. However, Delphi has been included on cover discs, so it is possible that TP/BP may have been, OUAT.

See your local software houses and/or computer magazine advertisements for purchasing information; or ask your national Borland location (findable via http://www.inprise.com/wheretobuy/ ?).

Possible UK sources included :-

For a Borland description of the products, see BP7.

Basically, Turbo is the student/amateur version (on about 4 1.44 MB floppies), and Borland is the professional one (on about 11 1.44 MB floppies).

In March 1999, the price for TP7 is reported as about £80 in the UK; and $130 for TPW in the USA. Used copies can sometimes be found.

On 2002-09-06, HP wrote in news:b.p.t that in Germany BP7/TP7 is sold on CD with a fine book for EUR 19.95: Turbo Pascal 7.0 Kompendium, by Winfried Kassera, Volker Kassera ISBN: 3827251664 - Amazon.

CodeGear

CodeGear is the division of Borland which now deals in software development tools.

TP5.5 ZIP (untested) is available.

August 2008 : CodeGear and Delphi now belong to Embarcadero Technologies, Inc.

Micro Focus International

Sv. Broholm, 2009-07-30, in news:comp.lang.pascal.borland :-

Just to inform you: All Borland activities have been acquired by UK Micro Focus International by the end of July 2009.

The programming tools are still being marketed and supported by www.embarcadero.com/.

Borland Museum

On 22 Jul 1999 in news:borland.public.turbopascal, Michael Beck wrote :-

Borland has just opened its brand new Community Web site for all Borland developers. One of the goodies for the Turbo Pascal friends is the Turbo Pascal 5.5, available for a free download. ... http://community.borland.com/museum/

That TP5.5 INSTALL, at/near the end, locks up my Tandon 486/33 with a random screenful showing; but it seems that the components can be installed without it.

On Wed, 18 Aug 1999 18:19:59 in news:borland.public.community, David Intersimone <dintersimone@inprise.com> wrote :-

I am waiting for our legal department to give me more words to put up. For now I added the following words to the museum page:

Old Software
These historical files are provided to the Borland community free of charge. They may be downloaded and used as is, no developer support is provided. Each individual product contains copyright notices that are still in force. These files may not be made available via the Internet or any hard copy media (e.g. diskette, CDROM). If you have any questions, feel free to contact David Intersimone at davidi@inprise.com.

Borland keep changing that site, and anonymous login now apparently requires cookies enabled; the files themselves have been available directly.

It seems that TP7.01 is now (or was) free too, but in French (it says that cookies are needed). I hear that Help, and some text files, are in French, but IDE menus remain in English. Maybe FTP ZIP?

2001-08-13 : I read that BP7 can be bought from Borland Germany for about DM 50 / EUR 30.

Program Modes

"Turbo Pascal 7.0 is a real mode MSDOS version of the compiler. Turbo Pascal for Windows V1.5 is a Windows only version of the compiler. Borland Pascal V7.0 contains the real mode MSDOS, protected mode MSDOS, and Windows versions of the compiler." - Michael Day (TeamB).

TP (TURBO/TPX)

TP is in essence a compiler for a 640 kB DOS PC ("real mode"), though the TP package includes both the TURBO.EXE and the TPX.EXE IDEs, and the TPC.EXE command-line compiler. TURBO runs in real mode, using the 640 kB of a traditional PC; TPX runs in protected mode, and so makes use (only for itself) of memory above 640 kB. Both TURBO and TPX generate only real-mode programs. However, AIUI, TP can access more memory for data by using added code. It can neither generate nor use DLLs.

TPW

I hear that TPW1.0 was a program resembling TP6 but generating code (EXE, DLL) for Windows 3.0. It had command-line TPCW.EXE.

TPW.EXE (in TPW1.5) runs under Windows and generates Windows programs. Like BP, it can generate, and its programs can use, DLLs - a DLL is a Dynamically Linked Library; like a unit, but a separate shareable file joined to the program at run-time.

BP

The BP package is a functional superset of the TP one, and contains the following compilers :- TURBO.EXE, TPC.EXE (as in TP); BP.EXE, BPC.EXE & BPW.EXE (TPX is not needed, given BP). It also has the TASM.EXE assembler.

BP.EXE & BPW.EXE can compile so that program and code can use more than 640 KB of RAM (up to 16 MB on a '286, 512 MB on ≥'386, AIUI) - this is DPMI or protected mode; both DOS & Windows BP IDEs can compile for all three targets, MS-DOS (real mode), DPMI (protected mode), and WINDOWS. BP.EXE seems in general the best tool, except that the IDE cannot itself launch a Windows program, even from within a DOS box. They can generate, and their programs can use, DLLs.

IMHO, BP7 has advantages over TP7, even if one only makes, in the end, DOS mode programs. TPX.EXE, BP.EXE and BPW.EXE, but not TURBO.EXE, include a very useful Browse facility on the Search menu, which finds all use of a specific variable, in the IDE. BP has the TD.EXE and TDX.EXE Debuggers, etc.; as I recall, TD is on the Tools menu (and TDX can be added), which is handy for looking at code; BP7 and BPW can compile DPMI, which enables faulty Heap code to produce Error 216.

BP7 includes RTL sources including the TV RTL source, which TP7 users could buy.

2000-07-27 : Claim seen that BPC.EXE does not run correctly in a DOS box in a new PIII/750 PC, though OK on a PII/450. Unconfirmed.

>64 MB RAM

I have heard that BP.EXE may not work in a PC with more than 64 MB of RAM; the c.l.p.b mini-FAQ refers, recommending the addition of NOVCPI to the DEVICE=EMM386.EXE line in config.* files.

I've also seen
  1) SET DpmiMem=8192 - in autoexec.bat
  2) Device=EMM386.exe RAM - in config.sys (instead of noEMS key)
suggested.

DPMI

DPMI mode uses, with the aid of RTM.EXE and DPMI16BI.OVL (or similar,) hardware facilities first introduced in the '286. These files, or replacements, must be available to run under DOS itself, but Windows can provide corresponding services.

There is much more memory space available (assuming that the RAM itself is there); the limit is 16 MB on a 286, but is much higher (and maybe indeterminate) on later systems. One can write much more code, with each unit automatically using a separate segment anyway.

There is **NO** more stack; the limit remains one 64 kB segment. Program global variables are also limited to 64 kB - this does, I think, include typed constants.

The rest of the accessible memory becomes available as Heap - though each item still cannot exceed nearly 64 kB, and there is a limit on the number of segments that can be used. See HeapLimit and thereabouts in the manuals.

Caveats

Possible problem of too much RAM for the DPMI mode :- SET DPMIMEM=MAXMEM nnnnn, described in BP\DOC\DPMIUSER.DOC, has been suggested. One may need the newer versions of RTM.EXE and DPMI16BI.OVL from NEWRTM.ZIP off the Borland website; URL?. Also, "The Pascal Magazine" Issue #2 had a NEWRTM.ZIP on its floppy disc, and I've copied that, pro tem, into http://www.merlyn.demon.co.uk/20010716/ as newrtm2.zip ; AFAIR, it's good, but YMMV and YHBW.
I wonder if they are the same? - No, clearly not, so I've put Borland's up in the same directory as newrtm1.zip.

"BPW.EXE has a minor cursor acceleration problem which gets irritating after a short time -- causes the Windows 95 cursor to blink full speed." Try Franz Glaser's WWW site. See also the c.l.p.b mFAQ.

See also Crt Units link.

Extender

Scott Earnest <setech@ix.netcom.com> wrote :- "An extender has been created to support flat-model programming in TP7 real mode. I haven't experimented with it in depth, but you can find it and try it at :- Swallow".

History/Future - Delphi

TP version 1.0 was released in 1983.

There was, in the late '80s, Turbo Pascal for the Mac (Macintosh).

I started, using PCs, at TP3 (briefly). TP4 introduced an IDE resembling one window of the TP7/BP7 one. TP5 is the last version suitable for a floppy-disc only PC. TP5.5 (I never used it) introduced Object Oriented Programming (OOP); but with significant differences from later versions. TP6 introduced multiple edit windows and TV; TP7 is similar. The only BP is Borland Pascal with Objects, a professional superset of TP7 and TPW, with protected mode.

BP7 and TP7 are, alas, expected to be the last version of Borland's Pascal intended for DOS, since Delphi is the preferred product nowadays. They were released as BP7.00, TP7.00 (see the file times to check). However, a cheap maintenance upgrade BP7.01 (and TP7.01) was made available to registered users by Borland at a nominal charge; it fixes a few bugs, but don't ask me what they all were.

Borland Customer Service, 2 Dec 97, wrote :-
Borland Pascal w/Objects has been discontinued and I am unable to locate a fix list. However, a replacement CD or disks are available and would include all of the latest fixes to v7.0.

On 27 Aug 1998 in comp.lang.pascal.borland, Jim Higgins wrote :-

The history of BP 7.0 is that the original 7.0 had a few bugs. Going on memory these were in the 32-bit register shift instructions, and in range checking. Inprise, then Borland, corrected these bugs by releasing a "silent maintenance upgrade" to BP 7.0. This is what we call BP 7.01 because the time as shown in a directory listing on all files is 7:01 vs 7:00 for the original. Borland did not contact registered customers and offer this CD, but did send it free or cheap ($19.95) to those reporting problems. It appears to still be available.

The CD says "Borland Pascal with Objects 7.0". It is Part Number "11SA-BPL29-70".

(condensed by JRS)

I have since (mid-1999) read that Borland USA have no copies of BP left and now do not support it in any way.

1999-07-11 <HigginsJ@ftc-i.SpAmZaP.net> wrote :-

Thanks for letting me know the replacement CD is no longer available.

However, on Tue, 22 Jun 1999 in news:comp.lang.pascal.borland, Eric Engelmann <info@emsps.com> wrote :- A two diskette upgrade patch was produced by Borland to upgrade to 7.01. We provide it to those who can prove proof of purchase for BP7 for a fee of $20 plus $5 per diskette, or $30 total for electronic or snail transfer (plus shipping).

Delphi

See also my Delphi Introduction.

Delphi 1.0 masquerades as BP8 (VER80 is defined; the file times are 08:00. Delphi 2.0 is BP9, Delphi 3.0 is BP10, Delphi 2006 is ???, etc.; see version.pas). Delphi can compiling console applications for DOS boxes in 32-bit Windows (9x, NT, 2000) - see {$APPTYPE CONSOLE} in its manuals and Help?, and also see below.

Delphi 1.0 was on a cover CD for the December 1997 issue of the UK magazine PCW, with upgrade offers; Delphi 2.0 was on a cover CD for the May 1999 issue of the UK magazine PCW, with upgrade offers; Delphi 3.0 was remaindered by Inprise UK in September 1998; I have used it. both for GUI and console mode programs; Delphi 7.0 was current; as was a version for LINUX.

However, the DCC32 command-line compiler (from D2 upwards), used with the -CC option, can be useful for checking BP7 programs, even if they do not become runnable; it does not stop at the first error, and, unlike BP7, it gives Hints and Warnings on dubious code, and so can point out some logical errors. Programs can run faster than when compiled with BP.

"Turbo Delphi" is now publicised via They're Back. It is a free download, which I now (2008-02-10) have.

In the UK, Grey Matter have a CodeGear-trained team, and Web pages.

Delphi History from Pascal to Borland Developer Studio 2006.

Availability?

At present (Aug 1997) it seems that BP7 is out of production, though a new version has been weakly rumoured. And, more strongly, denied. For used copies, see further down.

Is BP7 still available?

On 7 Oct 1997 in borland.public.turbopascal, "Michael H." wrote :-

Yes. I bought my copy of BP7 directly from Borland. You can email their customer service for the details. It is: customer-service@borland.com

On 13 Nov 1997 in borland.public.turbopascal, Andrew Witham (London UK) wrote :-

Borland International (UK) Ltd are having a sale. BP 7.0 is GBP 30.00 and TP7.0 is GBP 20.00 (plus tax and shipping)
In the UK call 0800 454065. I doubt this free number is accessible from overseas, but I'm sure that they have a number in the directory..... or try Borland where you are.

On 27 Nov 1997, it appeared to be sold out.

18 Dec 1997 :- BP7 has been entirely discontinued (see http://www.borland.com/pascal/ ), but not TP7.

2000-10-04 : The following reported seen in News: Please note, that Inprise/Borland is no longer selling Turbo Pascal 7.0 for DOS or Turbo Pascal 1.5 for Windows 3.1. The company has termed this products "End of Life" in January year 2000. Letters went out to all schools that purchased Advantage Plus licenses. Technical support for these products will end of December 31, 2000.

TP5

For a portable programming system, get a copy of Turbo Pascal 5.0; the EXE, HLP, & TPL files will fit on a 360 kB floppy (possibly with GRAPH removed from the TPL), and should run acceptably from it, with your program on c:. TP5 and the essentials of bootable DOS 3.3 will fit, with a bit to spare, in 720kB; so with those on a 1.44 MB floppy in your pocket, all you need to find is a PC.

TPUs

TPU formatting depends on TP version; I know of no compatibility, except that TP7 and BP7 TPUs are compatible (TP7 does not insert Browse support). It is not possible to convert TPUs; the source is needed. The same goes for TPPs and TPWs, AFAIK. TPW1.0 generated *.TPU files, later windows-targetted compilers generated *.TPW files (all in similar formats).

Delphi for DOS

Makes Delphi 1.0 able to compile DOS/DPMI programs - bp8upd.zip 410122 bytes - an update to Borland Delphi 1.0 Run-Time Library. Freeware, Cosmin Truta <cosmint@cs.ubbcluj.ro>. Untested by JRS.

AIUI, each of the Delphi compilers can compile BP/TP style Pascal. For text-only programs, with no graphical user interface, use the WinCrt unit in Delphi 1, or {$APPTYPE CONSOLE} in Delphi 2 and up.

"Buy Delphi V1, use the command line compiler DCC.EXE with the undocumented switches -cp for protected mode and -cd for dos mode and modify the BP7 RTL source to get a V8 RTL. There are instructions for the later on http://www.pedt.demon.co.uk/". (AIUI, with these switches one gets TPP & TPU files; otherwise, Delphi gives DCUs.)

Coda

See News for Pascal newsgroups, both on UseNet and on Borland's own news-server. See the weekly UseNet comp.lang.pascal.borland mini-FAQ (ZIP, ZIP) and/or Compilers for the FreeWare compilers GNU Pascal and FPC Pascal.

Second-Hand Copies

OldTools or Index :- In comp.lang.pascal.borland on Sat, 18 Oct 1997, Eric Engelmann <eengelmann@worldbank.org> wrote :-

EMS Professional Software sells (and buys) old copies of Borland's Pascal products (and many other development tools). We have TP 4.0 in stock, and can get most other versions if you are patient. We only sell fully licensed versions with original media and manuals, except in unusual circumstances (someone has a bad diskette, for example).

EMSPS have "Borland/Inprise Pascal Versions", which "lists brief descriptions of Pascal versions, along with a brief list of features and shortcomings"; this actually says a lot about the contents of each version of the products.

Also such sources as eBay.

GRAPH.TPU

Those who are missing GRAPH.TPU are, aliter aequalis, generally assumed to be users of an incomplete, pirated copy of TP or BP. Likewise, perhaps, for those who cannot run a command-line compiler.

BP and TP in Windows

I invoke BP and TURBO in a Windows 98 DOS box by way of a batch file in a utilities directory; this may avoid some possible problems or the need for PIF files. It is said that using REGEDIT to remove TURBO.EXE from the Registry, or making a shortcut or an entry on the Start menu, also help; and that it is better to use TPX.EXE.

See also XP in TV.

NT4, Windows 2000

In NT4, BP7 DPMI mode, programs using mouse give RTE 216 on mouse movement. Can be fixed by changing, in drivers.pas, GetMouseState and InitEvents. Search News/Web with Google (try for Message-ID: <3BCACAEA.901F08B5@ngs.ru>); I know no more myself.

A similar problem is reported in Windows 2000.

For such problems and solutions - mouse, RTE216 - see the c.l.p.b mFAQ.

XP

RAHP wrote : All versions of TP/BP are compatible with XP (i.e. they run in XP's DOS box).

Turbo Vision

TV Supply

Pascal TV1.0 came as part of TP6; TV2.0 as part of BP7, and presumably (RSVP) of TP7. It provides a text-mode GUI-type environment, as was used for the TP6, TP7, BP7 IDEs.

Source Code

As I understand it, although Borland have released into the public domain the source code for the C++ version of Turbo Vision, they have not done so for the Pascal version (and, 1997-05-13, show distinct signs of not wanting to).

Graphic Vision

Jason Burgon <Jason@jayman.demon.co.uk> wrote :-
I have written Graphic Vision to be close to 100% TV compatible while still making full use of a hi-res graphics environment. GV uses its own very fast graphics engine which includes support for a 32×32 pixel redefinable mouse pointer. GV is available from my web site.

1999-10-12 : Graphic Vision, version 2, is announced as released.

2005-02-22 : New site noticed.

TVTOYS

Add-ons for TV v2.0 (I have used tvtoys02, to get different text modes up to 132×43) :-

  86226 Dec 18 1993 ftp://garbo.uwasa.fi/pc/turbovis/tvtoys04.zip
  tvtoys04.zip TV goodies, better HelpFile, Video, BP src

XP

I have read that TV applications - and the later IDEs are such - hog CPU time in WinXP. There is said to be a patch called BPFIX.EXE.

It has been said that the following code, used in an inner or idle loop, will release the current time-slice :-

procedure Idle ; assembler ;
asm  mov ax,352Fh ; int 21h ;
     mov ax,es ; or ax,bx ; jz @9 ;
     mov ax,1680h ; int 2Fh ;
  @9:  end ;

Crt Units

WinCrt

A FAQ :- Does anybody have WinCrt.tpu for Turbo Pascal 7.0? If so can you please send it to me?
No, for two reasons : it does not exist; and if it did it would be copyright - as has been frequently explained in News.

The WinCrt unit is used as if there were a file WINCRT.TPW, but it is actually supplied (AFAICS) in the library TPW.TPL; there is no WINCRT.TPU or WINCRT.TPP, either alone or in a *.TPL, since WinCrt is specifically for use in Windows programs. Any apparent need for TPU/TPP versions is due to a misunderstanding of the situation, and a different approach to the problem is needed; possibly using Crt instead, otherwise rethinking. Plain Turbo Pascal cannot generate Windows-mode programs (but it can generate programs that run in a DOS box).

See also NoCrt, on doing without Crt or WinCrt.

Startup, Error 200

My page Borland's Version 7 Pascals' Start-Up Runtime Error 200 (divide by zero); Pedt Scragg's Crt unit, 30kB zipfile.

WinCrt2

Unit WinCrt2 is/was on Borland's FTP site (wincrt2.zip), and is better than WinCrt; output can be redirected (not tried by JRS).

From a readme file, dated 9/14/95 (ugh!) :-

WinCRT2 is a replacement for the standard unit WinCRT. WinCRT2 behaves exactly like WinCRT but allows for up to 500 lines of preserved output and provides menu options for printing.

To use WinCRT2, copy the files WINCRT2.PAS, WINPRINT.PAS, and PRINTER.RES to where unit files are normally stored on your hard disk. In your program, replace references to WinCRT with WinCRT2. Then compile the program with either the Compile/Make option or the Compile/Build option. With TPCW, use the /M option or the /B option.

The need fulfilled by WINCRT2 is to provide students a method for printing "the run" of a program as required by teachers and professors of computer science.


Thanks to Antoine Leca and others for corrections.

Home Page
Mail: no HTML
© Dr J R Stockton, near London, UK.
All Rights Reserved.
These pages are tested mainly with Firefox 3.0 and W3's Tidy.
This site, http://www.merlyn.demon.co.uk/, is maintained by me.
Head.