Post Reply 
HP50G - Library ROMID question
07-02-2019, 03:24 AM
Post: #7
RE: HP50G - Library ROMID question
(07-02-2019 02:36 AM)DavidM Wrote:  
(07-01-2019 11:01 PM)rprosperi Wrote:  ...but was not sure of the exact format of a library object. Where is that documented, other than in the heads of you guys that think in RPL?

I usually go to the "Introduction to Saturn Assembly Language" book from Gilbert Fernandes (Edited and Maintained by Eric Rechlin) when trying to discern RPL object structures. If that fails, I make some examples on the emulator and alter them to see what happens. For something like a library, it must have taken a lot of trial-and-error testing to reverse engineer the format. Smile There's quite a bit in library objects.

Thanks David, and of course thank you Joe.

LOL, the laugh's on me. After examining the format in confusion for a while, comparing Joe's code, I finally see that he's simply grabbing it from the title; I thought he was converting the entire library to a string and then parsing through that to find the ID following the name. And of course, this solution is even more innovative than I thought as it demonstrates the non-obvious but simple idea to just use the name as shown.

Sure, math is interesting, but puzzles like this are far more interesting to me.

Also, thanks David for sharing your nicely documented SysRPL/Saturn routine (which actually does what I thought Joe was doing). I've long since given up on any chance of learning Saturn coding, but more samples like this along the way would have helped a lot. Saturn code always made more sense for 71B code for me than for 48/49/50 code, likely due to the more linear flow in the 71 vs RPL structures.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP50G - Library ROMID question - JeffB - 07-01-2019, 12:08 PM
RE: HP50G - Library ROMID question - rprosperi - 07-02-2019 03:24 AM
RE: HP50G - Library ROMID question - JeffB - 07-01-2019, 08:43 PM
RE: HP50G - Library ROMID question - JeffB - 07-02-2019, 10:46 AM



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