HP Forums
WTB RPN Module for TI-59 - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: Classifieds (/forum-6.html)
+--- Thread: WTB RPN Module for TI-59 (/thread-22268.html)



WTB RPN Module for TI-59 - Namir - 09-03-2024 06:25 PM

I would like to buy the RPN emulator module that TI produced for the TI-59/58/58C. If you have one to sell, contact me by PM. I will pay you with PayPal.

Namir


RE: WTB RPN Module for TI-59 - KeithB - 09-03-2024 07:07 PM

Back in 2005 someone asked about this and you replied:
"How about you sell your TI's and buy some HP calculators WITH SOEM REAL RPN STACKS!!!!!!!!!"


https://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv015.cgi?read=77313

8^)


RE: WTB RPN Module for TI-59 - Namir - 09-03-2024 11:53 PM

:-)

Well I changed my opinion.

Namir


RE: WTB RPN Module for TI-59 - floppy - 09-04-2024 03:59 PM

A modern "TI-Nspire with TI-84 Plus Keypad (32-bit ARM processor emulating a Z80, 24 kB accessible RAM, 1.5 MB accessible flash, hardware clock) "
with https://github.com/bxparks/rpn83p is an alternative if you not get your request?
It has a huge display, nice keyboard. Unfortunately no programming till now.


RE: WTB RPN Module for TI-59 - Namir - 09-04-2024 04:14 PM

(09-04-2024 03:59 PM)floppy Wrote:  A modern "TI-Nspire with TI-84 Plus Keypad (32-bit ARM processor emulating a Z80, 24 kB accessible RAM, 1.5 MB accessible flash, hardware clock) "
with https://github.com/bxparks/rpn83p is an alternative if you not get your request?
It has a huge display, nice keyboard. Unfortunately no programming till now.

I already have many versions of the TI-Nspire calculators. Thanks for the offer anyway.

Thanks for the Github link.

Namir


RE: WTB RPN Module for TI-59 - Maximilian Hohmann - 09-04-2024 04:50 PM

(09-04-2024 03:59 PM)floppy Wrote:  A modern "TI-Nspire with TI-84 Plus Keypad ...
with https://github.com/bxparks/rpn83p is an alternative if you not get your request?

No, that's a completely different thing! It turns the Ti-Nspire into a "normal" RPN calculator.

