Programmable calculator
   HOME

TheInfoList



OR:

Programmable calculators are calculators that can automatically carry out a sequence of operations under control of a stored
program Program, programme, programmer, or programming may refer to: Business and management * Program management, the process of managing several related projects * Time management * Program, a part of planning Arts and entertainment Audio * Programm ...
. Most are
Turing complete Alan Mathison Turing (; 23 June 1912 – 7 June 1954) was an English mathematician, computer scientist, logician, cryptanalyst, philosopher, and theoretical biologist. Turing was highly influential in the development of theoretical ...
, and, as such, are theoretically general-purpose computers. However, their user interfaces and programming environments are specifically tailored to make performing small-scale numerical computations convenient, rather than general-purpose use. The first programmable calculators such as the IBM CPC used punched cards or other media for program storage. Hand-held electronic calculators store programs on magnetic strips, removable read-only memory cartridges, flash memory, or in battery-backed read/write memory. Since the early 1990s, most of these flexible handheld units belong to the class of graphing calculators. Before the mass-manufacture of inexpensive dot-matrix LCDs, however, programmable calculators usually featured a one-line numeric or alphanumeric display. The Big Four manufacturers of programmable calculators are
Casio is a Japanese multinational electronics manufacturing corporation headquartered in Shibuya, Tokyo, Japan. Its products include calculators, mobile phones, digital cameras, electronic musical instruments, and analogue and digital watches. ...
, Hewlett-Packard,
Sharp Sharp or SHARP may refer to: Acronyms * SHARP (helmet ratings) (Safety Helmet Assessment and Rating Programme), a British motorcycle helmet safety rating scheme * Self Help Addiction Recovery Program, a charitable organisation founded in 199 ...
, and Texas Instruments. All of the above have also made
pocket computer A pocket computer was a 1980s-era user programmable calculator-sized computer that had fewer screen lines, Some had only one line and often fewer characters per line, than the Pocket-sized computers introduced beginning in 1989. Manufacturers in ...
s in the past, especially Casio and Sharp. Many calculators of this type are monochrome LCD, some are four-color (red or orange, green, blue, and black), or, in the case of some machines at the top of the line as of January 2022 color similar to monitors displaying 16 or 32-bit graphics. As they are used for graphing functions, the screens of these machines are pixel-addressable. Some have a touch screen, buzzers or other sound producers, internal clocks, modems or other connectivity devices including IrDA transceivers, several types of ports for peripherals like printers, and ports for memory cards of a number of types. The wide availability and low cost of
personal computer A personal computer (PC) is a multi-purpose microcomputer whose size, capabilities, and price make it feasible for individual use. Personal computers are intended to be operated directly by an end user, rather than by a computer expert or te ...
s including laptop computers,
smartphone A smartphone is a portable computer device that combines mobile telephone and computing functions into one unit. They are distinguished from feature phones by their stronger hardware capabilities and extensive mobile operating systems, whi ...
s and tablets gradually made programmable calculators obsolete for most applications. However, they remain popular in
secondary education Secondary education or post-primary education covers two phases on the International Standard Classification of Education scale. Level 2 or lower secondary education (less commonly junior secondary education) is considered the second and final ph ...
. Specific calculator models are often required for use in many mathematics courses. Their continued use in education is usually justified by the strictly controllable functionality available. For instance, the calculators do not typically have direct Internet access and so cannot be used for illegal assistance in exams. The remaining programmable calculator manufacturers devote much effort to encourage the continued use of these calculators in high school mathematics.


Earlier devices


Calculator programming

