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

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?

#2

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

#3

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 :(

#4

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 10,026 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 5,561 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  HP Prime: Lists in programs Alberto Candel 7 3,457 12-04-2013, 02:16 AM
Last Post: Alberto Candel
  HP Prime Spreadsheet Copy bug Michael de Estrada 1 1,783 12-03-2013, 11:34 PM
Last Post: Walter B
  HP-41 module covers and side port cover Nate Martin 1 1,490 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 1,650 11-26-2013, 05:31 PM
Last Post: rdj
  HP Prime: matrices in programs, in need of help Alberto Candel 9 3,178 11-26-2013, 01:33 AM
Last Post: cyrille de Brébisson
  HP 50g - select characters on the stack, copy/paste Sean Freeman 7 2,617 11-20-2013, 07:11 AM
Last Post: Sean Freeman
  emu48 - copy stack doesn't work (as expected) Thomas Radtke 2 1,924 11-11-2013, 02:19 PM
Last Post: Thomas Radtke
  Grouping programs on the HP Prime Michael de Estrada 11 3,665 11-04-2013, 01:38 PM
Last Post: Damien

Forum Jump: