HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
|
06-21-2020, 08:27 AM
Post: #1
|
|||
|
|||
HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
I would like to use Turbo pascal on my HP 110 Portable Plus.
On the one hand it offers a small and capable editor, on the other hand it is a nice tool for developing small programs. Turbo Pascal evolved from generic CP/M-80, CP/M-86, MS-DOS systems to versions tailored specifically for PC-DOS and the IBM PC hardware. The TINST program reflects this development - the early versions offered many predefined terminal configurations and allowed defining individual terminal configurations. The early MS-DOS version provided the same terminal configuration options as the CP/M versions. The later PC-DOS versions only provided a handful of predefined screen definitions specific for the IBM PC. I am looking for the last version of Turbo pascal for generic MS-DOS systems. All archives in the internet seem to have 3.0, 3.01, 3.02 for PC-DOS only. These versions incorporate direct access to screen memory and similar PC specific features. They will not work on a generic MS-DOS 2 or 3 system like the HP 110 or the HP 150. I know that such a version existed for the HP 150 - it was also distributed by HP and could be adapted e.g. to the HP 110. So: does someone have a copy of Turbo Pascal 3.x or at least 2.x for MS-DOS which he could make available? Martin PS: forgive me for cross-posting this inquiry also in groups.io for vintage HP computers. |
|||
06-21-2020, 12:17 PM
Post: #2
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
I was not aware there were different 3.0x versions for different hardware. I used version 3 up to 5 when I studied, but always on PC hardware so the floppies with version 5 I must have somewhere would contain, if they are still readable, the IBM compatible version.
But the old Turbo Pascal versions have been made available as source code. I looked at it because they always said Turbo Pascal was written in Turbo Pascal. Well, sort of. All methods were in Pascal, but they all contained only embedded assembler code so porting it to a different environment would have been a very tedious task. |
|||
06-21-2020, 12:48 PM
Post: #3
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
(06-21-2020 08:27 AM)Martin Hepperle Wrote: I would like to use Turbo pascal on my HP 110 Portable Plus. Some of our usual contributors could possibly still have something interesting for you. Greetings, Massimo -+×÷ ↔ left is right and right is wrong |
|||
06-21-2020, 03:39 PM
Post: #4
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
(06-21-2020 08:27 AM)Martin Hepperle Wrote: So: does someone have a copy of Turbo Pascal 3.x or at least 2.x for MS-DOS which he could make available? Hi Martin, There're early versions here. https://winworldpc.com/product/turbo-pascal/2x Dave |
|||
06-21-2020, 05:58 PM
(This post was last modified: 06-21-2020 06:00 PM by Martin Hepperle.)
Post: #5
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
thank you for your replies ... all the versions I have seen and downloaded so far have been the PC-DOS version (1.0, 2.0, 3.0, 3.01, 3.02), which do not allow configuring the terminal control sequences (e.g. for cursor positioning) - only the keyboard abbreviations.
They are for PC-DOS respectively IBM-PC compatibles and directly access the display memory. Therefore, they are working only on a true IBM compatible with monochrome or color graphics adapter. I guess that only a small quantity of the generic MS-DOS version was sold - for example by Hal Goldstein of "Portable Paper" fame. Borland obviously offered them configured for the HP 150. |
|||
06-21-2020, 06:07 PM
(This post was last modified: 06-21-2020 06:23 PM by Dave Frederickson.)
Post: #6
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
Perhaps try contacting Hal. He is a member of the forum.
Edit: Hal also distributed TP version 4 for the Vectra Portable. You might expand your search to include that version. |
|||
06-21-2020, 06:53 PM
Post: #7
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
Here you can find a 3.02 MS-DOS version.
This is TINST.MSG content (looks like keys and screen are configurable): Code:
Greetings, Massimo -+×÷ ↔ left is right and right is wrong |
|||
06-21-2020, 07:12 PM
Post: #8
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
(06-21-2020 05:58 PM)Martin Hepperle Wrote: thank you for your replies ... all the versions I have seen and downloaded so far have been the PC-DOS version (1.0, 2.0, 3.0, 3.01, 3.02), which do not allow configuring the terminal control sequences (e.g. for cursor positioning) - only the keyboard abbreviations. Maybe the NEC APC or Siemens PC-D versions of Turbo Pascal 3.01A would work? — Ian Abbott |
|||
06-21-2020, 09:06 PM
(This post was last modified: 06-21-2020 09:29 PM by Martin Hepperle.)
Post: #9
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
Dear all,
as it often is the case - just 5 minutes (nah, more like 15 hours) after asking, I finally found a copy of Turbo Pascal 3.00B for generic MS-DOS machines. I have downloaded about 20 different TP archives (often the same content, just repackaged) and only one of them was the MS-DOS variant. Adapted with the installer program, it now runs fine on the Portable Plus. Because the installation is somewhat tedious, I attach the installed version, ready to run. As is, it will not run on the 110 Portable - you must use TINST to change the dimensions according to the smaller screen. (see The Portable Paper, January 1986). Thank you all for your replies and suggestions, Martin PS: this version came with TINST definitions for the HP 150 - I replaced them with the parameters for the Portable Plus. The original disk can be downloaded here: https://archive.org/details/borlandturbopascal3.01985 |
|||
06-22-2020, 07:16 AM
Post: #10
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
Many thanks, Martin, for sharing this great finding.
When I will have some time (and when I will have fixed -again- the dead battery) I will put it in a 27C512 EPROM. Then I will have to remember how to program with TP3... J-F |
|||
06-22-2020, 11:29 AM
Post: #11
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
(06-22-2020 07:16 AM)J-F Garnier Wrote: Many thanks, Martin, for sharing this great finding. The battery could also be replaced with a power supply, if your have a 6V one available. Otherwise: I used these Cyclon/Hawker 2V cells to replace the battery about 2 years ago and try to regularly recharge them to keep them in good health. [It is always the question whether it is worth to replace batteries which will die a natural death 3-5 years later. I now almost follow a regular "charging plan" with all those batteries for HP-IL printer and cassette, Voltmeter, Portables, Thinkjets, 9114s, what else...] The nice thing is that Turbo Pascal needs less than 64 KB disk space - you can even leave off the error messages. And due to this "size", the editor starts up quite fast and can be used for all kind of text file editing. I also have Turbo-C running on the Portable Plus, but only the command line version TCC with MAKE and LINK and the small memory libraries. The GUI/IDE does not work because of the direct screen memory access. While Turbo Pascal programs are limited to 64 KB (still enough for many small to medium size tools) Turbo-C programs can be larger, depending on memory model. My plan is to make a small Turbo Pascal include file of HP-IL routines for talking to e.g. the 3468 Voltmeter or 3421 Data Acquisition box. I have done that for Turbo C, but the development cycle is much slower than with Turbo Pascal. Let us know, when you have an EPROM image ready - I also would like to burn one (a single half-bank EPSOM should be enough). I have just re-read the EPROM burning manuals and experimented bit with EDISK.SYS, but not really created something. Martin |
|||
06-23-2020, 06:17 PM
Post: #12
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
In the meantime I found that TURBO.COM can be reduced in size by a about 3 KB by converting it first to TURBO.EXE (using COMTOEXE.EXE) and then applying LZ.EXE to the result.
These two tools can be found on the 1991 Portable Paper subscriber disk. They do not work on the Portable, so this compression has to take place on another MS-DOS computer. If EPROM or EDISK space is limited, this can be helpful. The resulting program still starts rapidly and runs without problems. I have also experimented with the Portable Plus and its HP-IL interrupt. No problems identifying devices and reading the 3468 voltmeter and print to the 82162 printer. However, I am having problems to change the voltmeter settings or display a message. It seems to ignore my output (while the printer accepts it). So I have to re-read the HP-IL documentation concerning addressing and frame sequence. Maybe I need to send a REMOTE command first. |
|||
06-24-2020, 07:30 AM
Post: #13
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
Dear All,
thank you for this thread, the discussion and the links. Now I got back Turbo Pascal on my old MS-DOS system and a lot of memories of times Long past. I found Turbo C, too, but I couldn't find Turbo Assembler for MS-DOS. Does anyone know where I can get Turbo Assembler? Thank you very much in Advance. Best regards Karl |
|||
06-24-2020, 07:54 AM
Post: #14
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC) | |||
06-24-2020, 01:00 PM
Post: #15
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
(06-24-2020 07:54 AM)Martin Hepperle Wrote: Maybe have a look here: Version 3 is here! Greetings, Massimo -+×÷ ↔ left is right and right is wrong |
|||
06-24-2020, 03:45 PM
Post: #16
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC) | |||
06-25-2020, 09:56 AM
Post: #17
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
Hello Martin & Dave,
thank you very much for your response. My first attempt to download from the link Martin sent was unsuccessfull, but the second try succeeded. Best regards and stay healthy Karl |
|||
06-25-2020, 10:07 AM
Post: #18
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
(06-23-2020 06:17 PM)Martin Hepperle Wrote: I have also experimented with the Portable Plus and its HP-IL interrupt. No problems identifying devices and reading the 3468 voltmeter and print to the 82162 printer. However, I am having problems to change the voltmeter settings or display a message. It seems to ignore my output (while the printer accepts it). So I have to re-read the HP-IL documentation concerning addressing and frame sequence. Maybe I need to send a REMOTE command first. Yes, you must send a REN (Remote Enable) command before being able to send commands to the 3468. The remote state will be effective when you will then send a command (REN enables the remote mode, but doesn't switch to remote state), and the RMT indicator will appear on the display. J-F |
|||
06-25-2020, 06:55 PM
(This post was last modified: 06-25-2020 06:55 PM by Martin Hepperle.)
Post: #19
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
Jean-Francois,
thank you for your reply - with your additional comments on terminating commands with CR/LF I now modified my code to use CR/LF but NOT to set the END bit and this combination worked. In my previous tests I had already experimented with the terminator CR/LF but also applied the END bit to the last (LF) character and this obviously confused the 3468. Without the END bit it works. Now I can refine my Pascal library to recreate a command syntax similar to the HP 71 HP-IL interface. Thank you for your help, Martin |
|||
12-19-2020, 03:44 PM
Post: #20
|
|||
|
|||
RE: HP 110, 150: Looking for Turbo Pascal Version 3.02 for MS-DOS (not PC-DOS/IBM PC)
Here are links to ROM images for Turbo Pascal 3.01A for MS-DOS and 3.02A for PC-DOS.
https://drive.google.com/file/d/1C4yosBZ...sp=sharing https://drive.google.com/file/d/1AitoS2d...sp=sharing Dave |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)