Which calculators run RPL under the hood?
|
12-11-2019, 06:41 PM
(This post was last modified: 12-12-2019 07:02 PM by Jonathan Busby.)
Post: #25
|
|||
|
|||
RE: Which calculators run RPL under the hood?
(12-09-2019 06:48 AM)cyrille de brébisson Wrote: - Rpl is great as it allows manipulation of "objects"... But it still lakes some stuff, like the ability to define new object types, which is sad... Well, RPL actually *does* support the creation of new objects, in a round-about fashion ![]() ![]() ![]() Take the HP48G/GX for example. If one only allows for indirect execution then one can use a fixed address in a library in port 0 for the address of the object prolog's indirect execution code. If one wants to fully support direct execution and =SKIPOB so that the object can be used by the RPL OS, then one still needs a fixed address in port 0. In this case though, the object prolog must contain the =PRLG "nop" at its start and two 5-nibble pointers to the object's direct execution code and its =SKIPOB code, respectively, starting 10 nibbles behind the object's prolog code. This should fully enable one to define custom object types that do essentially anything one desires ![]() Regards, Jonathan EDIT #1 : Note that upon library initialization, the library must add its starting address in port 0 to the CON(5) offsets that are part of the object's prolog and recalculate the library's CRC. If one doesn't correct the address as described then expect a TTRM ![]() EDIT #2 : As they say "The Devil is in the details" even for an atheist like myself ![]() ![]() ![]() Aeternitas modo est. Longa non est, paene nil. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)