HP-41: Automatic copy of several programs from a module



#2

This is what I want to achieve:

In a program, copy 5 programs from ROM to RAM.

How do I do this the best way?


#3

Hi,

the hard (but maybe easier) way would be to write a ML function

which calls COPY (with suitable params) and then the packing routine.

Then call these functions from within your program.

Best would be if your calling program resides in ROM,

to minimze program pointer conflicts;-)

Of course your program has to save the current PC before the COPY operations,

and restore it afterwards.

HTH

Raymond


#4

No easier way (synthetics)?

I didn't find any pack-program in the PPC. It would be nice to do something like this, though:

"UAC"
PCOPY
PPACK
"REM
PCOPY
PPACK
... etc.

But not possible :(


#5

Hi,

I'm afraid Synthetic programming won't help here.

However I'm planning s.t. like this in ML for the next OS/X plug-in;-)

Meanwhile, you could also try to simulate the functionality if you have a CCD module.

The CCD module offers functions to write (program name) strings into any register,

and has the ability to jump to every ROM location...

Regards

Raymond


Possibly Related Threads...
Thread Author Replies Views Last Post
  How to copy files from 9114B to hard drive via PIL-box? Joe Horn 23 2,886 12-14-2013, 11:57 PM
Last Post: Geoff Quickfall
  HP-41(CL): The easiest way to transfer FOCAL programs from a Linux PC to the HP-41 Geir Isene 13 1,299 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  HP Prime: Lists in programs Alberto Candel 7 864 12-04-2013, 02:16 AM
Last Post: Alberto Candel
  HP Prime Spreadsheet Copy bug Michael de Estrada 1 415 12-03-2013, 11:34 PM
Last Post: Walter B
  HP-41 module covers and side port cover Nate Martin 1 356 12-02-2013, 01:51 AM
Last Post: Giancarlo
  [HP-41][HP-71B][HP-75C/D][HP-IL] Found a mother-lode of programs on ftp.stak.tk rdj 2 472 11-26-2013, 05:31 PM
Last Post: rdj
  HP Prime: matrices in programs, in need of help Alberto Candel 9 773 11-26-2013, 01:33 AM
Last Post: cyrille de Brébisson
  HP 50g - select characters on the stack, copy/paste Sean Freeman 7 711 11-20-2013, 07:11 AM
Last Post: Sean Freeman
  emu48 - copy stack doesn't work (as expected) Thomas Radtke 2 538 11-11-2013, 02:19 PM
Last Post: Thomas Radtke
  Grouping programs on the HP Prime Michael de Estrada 11 986 11-04-2013, 01:38 PM
Last Post: Damien

Forum Jump: