Post Reply 
Adding/Editing Programs for the HP50G
08-31-2020, 10:39 PM
Post: #18
RE: Adding/Editing Programs for the HP50G
(08-31-2020 04:20 PM)MattGreer Wrote:  One of the issues I had was when I transferred a 9 KB directory (including formulas, variables, couple small programs, etc.) it didn't all come across in ASCII. It's like, I got "most" of it? Weird. But as it was mentioned in this thread, I think the procedure that works best is as follows:

  1. On the HP48GX, put the directory / variable / program on the stack.
  2. Execute STR→ on what you just loaded onto the stack.
  3. Save the string to a variable
  4. Transfer the variable off the calc to the computer using the Connectivity Kit
  5. Copy the file off the computer, in text mode, to the 50g using the Connectivity Kit
  6. Recall the contents of the variable to the stack
  7. Execute the program (that you're going to enter yourself) called INOUT. (Credit to John H. Meyers and users BruceH and grsbanks for this nifty little routine.)
  8. Save it to the desired variable/directory name on the 50g, and you're done!

Some interesting things:
  • The transferred file from the 48GX to the computer will have an extension .txt on it. If you leave it as a text file for the subsequent transfer, you don't get the"%%" stuff on the first line.
  • If you do remove the extension .txt, it'll add the "%% HP" stuff to the first line of the file during the transfer, so you'll have to go in an manually remove those characters. After that the 'INOUT' routine will do it's thing.

Change step 2 to:
    2. Execute INOUT on what you just loaded onto the stack.
The INOUT program works on both the HP-48 series and the 50G without change. So it's the best way to get a safe string version of a program to transfer out.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Adding/Editing Programs for the HP50G - BruceH - 08-31-2020 10:39 PM



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