Post Reply 
Are HP 48 library structures documented?
03-06-2014, 10:45 PM
Post: #7
RE: Are HP 48 library structures documented?
(03-06-2014 08:29 PM)rprosperi Wrote:  Get Joe Horn's Goodies disk #4 (in fact, get all 11 disks) from hpcalc.org, and look at the file usrlib.doc (which is actually a text file, not a word doc). This is the official doc from HP on this.

As Ray mentioned though, there are many enhanced tools/docs since this original, almost all of which are on hpcalc.org (thanks Eric!).

Two essential docs you will need, if you plan to touch SysRPL are Jim Donnelly's "Grey BooK" aka "Introduction to System RPL and Assembly Language" (48 series) and "Programming in System RPL" by Kalinowski (2nd Edition covers 48/49g/49g+/50g).

Not light reading, but they cover all you will need (and more...)

The CRC source code can be found in the gnu tools. Just view the source for the libcrc.c file

Useless trivia about libraries:

None of those documents mention much (if anything) about the format for library commands (in particular the internal ones found in the ROM). You need to also look at Mika Heiskanen's entries.srt file if you want to create commands that are also usable in algebraic expressions.

Despite what all the documents above might suggest (that libraries follow some sort of structure), this is not entirely true. Libraries are quite un-structured -- any apparent structure is due to the few requirements placed on the first few nibbles of a library object and commonly accepted schemes (e.g. how library commands are organized, name hashing, etc.). A library could contain virtually anything. This is why there will never be a library "breaker" that handles all possible ways one can disassemble a library into its components.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Are HP 48 library structures documented? - Han - 03-06-2014 10:45 PM



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