HP-50 on Raspberry Pi? The HP-67 come true?



#2

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


#3

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).


#4

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 ;)


#5

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)

#6

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
#7

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


#8

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.


#9

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

#10

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.

#11

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


#12

Thanks Thomas!

Check Your mailbox!

Cheers Matti


Possibly Related Threads...
Thread Author Replies Views Last Post
  hp-67 card reader problem. Marcel Samek 5 168 12-09-2013, 09:09 PM
Last Post: Paul Berger (Canada)
  [OT] Mathematica free for Raspberry PI BruceH 32 568 11-23-2013, 05:24 AM
Last Post: Nick_S
  HP-67 charger Marcel Samek 3 90 11-22-2013, 10:45 PM
Last Post: Marcel Samek
  HP Prime... NOT meant to replace HP48,49,50 ? Chris Pem10 21 414 11-18-2013, 03:30 PM
Last Post: Chris Smith
  Computing pi with the PC-1300S Kiyoshi Akima 0 46 11-17-2013, 12:24 AM
Last Post: Kiyoshi Akima
  request M.E. pac for HP-67/97 wallet cover scan Ignacio Sánchez 0 61 11-06-2013, 09:36 AM
Last Post: Ignacio Sánchez Reig
  HP-67/97 Mechanical engineering PAC cover Ignacio Sánchez 0 54 10-30-2013, 04:35 AM
Last Post: Ignacio Sánchez Reig
  HP 67 clear cases Keith Midson 7 155 10-14-2013, 11:05 AM
Last Post: Kiyoshi Akima
  HP-67 keyboard repair davorin 1 63 10-04-2013, 04:09 AM
Last Post: Katie Wasserman
  Calculating Pi LHH 9 199 09-27-2013, 10:50 PM
Last Post: Gerson W. Barbosa

Forum Jump: