Re: HP-50 on Raspberry Pi? The HP-67 come true? Message #10 Posted by Thomas Klemm on 30 July 2013, 1:36 p.m., in response to message #1 by Matti Övermark
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
|