![]() ![]() P.p.s.As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers.Īlternatively you can here view or download the uninterpreted source code file.įor more information about "AboutView.mm" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 3.0.17_vs_3.0.18.ġ /*****************************************************************************Ģ * Free42 - an HP-42S calculator simulatorĥ * This program is free software you can redistribute it and/or modifyĦ * it under the terms of the GNU General Public License, version 2,ħ * as published by the Free Software Foundation.ĩ * This program is distributed in the hope that it will be useful,ġ0 * but WITHOUT ANY WARRANTY without even the implied warranty ofġ1 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Not really usefull for now, but I think the basic concept should work with more complicated things. You will get the divided value into stackline 1. Then you put your seconds into stackline 1 (no ENTER) and hit F2 - Run to run the little programm. With F2 and Edit again, you return to normal calculator mode. You can only use F2 - edit/run/clr, when you edit, the old program will be erased and only basic arithmetik operators are allowd - no branching, looping or conditions of course, for now.Įxample: you want to calculate hours out of seconds - you can type 60 / 60 / into the editor. P.S: Here is my version 0.2 - Concept reworked - Programm Edit and Run mode added - very buggy and limited, as allready mentioned. The further I step, the more work I see - but it's a lot of fun and I think I will learn a lot with this proggy.ītw.: Congratulation to Erel, who has done a really great thing with BASIC4PPC - it has grown up to a phantastic developement kit, wich is a joy to use! Different modes are really a bit confusing now and I startet to document the neccessaryest with remarks. ![]() Startet to implement a program editing- and running-mode, wich is in the very first experimental stage, but the aproach should work in the future. I've reworked the concept - now using somewhat like a state machine to handle the keypresses in different modes. Image buttons is one thing I want to implement when I have the main framework for the calculator more finished. The font for the stack displayis now larger too. Many thanks for your suggestions! The display is only a temporary solution, I have now implementet a third line for status-messages in the top and moved the two stack lines a bit more to the bottom, nearer to the keyboard. RCL - Press RCL and then button 0-9 to recall stored value into stack level one STO - Press STO and then button 0-9 to save Stack level one ![]() Up - pulls the stack - begins with level two so level one stays untouched - (somewhat special, like a history function) You can do more complex calculations like (2+3)*4 in the form: 2 ENTER 3 + 4 * wich saves a keystroke in comparison to algebraic.Ī short description for the special buttons:ĮNTER - Push's the Stack one level upwards. But the normal working sheme with rpn is not to press enter after the last argument, i think, so this should be no problem. For now it is not possible in my progy to type 2 ENTER 3 ENTER +, like in traditional rpn-calcs, cause the last enter would push 3 into stack-level 2 and operations will only be done with stack-level 1 and 2. Short explenation about rpn: if you want to add 2 and 3, you type 2 ENTER 3 + instead of 2+3= on an algebraic calc. In the future, I would like to implement programming- and graphing capabilitys - F2-key has no funcktion for now, but you can store and recall up to 10 vars and on F1 there are some sciencetific functions - most of the BASIC4PPC-built in math functions. It is not nearly as powerfull as for example, the wonderfull "Free42" HP42s simulator, but it has really big buttons and so one can type on it very fast, without mistakes. ![]() I've wrote a simple sciencetific rpn-calc, wich I wan't to build up to a math-tool exactely fitting my needs. ![]()
0 Comments
Leave a Reply. |