41cx and xrom functions



#5

greetings to all that are hp! here's my scenario...trying to copy a program from an application module into extended memory and then running the program without the module. have worked through the cx manual, to no avail. so far, I have been able to copy the program into main memory, then using "savep" it is sent to extended memory. then, with the module unplugged, I use "getp" to bring the program into main memory, then try running it.....which brings up "nonexistent".....I figure this has something if not everything to do with the program looking for the modules xrom address, so question is, what to do? better yet, is this possible? any help would be appreciated!

keeping the faith, dave


#6

ok----I got it, thanks to the forum and the search for anything in the past eons for "xrom". found the post from Dan Grelinger about the 3 point curve problem on a 42s and took it from there. put the module back in, hooked up the printer, went to the program, executed "prp" and printed out a tape of all 300 steps. then, systematically using the print-out, copied the sub-programs into main memory, pulled the module, substituted the sub programs for the xrom addresses and whamo, we got program with no module. pretty neat! Thanks Dave Hicks for a great forum!


#7

Dave, At least give your solution a meaningful answer for others ...

Some ROM modules contain additional program code to make the main routine work. For example, the Stat Module contained an XROM program that did nothing more that "clean-up" the 26 registers that are used for data storeage. The program was something like:

Incerment value

0 STO into register by increment value

ISE

You can only catch these routines if you do what Dave did, list the program for all the routines called. Many are not complicated but take time to identify.

Thanks

#8

Thanks for the credit :-)


Possibly Related Threads...
Thread Author Replies Views Last Post
  [41CL] New Extra Functions version Monte Dalrymple 0 644 11-08-2013, 04:32 PM
Last Post: Monte Dalrymple
  HP Prime: in need of help with defining functions Alberto Candel 14 2,364 10-27-2013, 10:48 AM
Last Post: Alberto Candel
  HP Prime spreadsheet functions SanS 0 1,223 10-04-2013, 04:23 AM
Last Post: SanS
  Stats functions on the HP34S Nicholas van Stigt 5 1,188 09-24-2013, 02:45 AM
Last Post: Nick_S
  Trig Functions Howard Owen 11 2,049 09-16-2013, 02:53 PM
Last Post: Fred Lusk
  50g piecewise functions Kurt Fankhauser 6 1,390 09-15-2013, 08:01 PM
Last Post: Kurt Fankhauser
  Missing functions on the HP Prime!!!??? :-( Namir 6 1,293 08-22-2013, 08:40 AM
Last Post: Gilles Carpentier
  HP41 Functions Address Table (F.A.T.) Antoine M. Couëtte 6 1,270 07-21-2013, 02:48 AM
Last Post: Antoine M. Couëtte
  Trigonometric Functions (HP-17BII) Gerson W. Barbosa 2 996 04-09-2013, 11:57 PM
Last Post: Gerson W. Barbosa
  [41CL] Rescue from 'Lost Y Functions' Dan Grelinger 18 2,599 02-16-2013, 02:08 PM
Last Post: Diego Diaz

Forum Jump: