Post Reply 
HP 48GX hpcalc.org Program Name
05-03-2021, 12:42 PM (This post was last modified: 05-04-2021 07:53 AM by Giuseppe Donnini.)
Post: #4
RE: HP 48GX hpcalc.org Program Name
You should be careful here! Nosy is for the HP 49G and will not work on the HP 48GX. If you want to unravel the ROM code of the latter machine, you have the following options:

If you prefer to work on the calculator itself, you can either use RPL48 by Raymond Del Tondo and Detlef Müller or Jazz by Mika Heiskanen.

If you prefer to work on a computer, you can try Voyager by Derek S. Nickel, which is DOS-based, or SAD by Jan Brittenson, which runs on Unix/Linux systems.

There are a few other decompilers/disassemblers out there, but these are the best.

That being said, I would begin by optimizing my own code rather than trying to modify the internals of the HP-48GX. The lack of speed you are experiencing is almost certainly unrelated to the implementation of the \->LIST command. It usually takes less than a second to build a list of 200 fairly long strings (500 characters each).

Furthermore, if you plan to modify time-critical ROM code, it is usually not sufficient to have a good working knowledge of System RPL, you have to be proficient in Saturn assembly as well. For instance, here is the decompiled \->LIST command:


HP-48GX[M]: rpl x>LIST

1C783          LABEL x>LIST (Also Resolution of ROMPTR 002 098)
1C783 D9D20    ::      ( ob1 ... obn %n --> { ob1 ... obn } )
1C788 43C81      CKN   ( *Check presence of %n arguments, convert %n to #n* )
1C78D 95450      {}N   ( *Create list composed of specified number of objects* )
1C792 B2130    ;


HP-48GX[M]: rpl {}N

05459          LABEL {}N
05459 D9D20    ::           ( ob1 ... obn #n --> { ob1 ... obn } )
0545E F9F30      TYPELIST   ( *Specify composite sub-type should be a list* )
05463 13350      COMPN      ( *Build composite object of specified sub-type from #n objects* )
05468 B2130    ;


And that is as far as you get with System RPL, because COMPN is implemented in machine code.

If you show us exactly what kind of problems you experience and how you tried to tackle them, we could perhaps help you more efficiently.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 48GX hpcalc.org Program Name - MNH - 05-02-2021, 10:21 PM
RE: HP 48GX hpcalc.org Program Name - MNH - 05-03-2021, 12:54 AM
RE: HP 48GX hpcalc.org Program Name - Giuseppe Donnini - 05-03-2021 12:42 PM
RE: HP 48GX hpcalc.org Program Name - MNH - 05-04-2021, 01:02 AM
RE: HP 48GX hpcalc.org Program Name - MNH - 05-05-2021, 01:10 AM
RE: HP 48GX hpcalc.org Program Name - MNH - 05-06-2021, 01:30 AM



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