HP Forums
HP-50 on Raspberry Pi? The HP-67 come true? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: HP-50 on Raspberry Pi? The HP-67 come true? (/thread-247325.html)



HP-50 on Raspberry Pi? The HP-67 come true? - Matti Övermark - 07-29-2013

Has anyone tried to use/implement a HP48/50 on a Raspberry Pi? The R-pi runs on 700 MHz with a possibility to overclock to 1000 MHz, so it would be quite nice since the R-pi costs much less than the original.

My extreme wet dream is a commandline interface in/on the Pi with all the, indeed, superb functions of the HP50g. Just hook up to the Pi/HP (with ssh) and run all of the ordinary HP functions!

The R-pi costs about 650 SEK here in Sweden, say 100 USD with 16 GB Ultra 10 SD-card and power adapter. HDMI and Ethernet cables not included.

Benefits of the R-pi/HP50 combo would be that a Large HDMI-display can be used, i.e.24''. It runs on open source Linux distros and one is able to swap SD-cards and reboot with a new setting. The memory can be expanded with a single cheap SD-card of sufficient size.
There are images of the HP-50g ROM around, but I am an engineer, but no computer one, although computerized :)

How many have tried the R-pi? If you haven't, do.

Cheers from Matti in Sweden


Re: HP-50 on Raspberry Pi? The HP-67 come true? - Pier Aiello - 07-29-2013

Run an (slow) emulator to waste CPU cycles ? It's better to install debian and octave/sage/python + scipy.

An hp50g emulator is too inefficient, it's inefficient on the very hp50g that runs userRPL not in native manner (in fact hp39gII rocks in terms of speed).


Re: HP-50 on Raspberry Pi? The HP-67 come true? - Thomas Klemm - 07-29-2013

Maybe not exactly what you want but similar: install emacs and run the calculator.

Kind regards

Thomas

PS: To install emacs run:

sudo apt-get install emacs



Re: HP-50 on Raspberry Pi? The HP-67 come true? - Thomas Klemm - 07-29-2013

Yet another possibility is RPL/2. I thought I give it a try and am currently compiling it on my Raspberry Pi running raspbian. Additionally I had to install:

  • gfortran
  • uuencode (sharutils)
  • yacc (byacc)

Cheers

Thomas


Re: HP-50 on Raspberry Pi? The HP-67 come true? - Barry Mead - 07-29-2013

python with its mpmath library handles almost all of the advanced mathematics you would ever need, and to any precision you like. Also there are some nice graphing packages for python as well.


Re: HP-50 on Raspberry Pi? The HP-67 come true? - Chris Smith - 07-29-2013

Agreed.

I use SciPy IPython a lot these days when sitting in front of a computer. Incredible piece of software.

Example "notebook" from it with tutorial...

http://nbviewer.ipython.org/5920182


Re: HP-50 on Raspberry Pi? The HP-67 come true? - Thomas Klemm - 07-29-2013

Quote:
Now I know what it comes with, but it's not what I want.

Some people are stuck to RPN/RPL.

Cheers

Thomas

PS: And some of them still like Python.


Re: HP-50 on Raspberry Pi? The HP-67 come true? - Gilles Carpentier - 07-29-2013

You can't compare an HP39GII and a 50G...
For sure the 39GII is faster than the 50G, but the 50G is fast enough in most cases an the 39GII does 10% of what you can do with the 50G... For me the limitation of the 50G is not the speed, it's his old (and unevolutive) CAS and his graphing resolution (for text/numbre or textbook display, i prefer the 50G screen than the 39GII). And RPL remains perfect for a calculator ;)


Re: HP-50 on Raspberry Pi? The HP-67 come true? - Pier Aiello - 07-30-2013

Yes, in terms of features you are right. But i want to say: an emulator of hp50g is a waste of CPU performance, even on the very hp50g since userRPL and sysRPL commands are emulated and not native.

(in fact with HPGCC programs, the 50g is insanely fast)


Re: HP-50 on Raspberry Pi? The HP-67 come true? - Thomas Klemm - 07-30-2013

Quote:
My extreme wet dream is a commandline interface in/on the Pi with all the, indeed, superb functions of the HP50g. Just hook up to the Pi/HP (with ssh) and run all of the ordinary HP functions!

After installing a few other things I'm able now to run RPL/2 on my Raspberry Pi. Here's my program from Gerson's thread Nibble reverse (HP-48,49,50g)

pi@raspberrypi ~ $ rpl -si
+++RPL/2 (R) version 4.1.14 (Tuesday 07/30/13, 16:23:51 CEST)
+++Copyright (C) 1989 to 2012, 2013 BERTRAND Joel

+++This is a free software with absolutely no warranty.
+++For details, type 'warranty'.

RPL/2> <<
+ 001> # 5d DUP2 AND SL
+ 002> ROT SR ROT AND OR
+ 003> # 3d OVER AND SL SL
+ 004> SWAP SR SR OR
+ 005> >>

1: << # 5d DUP2 AND SL ROT SR ROT AND OR # 3d OVER AND SL SL SWAP SR SR OR >>
RPL/2> NR STO
RPL/2> BIN
RPL/2> #1101b NR

2: # 1101b
1: << # 101b DUP2 AND SL ROT SR ROT AND OR # 11b OVER AND SL SL SWAP SR SR OR >>
RPL/2> EVAL

1: # 1011b
RPL/2> abort

From the man-page:

RELATED STANDARDS
The RPL/2 sequencer is compliant with the HP-28S calculator user manual, and with the HP-28S itself, in its 2BB version (C) HP 1986-1987. Some
operations dealing with complex numbers are not following the definitions from HP, because they are bogus. The main such operations are transposi-
tion and scalar product.

So still not a HP-50 but you might like it nonetheless.

Have fun!

Thomas


Re: HP-50 on Raspberry Pi? The HP-67 come true? - Matti Övermark - 07-30-2013

Thanks Thomas!

Check Your mailbox!

Cheers Matti