Casio Fx 502p

  1. Casio Fx 502p Program Library
  2. Casio Fx-502p
  3. Casio Fx-502p Manual
  4. Casio Fx-502p For Sale
  5. Casio Fx 50fh

The firmware has progressed a bit. The FX-601Pand FX-602Pwere 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. The FX-501Pand FX-502Pwere programmable calculators, manufactured by Casio.

CASIO FX-501P / FX-502P
Type
ManufacturerCasio
Introduced1978
Calculator
Entry modeInfix
Precision12 digits mantissa, ±99 exponent
Display type
Display size10 + 3 Digits
Programming
Programming language(s)Keystroke(fully merged, Turing complete)
Memory register11 (FX-501P), 22 (FX-502P)
Program steps128 (FX-501P), 256 (FX-502P)
Interfaces
Portsone vendor specific
Connects toCompact Cassette via:
Other
Power supply2×'G13' or 2×'LR44'
Power consumption0.0008 W
Weight141 g, 5 oz
Dimensions15.24×7.6×1.2 cm, 6'×3'×½'

The FX-501P and FX-502P were programmable calculators, manufactured by Casio from 1978/1979.[citation needed] They were the predecessors of the FX-601P and FX-602P.

Casio Fx 502p

It is likely that the FX-501P/502P were the first LCD programmable Calculators to be produced as up until 1979 (and the introduction of the HP-41C) no manufacturer had introduced such a device.

Arithmetic

Specifications

  • 2 lines with 32 5×7 characters LCD
    • (some indicators and a 5 digit 7-segment display)
  • 8 KB RAM (FX-860P: 24 KB, FX-880P: 32 KB)
  • CPU: VLSI at 1.228MHz. Hitachi HD62002A01 (FX-860P, FX880P: HD62002A03)
  • Integrated speaker
  • Internal slot for memory expansion (32 KB)
  • Connector with support for RS232 and Centronics (only level converter for RS232, Centronics needed)
  • LCD Driver: 2 x HD66100F
  • 2x 3V CR2032 lithium batteries as main power supply
  • 1x 3V CR1220 lithium battery as memory backup (RAM power supply)

User's manual at http://www.usersmanualguide.com/casio/calculators/fx-850p

Casio Fx 502p Program Library

The calculator had a BASIC interpreter, MEMO function, a formula library. The built-in 8 kB memory could be expanded using the optional Casio RP-8 (8 kB) or RP-33 (32 kB) RAM expansion modules. An optional Casio FA-6 interface board provided a cassette tape recorder connector, a Centronics printer connector and an RS-232C port. The calculator could print data and listings on any Centronics printer; printing graphics required the Casio FP-100 plotter-printer.

Later, Casio released the FX-880P, which had 32 kB built-in memory. With a RP-33 expansion module, this model could be upgraded to a total of 64 kB.

The memory layout is:

  • 0000-00FF Screen memory
  • 0100-01FF Reserved for internal functions
  • 0200-02FF INPUT Buffer
  • 0300-03FF CALCJMP, VALF Buffer
  • 0400-04FF Reserved for IN/OUT/CALC modes (CALC$)
  • 0500-074A Reserved for internal functions
  • 074B-0752 Reserved for storing the user PASSWORD
  • 0753-175A Reserved for internal functions
  • 175B-175C Vector pointing to MEMO memory start
  • 175D-1FE4 Reserved for internal functions
  • 1FE5-1FFF Vectors pointing to P0-P9 memory start
  • 2000-9FFF User memory (shared by MEMO and P0-p))
  • A000-BFFF Repetition of 0000-1FFF
  • C000-DFFF Repetition of 0000-1FFF
  • E000-FFFF Repetition of 0000-1FFF

Memory area A000-FFFF was either available as user memory (if expansion was present), or would simply repeat the contents of 0000-1FFF

A few glitches are:

Casio Fx-502p

  • POKE 1867,0 → would delete any user PASSWORD
  • POKE PEEK(8027)+256*PEEK(8028),32 → would recover contents of MEMO after a RESET ALL
  • POKE PEEK(8027)+256*PEEK(8028),26 → would hide contents of MEMO, much like a RESET ALL would do, but without losing the programs

The internal function library was programmed in BASIC itself and could be extracted with a BASIC decompiler.

Casio Fx-502p Manual

Any function in the library can be executed from a regular BASIC program by using GOTO 'LIB0:NNNN' where NNNN is the function number (e.g. 5010 for prime factorization). The command GOTO 'LIB0:0400' executes a self-test program.

Characters 252 to 255 were user defined. They could be defined by issuing the command DEF CHR$(n)='HHHHHHHHHH' where n ranges from 252 to 255 and the H's are 10 hexadecimal digits (5 bytes). Every byte defines the pixel pattern for a column. Since a column is 7 pixels high, the least significant bit of every byte is ignored.

Casio Fx-502p For Sale

The CHR$(26) would activate a different character set for Katakana and Kanji characters. CHR$(27) would deactivate Kanji.

Casio Fx 50fh

Via a serial cable the calculator could connect to a PC or to another Casio FX-850P, allowing the transfer to MEMO and stored programs.