Split

The smallest library splitter for the HP49(+)

This library splitter is slower than the one from OT49 but it's advantage over other lib splitters is its small size (only 122.5 bytes) and that it splits also internal libs. For instance, 2 Split yields the source of library 2 with its large number of 395 commands, most of the traditional UsrRPL commands. 222 Split yields the CAS library source, with over 60 visible commands and over 400 hiddens.

Menu page 4 of the source directory of library 2Split looks for a real or zint in the stack and errors out if this is not a valid library number. Otherwise a source directory of the library is created with all its visibles and hiddens and you are in this directory. It does not contain the $variables, and rompointer references to the library commands are not replaced by names from the source directory which is sometimes very useful. Run time of Split for even such large libraries like CAS with 80 (!) pages is on the 49+ only 20_s. Splitting smaller libs like lib 221 (containing the latest added UsrRPL commands, DISPXY etc) is done in less than a second. The screen-shot shows the last one of the 4-page source directory s221 of library 221 which contains commands added to UsrRPL when passing from the HP48 to the HP49.


Wolfgang Rautenberg

 raut@math.fu-berlin.de     www.math.fu-berlin.de/usr/raut