Re: HP49G Sysrpl help with recalling contents of pointers



Hi, Hans.

Thanks for your advice. You have a working code.
However it takes about 1 sec, and it is necessary to have both Nosy and the
development library installed and being in sys-rpl mode.

But I will look into documentation for Nosy. Maybe I can understand what it
does. I only intend to use this for objects within a rompointer /
flashpointer. Not across the whole rom.

Best regards
Gjermund Skailand
<hans.milton@xxxxxxxxxx> wrote in message
news:1180529359.569601.215920@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 28 Maj, 23:07, "Gjermund Skailand" <skaiguard-t...@xxxxxxxx> wrote:
Hi , I need some help me with recalling contents of ROM during runtime.

I wish to recall the contents of e.g. C%SIN (supported entry) to the
stack
during runtime (in order to modify the composite ) and then use it.

E.g.

:: ' C%SIN recall? CDRCOMP EVAL ;

What would the magic word or procedure for recall? be on the hp49g?

I ask because
C%SIN decompiles to
:: PTR 0FEDA 2DUP %%COSH....;
Where PTR 0FEDA splits a C% (complex) into two extended reals.
In this case I already have two extended reals on the stack, and it would
be
a waste of time and accuracy to make it a C% first.

Thanks on beforehand
Gjermund Skailand
PS in this particular case the below is a shorter version.
:: ' C%SIN recall? EvalNoCheck ;

One way could be to use Nosy to get the ROM
contents as a string of source code, and then
compile by calling MASD.

Create following as a library routine, lets call it
ROM->CODE:
::
x->A xGETNAME
xNosyRPL$
SEP$NL
DROP
xASM
;

Your example then:
:: ' C%SIN xROM->CODE EvalNoCK ;



.



Relevant Pages

  • Re: [git pull] New firewire stack
    ... Some of us do have these cards ... installed for sniffing purposes (using nosy) but it would be nice to be able ... to have both the PCILynx and OHCI cards installed simultaneously). ... so long as nosy (which is independent of the firewire stack) ...
    (Linux-Kernel)
  • Re: HP49G Sysrpl help with recalling contents of pointers
    ... I wish to recall the contents of e.g. C%SIN to the stack ... during runtime (in order to modify the composite) and then use it. ... Where PTR 0FEDA splits a C% into two extended reals. ... In this case I already have two extended reals on the stack, ...
    (comp.sys.hp48)
  • HP49G Sysrpl help with recalling contents of pointers
    ... I wish to recall the contents of e.g. C%SIN (supported entry) to the stack ... Where PTR 0FEDA splits a C% into two extended reals. ... In this case I already have two extended reals on the stack, ...
    (comp.sys.hp48)
  • Re: Why is it so Slow?
    ... With a ZINT on the stack I replaced ... Which Nosy tell me is what the calc does anyway. ...
    (comp.sys.hp48)