Phoenix 45s: Software Architecture



#3

At what level of abstraction can we work at the numerical algorithms? Since we are going to be programming in C, can we simply specify the data structures that will represent the state of the calculator? Is that enough of an API to get working on the requisite functionality?

I am guessing that like any UI based system you have an event loop with a "calculator state". The state includes the contents of stack, registers and programming counter for the PGM side. Flags as well.

Now events are keystrokes and the event handler then invokes the right module based on mode: PGM, R/S, interactive etc.

The display is then driven by the mode and what should be on the display window. Of course, this is independent of whether we have 1, 2, 4, or 1729 lines in the physical display.

Does someone have a diagram of an architecture that is field tested?

I would love to get input from people with some real experience in this.

Do we need to wait for more of the hardware architecture to be selected, or can we begin working on the software side knowing that the calculator's functionality is isolated from the lower level interfaces? How many layers to the architecture are needed to provide the desired level of abstraction?

Thanks.


#4

Start with a simulator. Code it in wxWidgets so that it can be compiled for any OS. This will allow the testing of algorithms and design assumptions (e.g. usability). In the event Phoenix 45s never sees the light of day, at least you have a very nice PC/PDA RPN. Keep the GUI and logic separate so that the logic is portable.

Next start on a true emulator, cross compiler tool chain, etc... Hopefully you only need to work on the UI and the portable logic from the simulator works as is.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Hook-µP software by Rush Systems Lute Kamstra 5 1,616 11-29-2013, 01:30 AM
Last Post: Lute Kamstra
  Prime: Pedagoguery Software pop up banner Matt Kernal 1 992 10-20-2013, 01:54 AM
Last Post: Mic
  latest prime software release? Geoff Quickfall 3 1,172 10-12-2013, 03:53 PM
Last Post: Tim Wessman
  Does the HP Prime software only work with Win 7/ 8 ? Michael de Estrada 3 1,195 10-12-2013, 02:52 PM
Last Post: John Ioannidis
  Prime Software Buttons kris223 2 949 09-21-2013, 08:19 PM
Last Post: Jonathan Cameron
  Latest HP Prime "emulator" software available :) Adrien Bertrand 46 8,255 08-21-2013, 10:48 PM
Last Post: Joe Horn
  hp 35s programs in software library Andrew Nikitin 7 1,676 05-30-2013, 11:55 AM
Last Post: Dave Hicks
  HP prime: fractal software Cristian Arezzini 5 1,353 05-29-2013, 07:43 AM
Last Post: Reth
  Software Library Eddie W. Shore 1 879 04-10-2013, 11:07 AM
Last Post: Ken Shaw
  Software for Reverse Polish Notation Calculator JC Howard 4 1,302 03-27-2013, 03:25 PM
Last Post: Mike T

Forum Jump: