Post Reply 
New ROM update for your HP 50g
03-31-2015, 10:00 PM (This post was last modified: 03-31-2015 10:04 PM by Software49g.)
Post: #3
RE: New ROM update for your HP 50g
Hello Matthias,

there is – in RPN – no need to completely overtake the built-in command CONST,
as a named ROMPTR can easily be overwritten. (However, the ALG compiler
unfortunately does not use the same mechanism, in ALG mode a complete take
over of the whole library would be necessary as the ALG compiler does not use
the "hooks" provided by the RPN implementation.) I could completely overtake it
(as it is done with other internal libraries by the MLP/OSE), but at present I have
no interest in overtaking it (it is much more work and I do not really care about
ALG mode).

Now for answering your question:
Taking over the built-in constant library is done by overtaking the named ROMPTR
xCONST. This means, that when ever you use the build-in editor and exit it with
[ENTER], that all calls to xCONST will be recompiled to the chosen ROMPTR of the
OSE/MLP.
As I use xCONST as a hook to get into the original library, it is a mix of replacement
code (for GUI, speed, data, etc.) and calls into the existing ROM code.


Taking over the periodic table would be a lot easier, as it was never part of the
ROM. It is an ordinary 3rd party library and is in no way interconnected with the
ROM. So there is no need for any quirks or other dirty tricks.

Simply the values have to be updated and than recompilation of the library must be
done. As it is – at present – unlikely, that this will be done by HP (and if none of
the periodic tables at http://hpcalc.org fits your needs) the original periodic table must be
disassembled, values must be replaced and then the library must be recompiled.

Or (it might be a lot easier), ask Raymond, who has already done a complete clone
of HP’s Periodic Table, if he is willing to update it with today’s values.
Detailed information for SpeedPT

HTH,
Andreas

http://www.software49g.gmxhome.de
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: New ROM update for your HP 50g - Software49g - 03-31-2015 10:00 PM



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