Casio FX-602P series#Interface

{{short description|Series of programmable calculators produced by Casio}}

{{ Infobox Calculator

| name = CASIO FX-602P series

| image = CASIO FX-602P Programmable Calculator.png

| caption = A 28-year-old FX-602P in working condition

| type = Programmable scientific

| entry =Infix

| introduced = {{Start date and age|1981}}

| discontinued = 1989

| predecessor = Casio FX-502P series

| successor = Casio FX-603P

| manufacturer = Casio

| precision = 12 digits mantissa, ±99 exponent

| display_type = LCD Dot-matrix

| display_size = 11 Characters + 3 digits

| prog_lang = Keystroke (fully merged, Turing complete)

| memory_data = 11 (FX-601P) 22 .. 88 (FX-602P)

| memory_step = 128 (FX-601P) 32 .. 512 (FX-602P)

| conn1 = Compact Cassette

| via1_1 = FA-1

| via1_2 = FA-2

| conn2 = FP-10 Thermal printer

| via2_1 = Direct

| via2_2 = FA-2

| ports = one vendor specific

| supply = 2×"CR-2032" Lithium

| weight = 141g, 5 oz

| dimensions = 15.24x7,6x1.2 cm, 6"×3"×½"

}}

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 line dot matrix display with 11 characters as main display. An additional 3 digits 7-segment display used to display exponents as well as program steps when entering or debugging programs. There were 11 status indicators.

Programming

The programming model employed key stroke programming by which each key pressed was recorded and later played back. On record, multiple key presses were merged into a single programming step. Only a few operations needed two bytes.Martin Krischik [http://fx-602p.krischik.com/fx-602p/tokencodes/ FX-602P Token list] [http://krischik.com Martin Krischik Software Development]. Synthetic programming was possible but not very common.Dr. K. Miyahara, (2008) [http://www.asahi-net.or.jp/~ey5k-myhr/fx602p_e.htm#tech Synthetic Programming on the FX-602P].

The FX-601P could store 128 fully merged steps and data could be stored in 11 memory register. The memory of the FX-602P could be partitioned between from 32 to 512 fully merged steps and data could be stored in 22 to 88 memory register. The default set-up was 22 register and 512 steps. From there one could trade 8 steps for one additional register or 80 steps for 11 register with the 11th register begin a so-called "F" register.

Like its predecessor the FX-602P series supported 10 labels for programs and subroutines called P0 .. P9. Each program or subroutine could have up to 10 local labels called LBL0 .. LBL9 for jumps and branches.

The FX-601P and FX-602P supported indirect addressing both for memory access and jumps and therefore programming model could be considered Turing complete.

Both the FX-601P and FX-602P could load and execute programs from the predecessors.

=Programming example=

This program computes the factorial of an integer number from 2 to 69. For 5!, the user enters 5 P0 to produce the result, 120. The program occupies 9 bytes of memory.

class="wikitable"
Key-codeComment
{{keypress|P0}}You'll call the program with the P0 key
{{keypress|M in}}{{keypress|0}}{{keypress|0}}stores the value in register 0
{{keypress|1}}starts with 1
{{keypress|LBL}}{{keypress|0}}label for the loop
{{keypress|*}}multiply
{{keypress|MR}}{{keypress|0}}{{keypress|0}}by n
{{keypress|DSZ}} {{keypress|GOTO}}{{keypress|0}}decrements M00 and back to LBL0 until M00=0
{{keypress|1==}}end of loop, the machine has calculated 1 \times n \times ( n - 1) \times \cdots \times 2 \times 1 =n!

Interface

{{ infobox computer hardware generic

| name = Casio FA-2

| image = FA-2.JPG

| type = Compact Cassette Interface

| introduced = 1981

| manufacturer = Casio

| conn1 = FX-602P series and FX-702P

| conn2 = Compact Cassette

| via2_1 = Line-Out: 3.5mm TRS connector

| via2_2 = Mic-In: 3.5mm TRS connector

| via2_3 = Tape Start/Stop: 2.5mm TRS connector

}}

The FX-601P and FX-602P used the same FA-1 interface as used by the FX-502P line of calculators or alternatively the newer FA-2 interface which was also used by Casio FX-702P. Both interfaces featured a Kansas City standard Compact Cassette interface.

The FA-2 Interface was used the FX-602P series of programmable calculator and the FX-702P Pocket Computer to store programs and data register to Compact Cassette. When compared with its predecessor the Casio FA-1 the FA-2 featured an additional tape control output and connector for the Casio FP-10 printer.[http://pocket.free.fr/html/casio/fa-2_e.html The Casio FA-2 Tape interface], The pocket computer museum

References

{{reflist}}