But the RPN simulator module for the Ti-59 (only runs on the 59 due to it's size and memory requirements) is a sort of "cross compiler" that converts programs from the HP-67, entered as opcodes, into programs for the Ti-59. These are not directly entered into memory - no space for that - but listed on the thermal printer. In a second step you have to enter the opcodes from the printed listing as a program into your Ti-59. After that, you can use that program just as you would use it on an HP-67.
A nice-to-have thing for a collector but probably a nightmare to use!


RE: WTB RPN Module for TI-59 - Namir - 09-04-2024 10:46 PM

(09-04-2024 04:50 PM)Maximilian Hohmann Wrote:  
(09-04-2024 03:59 PM)floppy Wrote:  A modern "TI-Nspire with TI-84 Plus Keypad ...
with https://github.com/bxparks/rpn83p is an alternative if you not get your request?

No, that's a completely different thing! It turns the Ti-Nspire into a "normal" RPN calculator.

But the RPN simulator module for the Ti-59 (only runs on the 59 due to it's size and memory requirements) is a sort of "cross compiler" that converts programs from the HP-67, entered as opcodes, into programs for the Ti-59. These are not directly entered into memory - no space for that - but listed on the thermal printer. In a second step you have to enter the opcodes from the printed listing as a program into your Ti-59. After that, you can use that program just as you would use it on an HP-67.
A nice-to-have thing for a collector but probably a nightmare to use!

Thank you for explaining how that module works. I am not as enthusiastic as I was before to get the module.


RE: WTB RPN Module for TI-59 - Thomas Klemm - 09-05-2024 02:39 AM

If anybody has this module I'd be interested to see the generated result.
As an example, here is a program for the HP-67 that calculates the greatest common denominator of two numbers:
Code:
001: 31 25 11 # LBL A
002: 35 33    # ST I
003: 35 53    # Rv
004: 31 25 00 # LBL 0
005: 41       # ENTER
006: 41       # ENTER
007: 35 34    # RC I
008: 31 51    # x=0
009: 22 01    # GTO 1
010: 81       # /
011: 31 83    # INT
012: 35 34    # RC I
013: 71       # *
014: 51       # -
015: 35 24    # x<>I
016: 22 00    # GTO 0
017: 31 25 01 # LBL 1
018: 35 53    # RC I
019: 35 22    # RTN

I don't have a TI-59 but here's an analogue program for the TI-57:
Code:
00  32 1  # STO 1
01  22    # x<>t
02  32 0  # STO 0
03  86 0  # Lbl 0
04  19    # C.t
05  33 1  # RCL 1
06  66    # x=t
07  51 1  # GTO 1
08  33 0  # RCL 0
09  45    # /
10  33 1  # RCL 1
11  85    # =
12  49    # Int
13  55    # *
14  33 1  # RCL 1
15  85    # =
16 -34 0  # INV SUM 0
17  33 0  # RCL 0
18  22    # x<>t
19  33 1  # RCL 1
20  32 0  # STO 0
21  22    # x<>t
22  32 1  # STO 1
23  51 0  # GTO 0
24  86 1  # Lbl 1
25  33 0  # RCL 0
26  81    # R/S
27  71    # RST

I just wonder how this translation even works.
Is the stack implemented using registers?
Does this mean that e.g. Rv is implemented using multiple register commands?
Are these inlined or are subroutines called?
I can imagine that correct but rather inefficient code is created.

OTOH it's possible to implement an Algebraic Operation System (AOS) using the HP-41C.
This simulates e.g. the TI-57 at least to some extent.


RE: WTB RPN Module for TI-59 - Maximilian Hohmann - 09-05-2024 01:04 PM

Hello!

(09-05-2024 02:39 AM)Thomas Klemm Wrote:  If anybody has this module I'd be interested to see the generated result.

Not the real hardware unfortunately but it is contained in the latest release of the free (!) Andriod emulator "ti5x" by Pascal Obry: https://play.google.com/store/apps/details?id=net.obry.ti5x&hl=en

I will try your examle later in the day!

I also found this reference to Don O'Grady, the programmer of the module, including an E-Mail address: https://www.ti59.com/people.htm No idea if he still can be reached under that address.

Regards
Max


RE: WTB RPN Module for TI-59 - Thomas Klemm - 09-05-2024 04:15 PM

(09-05-2024 01:04 PM)Maximilian Hohmann Wrote:  I will try your example later in the day!

Thank you in advance.
That's very kind of you.

In the meantime, I have looked at the sources of the RPN SIMULATOR.
These are my findings so far.

Registers

The following registers are used:
Code:
# Primary Registers
00-09: 0 - 9

# Secondary Registers
10-19: S0 - S9

# Statistics
14: Σx
15: Σx²
16: Σy
17: Σy²
18: Σxy
19: n

# Alpha Registers
20: A
21: B
22: C
23: D
24: E
25: I

# Stack
26: Y
27: Z
28: T
29: L

Programs

The programs work with the stack registers and the display, which represents the X-register:
Code:
12: A=+ B=- C=* D=/
13:
14:
15: H.MS+
16: %
17: %CH
18:
19: P->R
20: D->R
21: R->D
22: Σ+
23: Σ-
24: x̄
25: s
26: 
27: -x-
28: CL REG
29: STK
30: P<>S
31:
32: RCL Σ+
33: RCL (i)
34-43: RCL 0 - RCL 9
44-48: RCL A - RCL E
49: RCL I
50: LST x
51: ENTER
52: R↑
53: R↓

E.g. prog51.src implements the ENTER operation:
Code:
lbl A
   exc 26
   exc 27
   sto 28
   rcl 26
   inv sbr

So it looks like the HP-67's operations are actually simulated.
I suspect that the compiled program calls the appropriate subroutines.


RE: WTB RPN Module for TI-59 - Thomas Klemm - 09-05-2024 05:15 PM

This manual might be useful: RPN Simulator


RE: WTB RPN Module for TI-59 - Maximilian Hohmann - 09-05-2024 05:30 PM

Hello!

(09-05-2024 04:15 PM)Thomas Klemm Wrote:  Thank you in advance.
That's very kind of you.

You are welcome - but unfortunately no luck. The module does not work with the current version of ti5x on Android. I tried everything according to the manual but could not get it to work. There are several other emulators and simulators of the Ti-59 for various platforms, but I have not found another one that comes with module number 13.

Regards
Max


RE: WTB RPN Module for TI-59 - Thomas Klemm - 09-06-2024 06:37 AM

Never mind.
The manual contains an example of a translation.

(09-05-2024 05:30 PM)Maximilian Hohmann Wrote:  The module does not work with the current version of ti5x on Android.

You might want to contact the author: Pascal Obry