Post Reply 
HP 41 program name conflict
06-21-2022, 07:42 PM
Post: #3
RE: HP 41 program name conflict
This is similar to Gene's keyboard assignment solution, but with a program.
  1. Turn off the calc and remove the advantage rom
  2. Turn on the calc. Create a program called MSOLVE:
    Code:
    LBL "MSOLVE"
    XEQ "SOLVE"
    RTN
  3. Turn off the calculator
  4. Remove the math ROM and insert the advantage rom
  5. Turn on the calc and create a program called ASOLVE:
    Code:
    LBL "ASOLVE"
    XEQ "SOLVE"
    RTN
  6. Turn off the calc and plug in both roms.

Now when you execute ASOLVE, it will call the SOLVE program from the advantage ROM and when you execute MSOLVE it will call the program from the math ROM. This works because the "XEQ 'SOLVE'" instructions get turned into XROM instructions that execute the correct routine. It uses an extra level in the return stack, but hopefully that isn't a problem. It appears that you can't GTO an XROM routine by number, only XEQ it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 41 program name conflict - tangdfx - 06-20-2022, 11:07 AM
RE: HP 41 program name conflict - Gene - 06-20-2022, 11:18 AM
RE: HP 41 program name conflict - David Hayden - 06-21-2022 07:42 PM



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