HP 2640 explained

The HP 2640A and other HP 264X models were block-mode "smart" and intelligent ASCII standard serial terminals produced by Hewlett-Packard using the Intel 8008 and 8080 microprocessors.

History

The HP 2640A[1] was introduced in November 1974 at a list price of US$3000.[2] [3] [4] Based on the Intel 8008 CPU, it had 8 KB of ROM firmware and came standard with 1 KB of RAM, expandable up to 8 KB (two 4 KB semiconductor RAM cards). In September 1975 Hewlett-Packard introduced the HP 2644A, which was an HP 2640A with mass storage (two mini-tape cartridges, 110 KB each), for US$5000.[5] HP followed up in 1976 with the 2640B, an updated, cost-reduced version of the 2640A with a list price of US$2600,[6] along with three international versions: the Cyrillic-oriented 2640C, the Swedish/Finnish-oriented 2640S, and the Danish/Norwegian-oriented 2640N.[7] All of these early members of the 2640 series had the relatively slow 8008 CPU running at 700 kHz, and they were thus limited to speeds of 2400 baud. The 2640A and 2644A were discontinued in February 1977,[8] [9] but the 2640B remained in production until August 1981.[10]

In September 1976, HP introduced the 2645A, which could handle speeds up to 9600 baud and had a number of advanced features, including as an option the mini-tape cartridge storage of the 2644A.[11] The introductory list price was US$3500, or US$5100 with the cartridge storage option.[12] [13] The 2645A was the first terminal in the 2640 series to use the Intel 8080A, rather than the 8008, as its CPU. Almost all subsequent 2640-family terminals would have 8080A CPUs, all running at 2.5 MHz. The 2645A was followed in November 1976 by the 2641A, a 2645A derivative designed for the APL programming language,[14] and in April 1977 by the 2645R, a 2645 which supported right-to-left Arabic text as well as left-to-right text in Roman letters.[15] In July 1977, Hewlett-Packard introduced the 2648A graphics terminal, a 2645A derivative which added 720×360 black-and-white raster graphics in a separate graphics page that could overlay the main text memory.[16] This was joined in May 1978 by the 2647A programmable graphics terminal, which included its own BASIC interpreter.[17] In October 1980, HP introduced the 2642A, which was like the 2645A, but instead of optional tape cartridges it had a standard 5.25-inch floppy disk drive storing 270 KB per diskette.[18] The ultimate and final model in the 2640 series was the 2647F programmable graphics terminal introduced in June 1982, an improved replacement for the 2647A with the 2642A's floppy drive.[19] Unlike the preceding terminals in the 264X family that had 8080A CPUs, the 2647F used the faster Intel 8085A running at 4.9 MHz. HP kept the 264X family in production until early 1985.[20]

Model number

The HP catalogs usually refer to the terminal model as simply "2640A",and infrequently as "HP 2640", or "HP 2640A" (both with a blank after the "HP"), or "2640". The incorrect "HP2640" and "HP2640A" are often seen outside of HP.

Functionality

The functionality defined by the HP 264X series hasn't changed much as the preferred terminal for HP1000 and HP 3000 series computers. They never achieved the fame of the VT100 among programmers, but included sophisticated features not found in the VT100, such as offline forms, multipages, and (in some models) local storage.

The styling looked like vaguely like a microwave or toaster oven. It was boxy, with a "widescreen" aspect ratio for the reason that it gave the same character length as a punched card. This is still seen in the modern command window . HP had determined that the combination of a standard with the 25 line by 80 character display that was the standard of the time required the characters to have a very high profile. HP's response was to specify a CRT with an aspect ratio designed around the desired character shape instead of the other way around. Of course, this also mandated rather high manufacturing costs as standard parts could not be used.

HP took pains to further improve the rendering of displayed characters via half-pixel positioning of individual lines within each character. Although the character cell was only 7 horizontal by 9 vertical dots, half-pixel positioning effectively doubled the horizontal resolution to 14 dots,[21] giving the characters very smooth outlines. (The initial sales literature referred to it as using a 7×9 matrix generated in a 9×15 dot character cell).

All of this resulted in an extremely easy to read display with the dot-matrix nature, and the scan lines, almost invisible.

The keyboard had flat tops, similar to the HP 9800 series desktop computers rather than the curved contours now considered to be ergonomic. It featured three keypad areas: Alphabetic, numeric, and an array of cursor positioning and editing keys somewhat similar to modern PC keyboard layouts. There were also a number of smaller function and feature control keys arrayed in two rows above the normal keypad areas. The keyboard chassis was separate from the main body, connected via a thick cable. The keyboard used a bit-paired layout (similar to that on a teleprinter machine) rather than the typewriter-paired arrangement on DEC's VT100. Although large, users loved the keyboard because "it had a key for everything".

