Stack Overflow Sensing (or: make your own Red Dot!)

04162015, 11:08 PM
(This post was last modified: 04162015 11:14 PM by hansklav.)
Post: #1




Stack Overflow Sensing (or: make your own Red Dot!)
Inspired by the proposal of John A. Ball in his book ‘Algorithms for RPN Calculators’, as a proof of concept I implemented a stack overflow sensing (SOS) scheme using Neil Fraser's JavaScript HP35 simulator.
In the process I made my own ‘Red Dot’ HP35 calculator ;) Have a look here and see for yourself if HP missed a chance to build SOS into its very first pocket calculator (and, incidentally, into all its subsequent classical RPN models). Hans P.S.: I discovered a small inaccuracy in the functioning of the πkey of the original HP35 simulator and corrected it in the HP35 SOS. 

04182015, 10:25 AM
(This post was last modified: 04182015 01:20 PM by PANAMATIK.)
Post: #2




RE: Stack Overflow Sensing (or: make your own Red Dot!)
(04162015 11:08 PM)hansklav Wrote: Inspired by the proposal of John A. Ball in his book ‘Algorithms for RPN Calculators’, as a proof of concept I implemented a stack overflow sensing (SOS) scheme using Neil Fraser's JavaScript HP35 simulator. This is interesting. As I understood you made patches of the original HP35 firmware. Do you think it could be possible to make further changes like adding new functions, making the HP35 a programmable calculator, or write a compiler for ACT firmware? Bernhard That's one small step for a man  one giant leap for mankind. 

04182015, 02:26 PM
Post: #3




RE: Stack Overflow Sensing (or: make your own Red Dot!)
(04182015 10:25 AM)PANAMATIK Wrote: As I understood you made patches of the original HP35 firmware. From Neil Fraser's HP35 RPN Calculator Quote:Since they did not have a simulator for the HP35, I wrote one in JavaScript for them. The result is a very faithful simulation with the exception of some rounding errors. Cheers Thomas 

04182015, 03:55 PM
(This post was last modified: 04182015 03:55 PM by PANAMATIK.)
Post: #4




RE: Stack Overflow Sensing (or: make your own Red Dot!)
Thanks Thomas for clarifying this.
As I understand now, this HP35 simulator does not emulate the original HP35 firmware. Bernhard That's one small step for a man  one giant leap for mankind. 

04182015, 10:56 PM
Post: #5




RE: Stack Overflow Sensing (or: make your own Red Dot!)
(04182015 03:55 PM)PANAMATIK Wrote: As I understand now, this HP35 simulator does not emulate the original HP35 firmware. You’re quite right: Neil Fraser’s JavaScript HP35 simulator doesn’t emulate the HP35 firmware but it does emulate its external behaviour. My modification of it (the ‘HP35 SOS’) adds one feature, Stack Overflow Sensing (SOS) to show how this could work out for the user of a classical RPN calculator. You can download the source code (or simply study it from within your webbrowser); I documented all the added/modified lines. Hans 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)