RPN scientific calculator firmware for $13 calculator kit

04192022, 04:51 PM
(This post was last modified: 04212022 02:24 AM by toml_12953.)
Post: #47




RE: RPN scientific calculator firmware for $13 calculator kit
I have version 1.13 installed on two calculators. Neither one will display PI. When I press shift then divide, PI is supposed to be put in the X register but only 0 appears there.
SOLVED! In file decn.c, line 1594, there's a call to mult_decn. Why? PI is not a conversion factor so there's no need to do that. Now that I've commented out that line, the constant PI appears properly, including stack lift, etc. One problem shows up when you do this: 7 Enter PI * The display should show 0 21.9911485751285 but instead it shows 7 21.9911485751285 instead of replacing the 7 in the X register, pressing PI pushes the 7 up. After Enter, there should be no stack lift of the next number typed. FIXED: Added check for Nolift to Calc.c. Now 7 Enter PI * results in 0 21.9911485751285 as it should. Tom L Cui bono? 

« Next Oldest  Next Newest »

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