Similar to the HP desktop computers, it had a number of F-keys (F1 through F8) placed close to the screen. Paper templates were available for some application programs to which placed legends for these keys on the keyboard. Later models arranged these across the top row, and provided for screen labels close to their respective keys. Terminal configuration in the 262X series was done entirely through the screen-labeled function keys rather than dedicated keys and through escape sequences sent from the host computer. The on-screen labeling of the eight function keys, pioneered by the HP 300 ("Amigo") computer, was one of the first applications of a hierarchical menu which allows accessing many functions with a small number of keys. This arrangement is now common on TI graphic calculators, and automated teller and gas pump machines, though no longer used in GUI user interfaces.

Internally, the electronics used a motherboard with plug-in daughter cards. The microprocessor, memory, serial interface card, and various optional functions were each on separate cards. This permitted easy field maintenance, upgrades, and reconfiguration. For example, more memory (providing larger scrollback capability) could be easily added, the serial interface could be changed from RS-232 to current loop, etc. The optional tape drives of the 2645 model were interfaced via another plug-in card.The plug-in card capability strongly resembled the later Apple II expansion architecture.

The manufacturing area was across from R&D cubicles in the Data Terminals Division in Cupertino. The testing area was dubbed "beepland" because it had racks of 500 terminals, with the end of the test ending in a beep.

The HP 2640 introduced "block mode", similar to the IBM 3270 (although the IBM 3270 did not work for ASCII standard serial communications). The escape sequences Esc-[and Esc-] defined unprotected areas, but it didn't have to take up a visible space. It acted much like a web page, disconnected from the host until the SEND key was pressed. The fields could screen for alphabetic or numeric characters, a feature beyond Windows Forms today. This would be supported by programs such as DEL/3000 and VIEW/3000 which would map form data into runtime variables and databases. It also supported teletype character mode like a standard ASCII terminal, and did not need specialized communications like IBM.

The hardware was radically different from most "dumb" terminals in that the characters were not stored in a simple data array. To save memory, which could extend over several pages, characters were allocated as linked lists of blocks which were dynamically allocated. Display enhancements were encoded as embedded bytes in the stream. Software enhancements which did not affect the appearance such as dim or underline, but protected and unprotected fields were also coded with embedded bytes. The display hardware was capable of reading this unusual data structure. When the cost of memory came down by the 262X series, this was changed to a "parallel" structure with one bit for each enhancement code, but the logic required to emulate previous behaviors was complex. Inserting a code for underline would "propagate" to the next display enhancement, while deleting such a code would also have to be propagated to the next display byte or a cursor jump sequence was issued to jump several bytes. You could also completely turn off enhancements as well as provide protected only field enhancements. This data structure would inspire the sparse matrix data structure for the Twin spreadsheet.

The HP 2640 also introduced multiple pages of memory, much like the DOS box in Microsoft Windows today, and the page up and page down key which appears on PC keyboards.

Users learned to use the offline key to take the terminal offline, edit a line in the display buffer, and then retransmit it. This gave the effect of command line recall and editing even if the operating system did not support it. For example, when working at an operating system's command prompt, an erroneous command could quickly be corrected and re-sent without having to retype the entire line. This was possible in many terminals of the day, but the HP 2640 was smart enough to only retransmit the line from the first character typed by the user, omitting, for example, the operating system's command prompt. This was later implemented as "line mode". Another method was to paint a formatted screen in character mode with protected fields and place it into local edit mode similar to the above but the user did not know. This meant that the characters entered by the user would not be transmitted to the host until a 'special' key, typically the enter key, but other keys were also deemed special (i.e. immediate interrupt of the host) such as control y and function keys. Only the data within the unprotected areas would be transferred in this way, using a semi block mode mechanism, a sort of half way house between block mode and normal character mode, Formatted fields also meant forms could be stored in memory (tested for and recalled locally or repainted from the host if not present), just the unprotected data areas need be sent, thereby removing the need to repaint or issue direct cursor placements in order to update the screen (TIM/3000 Air Call Computer Systems). The PCL language was PCL level 3 in an HP645/7, which was later implemented to drive Hewlett Packard's first Laserjet printer.

HP Printer Control Language shares a common non-ANSI escape sequence grammar and common sequences with HP terminals.

In-house developers ported TinyBASIC to the HP 2645A, as well as developing several games in assembler (most notably "Keep On Drivin'", Tennis and Reversi).

Plotters could also be interfaced to using HP/GL 2 with TinyBasic.

Models

The HP 264X[22] series included several models beyond the HP 2640A.

The great over-reach was a color graphics terminal that cost more than the HP 2647 monochrome graphics workstation that sold very few units but cost a huge effort to develop.

Eventually, HP ended up selling essentially a low-cost version[28] of the HP 2640. Today, terminal emulators still implement the late 1970s feature set of these terminals on common PCs.

See also List of HP 26xx terminals (introduction, price, discontinuation)