Programmable calculators allow the user to write and store
programs Program, programme, programmer, or programming may refer to: Business and management * Program management, the process of managing several related projects * Time management * Program, a part of planning Arts and entertainment Audio * Progra ...
in the calculator in order to solve difficult problems or automate an elaborate procedure. Programming capability appears most commonly (although not exclusively) in graphing calculators, as the larger screen allows multiple lines of
source code In computing, source code, or simply code, is any collection of code, with or without comments, written using a human-readable programming language, usually as plain text. The source code of a program is specially designed to facilitate the ...
to be viewed simultaneously (i.e., without having to scroll to the next/previous display line). Originally, calculator programming had to be done in the calculator's own command language, but as calculator hackers discovered ways to bypass the main interface of the calculators and write assembly language programs, calculator companies (particularly Texas Instruments) began to support native-mode programming on their calculator hardware, first revealing the hooks used to enable such code to operate, and later explicitly building in facilities to handle such programs directly from the user interface. Many programs written for calculators can be found on the
internet The Internet (or internet) is the global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a '' network of networks'' that consists of private, p ...
. Users can download the programs to a
personal computer A personal computer (PC) is a multi-purpose microcomputer whose size, capabilities, and price make it feasible for individual use. Personal computers are intended to be operated directly by an end user, rather than by a computer expert or te ...
, and then upload them to the calculator using a specialized link cable, infrared wireless link, or through a memory card. Sometimes these programs can also be run through emulators on the PC. Programming these machines can be done on the machine, on the PC side and uploaded as source code, or compiled on the PC side and uploaded as with Flash and some C/C++ implementations. In addition to computer-side language packages such as tigcc, hpgcc, and others, the PC link software available for TI, HP, Casio, and Sharp calculators contain program editors; there are also SDKs, emulators, and other tools for use on the computer side, and other manufacturer and third-party tools like the TI++ editor. Programs, data, and so forth can also be exchanged among similar machines via the same ports on the calculator used for PC connectivity. On-board programming tools which use non-native language implementations include the On-Board C Compiler for fx series Casio calculators and the TI-83 BBC Basic port. One possibility arising from the above is writing interpreters, compilers, and translator programs for additional languages for programming the machines; BBC Basic has already been ported to the TI-83 and -84 series and other onboard languages and programming tools discussed by many include Fortran, awk, Pascal, Rexx, Perl, Common Lisp, Python, tcl, and various Unix shells. Commonly available programs for calculators include everything from math/
science Science is a systematic endeavor that builds and organizes knowledge in the form of testable explanations and predictions about the universe. Science may be as old as the human species, and some of the earliest archeological evidence ...
related problem solvers to video games, as well as so-called demos. Much of this code is user-created freeware or even open source, though commercial software, particularly for educational and science/engineering markets, is also available. Programmable calculators have major websites with information, documentation, message boards, tools for download, and other things useful for this pursuit; the main sites for each manufacturer's calculators are run by third parties with varying degrees of collaboration from the companies themselves: namely HPCalc.org, TICalc.org, and CasioCalc.org, (qqv.) with the SharpCalc.org domain being recently purchased by an organization which indicated intent to produce a site similar to the other three, plus information on Sharp pocket computers. The companies themselves also have sites such as TIEducation.com with information and tools for the machines. File:TI-59 programmable calculator with magnetic card.jpg, A TI-59 with a magnetic storage card being inserted into the card reader on the side. File:HP-41CX.jpg, HP-41CX with magnetic card reader and thermal printer File:Elektronika MK-52.JPG, A complete range of programmable calculators were developed in former
USSR The Soviet Union,. officially the Union of Soviet Socialist Republics. (USSR),. was a transcontinental country that spanned much of Eurasia from 1922 to 1991. A flagship communist state, it was nominally a federal union of fifteen nati ...
. Some of them (like this MK-52), was used even in space missions. File:CASIO FX-602P Programmable Calculator.png, An older model FX-602P in working condition File:Hp50.png,
HP 50g The HP 49/50 series are Hewlett-Packard (HP) manufactured graphing calculators. They are the successors of the popular HP 48 series. There are five calculators in the 49/50 series of HP graphing calculators. These calculators have both a ...
graphing calculator, with the Equation Editor being used File:CasioClassPad300.JPG,
Casio ClassPad 300 The Casio ClassPad 300, ClassPad 330 and fx-CP400 are stylus based touch-screen graphing calculators. It comes with a collection of applications that support self-study, like 3D Graph, Geometry, eActivity, Spreadsheet, etc. A large 160x240 pixel ...
touch screen calculator File:Computer algebra system.jpg, TI-Nspire from Texas Instruments


Programming languages


Keystroke programming

