Re: unknown (?) error message HP48G Message #6 Posted by James M. Prange (Michigan) on 14 Mar 2006, 3:52 p.m., in response to message #5 by Bram
Well, nothing done in "pure UserRPL" (excluding SYSEVAL, LIBEVAL, FLASHEVAL, and 49 series "hacker's library" commands, that is) should cause a "Try To Recover Memory?" (TTRM), including attempting to make the stack grow beyond available memory. However, there are some bugs (depending on the ROM version) that will cause a TTRM; maybe see the most recent 48 series FAQs at http://www.hpcalc.org/hp48/docs/faq/. Of course, it's also a possibility that you've stumbled upon a previously unreported bug.
Regarding programs or libraries written in SysRPL or assembly language, there's a possibility that a bug won't be immediately apparent, but willl cause memory corruption that will later cause a TTRM during UserRPL operations.
Too bad that the TTRM didn't successfully recover memory; it would be interesting to see what your program did.
Note the "Try" in "Try To Recover Memory"; sometimes it fails or is only partially successful. In particular, Bill Wickes's Insights says that a library shouldn't be left in a global variable after it's been copied to a port, as the TTRM will take the library as the start of port 0, thus any global variables or subdirectories following it will be lost.
Of course, if your calculator has anything that you really can't bear to lose, it's wise to have a backup of it on another device, either by transferring selected variables or using the ARCHIVE command.
Regards, James
Edited: 14 Mar 2006, 3:56 p.m.
|