External links

Notes and References

  1. James A. . Doub . Cost-Effective CRT Terminal is first of a family . Hewlett-Packard Journal . 26 . 10 . June 1975. 2–5 . 0018-1153 .
  2. Anderson . Tom . 2640 Press Tour . Data Systems Newsletter . Hewlett-Packard . 1 . 17 . 15 October 1974 . 4 .
  3. Hewlett-Packard . Announcing the HP 2640A CRT Terminal . Data Systems Newsletter . Hewlett-Packard . 2 . 1 . 1 November 1974 . 8–9 .
  4. Crt Terminal . Datamation . 20 . 11 . November 1974 . 146 .
  5. Hewlett-Packard . Introducing the HP 2644A Mini DataStation . Data Systems Newsletter . Hewlett-Packard . 2 . 24 . 19 September 1975 . 3 .
  6. Elliott . Jim . DTD Introduces the 2640B . Computer Systems Newsletter . Hewlett-Packard . 1 . 4 . 1 August 1976 . 8 .
  7. Elliott . Jim . Introducing the 2640S Swedish/Finnish and 2640N Danish/Norwegian International Display Terminals . Computer Systems Newsletter . Hewlett-Packard . 1 . 4 . 1 August 1976 . 8 .
  8. Anderson . Tom . 2640A and 2644A Being Discontinued . Computer Systems Newsletter . Hewlett-Packard . 2 . 3 . 1 December 1976 . 17 .
  9. Flock . Carl . No More—2640A or 2644A . Computer Systems Newsletter . Hewlett-Packard . 2 . 6 . 1 February 1977 . 10 .
  10. Flock . Carl . Top CRT Terminal Nears Retirement . Computer News . Hewlett-Packard . 6 . 16 . 1 July 1981 . 16 .
  11. Computerworld. Advertisement. 6 December 1976. IDG Enterprise. 14–15. 0010-4841.
  12. Hewlett-Packard . 2645A Display Station Announced . Computer Systems Newsletter . Hewlett-Packard . 1 . 6 . 1 September 1976 . 12–17 .
  13. Hewlett-Packard . Hewlett-Packard Announces the 2645 [advertisement] . Datamation . 22 . 9 . September 1976 . 45–47 .
  14. Flock . Carl . The 2641A APL Display Station Is Here! . Computer Systems Newsletter . Hewlett-Packard . 2 . 2 . 15 November 1976 . 12–17 .
  15. Goodreau . Dave . Unveiling the 2645R! . Computer Systems Newsletter . Hewlett-Packard . 2 . 10 . 1 April 1977 . 16 .
  16. Elliott . Jim . Hewlett-Packard Introduces First Graphics CRT Terminal . Computer Systems Newsletter . Hewlett-Packard . 2 . 17 . 15 July 1977 . 13–18 .
  17. Ferguson . Rich . Introducing The 2647A Intelligent Graphics Terminal . Computer Systems Newsletter . Hewlett-Packard . 3 . 13 . 15 May 1978 . 8–11 .
  18. Cox . Jeff . Announcing the HP 2642A . Computer News . Hewlett-Packard . 5 . 22 . 1 October 1980 . 15 .
  19. Washington . Ed . Introducing the HP 2647F Intelligent Graphics Terminal . Computer News . Hewlett-Packard . 7 . 15 . 15 June 1982 . 24 .
  20. Bebb . Bob . HP 264X terminals to be obsoleted . Computer News . Hewlett-Packard . 9 . 13 . 15 May 1984 . 23 .
  21. Jean-Claude . Roy . A High-Resolution Raster Scan Display. Hewlett-Packard Journal . 26 . 10 . June 1975. 11–15 . 0018-1153 .
  22. Web site: 264X documentation . 2007-11-21 . HP Computer Museum .
  23. Robert G. . Nordman . Richard L. Smith . Louis A. Witkin . New CRT Terminal Has Magnetic Tape Storage for Expanded Capability. Hewlett-Packard Journal . 27 . 9 . May 1976. 2–8 . 0018-1153 .
  24. Peter D. . Dickinson. Versatile Low-Cost Graphics Terminal Is Designed for Ease of Use. Hewlett-Packard Journal . 29 . 5 . January 1978. 2–6 . 0018-1153 .
  25. Web site: 262X documentation . 2007-11-21 . HP Computer Museum .
  26. Gary C. . Staas . New Display Station Offers Multiple Screen Windows and Dual Data Communications Ports . Hewlett-Packard Journal . 32 . 3 . March 1981. 3–7 . 0018-1153 .
  27. Web site: 2382A documentation . 2007-11-21 . HP Computer Museum .
  28. Jean-Louis . Chapuis. Michèle Prieur. Low-Cost, Compact, Block-Mode Computer Terminal . Hewlett-Packard Journal . 36 . 4 . April 1985. 4–7 . 0018-1153 .