Post Reply 
file format for HP48gx objects
07-07-2021, 12:10 AM (This post was last modified: 07-07-2021 12:24 AM by DavidM.)
Post: #4
RE: file format for HP48gx objects
(07-06-2021 07:43 PM)djb146 Wrote:  My goal is to build a python script that can translate between ASCII representation of a program and the binary version the calculator requires.

This would be far more involved than you may realize. Objects that are stored on an RPL calculator are stored in a compiled format. They are only in ASCII form while you are editing the object using the standard editing features on the calculator. As soon as you are done editing, the object is actually compiled into a binary form. All objects (other than strings) are stored in binary form on the calculator.

EDIT: That last sentence is probably misleading. Strings are actually stored in compiled form as well, but they are simply easier to open/view on other systems. The mapping of special RPL characters is unique, so some of the characters won't look the same on another platform as they do on the calculator.

See the two commands →STR and STR→ for a built-in way to translate User RPL objects on the calculator to and from ASCII form.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
file format for HP48gx objects - djb146 - 07-06-2021, 07:43 PM
RE: file format for HP48gx objects - DavidM - 07-07-2021 12:10 AM
RE: file format for HP48gx objects - Nate - 07-08-2021, 11:02 PM

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