In the early days, most programmable calculators used a very simplified programming language, often based either on recording actual keystrokes or
bytecode Bytecode (also called portable code or p-code) is a form of instruction set designed for efficient execution by a software interpreter. Unlike human-readable source code, bytecodes are compact numeric codes, constants, and references (norma ...
if the keystrokes were merged. Calculators supporting such programming were
Turing-complete In computability theory, a system of data-manipulation rules (such as a computer's instruction set, a programming language, or a cellular automaton) is said to be Turing-complete or computationally universal if it can be used to simulate any ...
if they supported both conditional statements and indirect addressing of memory. Notable examples of Turing complete calculators were
Casio FX-602P series The FX-601P and FX-602P were programmable calculators, manufactured by Casio from 1981. It was the successor model to the Casio FX-502P series and was itself succeeded in 1990 by the Casio FX-603P. Display The FX-601P series featured a single l ...
, the HP-41 and the TI-59. Keystroke programming is still used in mid-range calculators like the HP 35s and HP-12C.


BASIC

BASIC is a widespread programming language commonly adapted to desktop computers and pocket computers. The most common languages now used in high range calculators are proprietary BASIC-style dialects as used by
Casio is a Japanese multinational electronics manufacturing corporation headquartered in Shibuya, Tokyo, Japan. Its products include calculators, mobile phones, digital cameras, electronic musical instruments, and analogue and digital watches. ...
( Casio BASIC or BasicLike) and TI ( TI-BASIC). These BASIC dialects are optimised for calculator use, combining the advantages of BASIC and keystroke programming. They have little in common with mainstream BASIC. The version for the Ti-89 and subsequent is more fully featured, including the full set of string and character manipulation functions and statements in standard Basic. A complete port of BBC Basic to the TI-83 subfamily of calculators is now available. It is installed via a cable or IrDA connection with a computer.


RPL

RPL is a special
Forth Forth or FORTH may refer to: Arts and entertainment * ''forth'' magazine, an Internet magazine * ''Forth'' (album), by The Verve, 2008 * ''Forth'', a 2011 album by Proto-Kaw * Radio Forth, a group of independent local radio stations in Scotla ...
-like programming language used by Hewlett- Packard in its high range devices. The first device with RPL calculator was the HP-28C released in 1987. The language PPL was introduced with the HP Prime calculator and is much like
Pascal Pascal, Pascal's or PASCAL may refer to: People and fictional characters * Pascal (given name), including a list of people with the name * Pascal (surname), including a list of people and fictional characters with the name ** Blaise Pascal, Frenc ...
.


Assembly

An assembler integrated into the TI 89 and related calculators were announced and released in 2014. Machine language programming was often discouraged on early calculator models; however, dedicated platform hackers discovered ways to bypass the built-in interpreters on some models and program the calculator directly in assembly language, a technique that was first discovered and utilized on the TI-85 due to a programming flaw in a mode-switching key. By the time the TI-83 came out, TI and HP had realized the need to address the support needs of homebrew programmers, and started to make assembly language libraries and documentation available for prospective developers. Software, particularly games, could now be nearly as fast and as graphical as their
Game Boy The is an 8-bit fourth generation handheld game console developed and manufactured by Nintendo. It was first released in Japan on April 21, 1989, in North America later the same year, and in Europe in late 1990. It was designed by the same t ...
counterparts, and TI, in particular, would later formalize assembly programming into support for packaged applications for future calculators such as the TI-83 Plus and TI-89; HP includes some onboard support for assembler programming on the HP-50g, its current top-of-the-line calculator model. Programs and toolkits to allow on-board assembly-like programming (often Intel 80x86 even if the actual processor in the calculator is something completely different like a Zilog or Motorola chip) are in the beta stage in at least two implementations—the native Basic variant can be enhanced by user-defined functions and procedures as well as assembly and C modules developed on a computer and uploaded to the calculator which allow for writing and running "pseudo assembly" programs just as one would the Basic type ones. Other languages like Rexx, awk, Perl, and some Unix shells can also be implemented in this fashion on many calculators of this type.


Other Languages

The GCC development suite is available for several models of Casio, HP, and TI calculators, meaning that C, C++, Fortran 77, and inline assembly language can be used to develop a program on the computer side and then upload it to the calculator. Projects in development by third parties include on-board and/or computer-side converters, interpreters, code generators, macro assemblers, or compilers for Fortran, other Basic variants, awk, C, Cobol, Rexx,
Perl Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it also referred to its redesigned "sister language", Perl 6, before the latter's name was offic ...
, Python, Tcl,
Pascal Pascal, Pascal's or PASCAL may refer to: People and fictional characters * Pascal (given name), including a list of people with the name * Pascal (surname), including a list of people and fictional characters with the name ** Blaise Pascal, Frenc ...
, Delphi, and operating system shells like DOS/Win95 batch, OS/2 batch, WinNT/2000 shell, Unix shells, and DCL. Many TI, Casio, Sharp, and HP models have Lua interpreters which are part of the default configuration or can be optionally added. Some calculators run a subset of Fortran 77 called Mini-Fortran; the compiler is on the calculator so connecting to a PC to put programs onto the machine is not needed. The OnCalc C Compiler for the Casio fx-9860 series is now available. The Sharp PC G850V pocket computer has an onboard C compiler in addition to an assembler and a Basic interpreter.


Persistent memory

One important feature of programmable calculators is the availability of some form of persistent memory. Without persistent memory, programs have to be re-entered whenever power is lost, making the device cumbersome. Persistent memory can be internal or on a separate device. Some programmable calculators employ both schemes.


Magnetic card reader / writer

Magnetic card readers were among the first persistent memory options available. The entered programs are stored on magnetic strips. Those were easy to transport, and the reader/writer was compact in size. However, the reader/writer as well as the magnetic strips were quite expensive. The last and most notable devices to use magnetic strips were the HP-41C and TI-59.


Continuous memory

Continuous memory does not lose its content when the calculator is switched off. With continuous memory the user can, for example, change batteries without losing the entered programs.


Cassette tape

Compact Cassettes offered a simple, inexpensive alternative to magnetic cards. Usually, an interface module, such as the
Casio FA-1 FA1 or FA-1 may refer to : * Arrows FA1, a racing car * FA-1 (cable system), a fiber cable crossing the Atlantic * Fresh Aire, the first album in the Fresh Aire album series * ALCO FA-1, a diesel-electric locomotive * Formula Acceleration 1, a for ...
, was used to connect the calculator to an ordinary cassette recorder, and digital data were encoded as frequency-shift keyed audio signals.
Sharp Sharp or SHARP may refer to: Acronyms * SHARP (helmet ratings) (Safety Helmet Assessment and Rating Programme), a British motorcycle helmet safety rating scheme * Self Help Addiction Recovery Program, a charitable organisation founded in 199 ...
and Hewlett-Packard also sold dedicated micro- or mini-cassette recorders that connected directly to the calculator. These set-ups, while being more practical and reliable, we're also more expensive.


Semi-continuous memory

As memory demands rose, it became more difficult to create true continuous memory and developers sought alternatives. With semi-continuous memory content was only preserved if specific battery-changing rules were observed. The most common rules were: # A special backup battery would ensure that the memory was not lost while the main batteries were changed. # Battery removal and replacement had to be completed in a relatively short time. For example, with the HP 35s, battery replacement had to be completed in less than 2 minutes after removal. # At least two main batteries were used and could only be changed one at a time.


PC-connection

Programs and data are transferred to a
personal computer A personal computer (PC) is a multi-purpose microcomputer whose size, capabilities, and price make it feasible for individual use. Personal computers are intended to be operated directly by an end user, rather than by a computer expert or te ...
for storage. The transfer is done by the following connection methods (chronological order of appearance)
RS-232 In telecommunications, RS-232 or Recommended Standard 232 is a standard originally introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' ('' data terminal equipment'') suc ...
,
IrDA The Infrared Data Association (IrDA) is an industry-driven interest group that was founded in 1994 by around 50 companies. IrDA provides specifications for a complete set of protocols for wireless infrared communications, and the name "IrDA" also ...
and USB. This method has the advantage of being very cost-efficient and is usually faster than the cassette interface. These advantages are offset by the need for a personal computer. An early example of a PC connection is the Casio FX-603P in conjunction with the Casio FA-6 interface. In this set-up, transfer was done in plain text so the program and data could be stored and
edited Editing is the process of selecting and preparing written, photographic, visual, audible, or cinematic material used by a person or an entity to convey a message or information. The editing process can involve correction, condensation, org ...
with a standard text editor.


Flash memory


Programmable calculators and pocket computers

Throughout the 1980s and the beginning of the 1990s, programmable calculators stood in competition with
pocket computer A pocket computer was a 1980s-era user programmable calculator-sized computer that had fewer screen lines, Some had only one line and often fewer characters per line, than the Pocket-sized computers introduced beginning in 1989. Manufacturers in ...
s, with high-end calculators sharing many similarities. For example, both devices types were programmable in unstructured BASIC and with few exceptions featured
QWERTY QWERTY () is a keyboard layout for Latin-script alphabets. The name comes from the order of the first six keys on the top left letter row of the keyboard ( ). The QWERTY design is based on a layout created for the Sholes and Glidden ty ...
keyboards. However, there were also some differences: * BASIC-programmable calculators often featured an additional "calculator-like" keyboard and a special calculator mode in which the system behaved like a scientific calculator. * Pocket computers often offered additional programming languages as option. The Casio PB-2000 for example offered ANSI-C, BASIC, Assembler and Lisp. Companies often had both device types in their product portfolio. Casio, for example, sold some BASIC-programmable calculators as part of their "fx-" calculator seriesThe picture of th
FX-700P
an

show the text "programmable calculator"
and pocket computer the dedicated "pb-" series while
Sharp Sharp or SHARP may refer to: Acronyms * SHARP (helmet ratings) (Safety Helmet Assessment and Rating Programme), a British motorcycle helmet safety rating scheme * Self Help Addiction Recovery Program, a charitable organisation founded in 199 ...
marketed all BASIC-programmable devices as pocket computers.


Related tools

Some programmable calculators have one or more methods of connecting to a PC for the interchange of data, programs, and software. These methods include IrDA, other wireless, serial ports -including USB or RS-232 via.125 inch or other size audio plugs, etc. Some of the latest programmable calculators contain cellular modems as an additional channel of connectivity. The programmable calculators can in many cases, via these connections, be used with peripherals such as data loggers and interfaces for instruments like thermometers, pH meters, weather instruments of all kinds, light meters, audio probes and microphones, dynamometers, pressure gauges, voltmeters, ammeters, ohm meters, atmospheric electricity measurement apparatus, ion counters, Geiger counters and scintillometers, altimeters, scales, accelerometers, and many others. Some machines can be used with oscilloscopes and their peripherals as well. Others can be configured—for example, collecting bio-feedback data by connecting devices for a pulse, blood pressure, oxygen saturation, galvanic skin resistance, body temperature, and even EKG and EEG probes to a data logger which is then connected to the calculator and, then or later, a PC. The HP programmables and others have an IrDA interface which allows them to interface with the printers specially designed for the calculators, HP's main lines of laser printers, computers, other calculators, and other devices. Also commonly available from many companies are small printers made specifically for calculators which tend to use cash register tape paper, ports and cables for connecting the calculators to a computer and/or another calculator, cassette recorders for recording programs and data, overhead projector displays, and connectors for auxiliary display devices. The earlier programmable calculators, as well as the pocket computers mentioned above, also had such things as video interfaces for televisions and composite monitors, 2½ inch mini floppy disc drives, bar-code readers, and standard
RS-232 In telecommunications, RS-232 or Recommended Standard 232 is a standard originally introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' ('' data terminal equipment'') suc ...
connectivity which provided for other such things as modems, external hard drives and more. The printer selection for the pocket computers was a bit wider as well, including thermal, impact, dot matrix, daisy wheel, 4-colour pen, printers of the type used in simpler printing calculators. Some calculators and pocket computers had external 3½ and 5¼ inch floppy drives, cables for connecting two cassette recorders, cradles containing a printer and/or cassette recorder into which the machine slid, and so on. It is also possible to connect some machines to certain electric typewriters for use as a printer (the typewriters are also able to be connected to PCs for this purpose, and the interface tends to be a standard RS-232 and/or DIN plug), and in some cases to access the typewriter's floppy or micro floppy drives.


List of selected programmable calculators

;
Casio is a Japanese multinational electronics manufacturing corporation headquartered in Shibuya, Tokyo, Japan. Its products include calculators, mobile phones, digital cameras, electronic musical instruments, and analogue and digital watches. ...
: Casio FX-502P series ·
Casio FX-602P series The FX-601P and FX-602P were programmable calculators, manufactured by Casio from 1981. It was the successor model to the Casio FX-502P series and was itself succeeded in 1990 by the Casio FX-603P. Display The FX-601P series featured a single l ...
· Casio FX-603P · FX-702P · FX-850P · Casio 9850 series · Casio 9860 series ·
Casio ClassPad 300 The Casio ClassPad 300, ClassPad 330 and fx-CP400 are stylus based touch-screen graphing calculators. It comes with a collection of applications that support self-study, like 3D Graph, Geometry, eActivity, Spreadsheet, etc. A large 160x240 pixel ...
; Elektronika : B3-21 ·
B3-34 Elektronika B3-34 (Cyrillic: Электроника Б3-34) was a Soviet programmable calculator. It was released in 1980 and was sold for 85 rubles. B3-34 used reverse Polish notation and had 98 bytes of instruction memory, four stack user regis ...
· MK-61 · MK-52 ; Hewlett-Packard : HP-19C · HP-25 ·
HP-25C The HP-25 was a hand-held programmable scientific/engineering calculator made by Hewlett-Packard between early January 1975 and 1978. The HP-25 was introduced as a cheaper ( US$195 MSRP) alternative to the ground-breaking HP-65. To reduce cost ...
· HP-28C · HP-28S · HP-29C · HP-32S · HP-32sII · HP 35s · HP-41C · HP-41CV · HP-41CX · HP-42S · HP-48SX · HP-48G · HP-48GX ·
HP-49 The HP 49/50 series are Hewlett-Packard (HP) manufactured graphing calculators. They are the successors of the popular HP 48 series. There are five calculators in the 49/50 series of HP graphing calculators. These calculators have both a ...
· HP-50 · HP-65·
HP-67 The HP-67 is a magnetic card-programmable handheld calculator, introduced by Hewlett-Packard in 1976 at an MSRP of $450. A desktop version with built-in thermal printer was sold as the HP-97 at a price of $750. Marketed as improved successo ...
· HP-97 ; NumWorks ;
Sharp Sharp or SHARP may refer to: Acronyms * SHARP (helmet ratings) (Safety Helmet Assessment and Rating Programme), a British motorcycle helmet safety rating scheme * Self Help Addiction Recovery Program, a charitable organisation founded in 199 ...
: Sharp PC-1350 · PC-1401 · PC-1403 EL-9600c · EL-9900 ; SwissMicros : SwissMicros DM11 · SwissMicros DM12 · SwissMicros DM15 · SwissMicros DM16 · SwissMicros DM41 ·
SwissMicros DM42 The HP-42S RPN Scientific is a programmable RPN Scientific hand held calculator introduced by Hewlett Packard in 1988. It has advanced functions suitable for applications in mathematics, linear algebra, statistical analysis, computer scienc ...
; Texas Instruments : TI-51-III · SR-52 · SR-56 · TI-57 · TI-58 C · TI-59 · Galaxy 67 · TI-83 Plus · TI-84 Plus · TI-85 · TI-89 · TI-92 · Voyage 200 · TI-Nspire


See also

*
Calculator input methods There are various ways in which calculators interpret keystrokes. These can be categorized into two main types: * On a single-step or immediate-execution calculator, the user presses a key for each operation, calculating all the intermediate resul ...
* Graphics calculator *
Pocket computer A pocket computer was a 1980s-era user programmable calculator-sized computer that had fewer screen lines, Some had only one line and often fewer characters per line, than the Pocket-sized computers introduced beginning in 1989. Manufacturers in ...
* Scientific calculator


References

{{Computer sizes *