HP Forums
WP34s large programs - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: WP34s large programs (/thread-8329.html)



WP34s large programs - c785 - 05-10-2017 09:39 PM

Hi everyone,

As a newbie to WP34s, I'm wondering how on Earth a large program like TVM is developed. It's in XROM, but whatever space in RAM I free up, it's too large to be copied into RAM, edited, and sent back to XROM. So, how do I write or modify a program like that?

Sorry if the answer is trivial, I just haven't been able to find it in the forum.


RE: WP34s large programs - Paul Dale - 05-11-2017 12:49 AM

Have you used the REGS command to reduce the number of numeric registers?
Cleared the statistics accumulations (CLsigma)?

The TVM program is 420 steps which will fit into RAM.


Pauli


RE: WP34s large programs - c785 - 05-11-2017 06:09 AM

Damn, you're right: I only looked at the last line number of the exported file, which is 1021 -- didn't notice that it all starts at 0602!

Sorry, and thanks anyway!


RE: WP34s large programs - emece67 - 05-11-2017 09:06 AM

You can use a text editor in your computer then, using the wp34s assembler and related tools, build a new wp34s-lib.dat file, to be read by the emulator, to test the program in your PC (the program will be in LIB). Once done, there is a way to move your program in the LIB of the emulator to the LIB in the real machine. I was unable to put such mechanism to work, though, so I need to build the whole firmware including the program (a more cumbersome task) and then flash the machine (in my case this is a risky operation).

The assembler and related tools only need Perl installed in your system. The system required to build the whole firmware is more complex.

Regards.

NOTE. I think that, in windows, you do not even need Perl.


RE: WP34s large programs - Paul Dale - 05-11-2017 10:39 AM

Perl is required for the assembler.

It might come bundled with Windows, if not an Internet search will find it.


Pauli


RE: WP34s large programs - emece67 - 05-11-2017 11:24 AM

(05-11-2017 10:39 AM)Paul Dale Wrote:  Perl is required for the assembler.

Didn't the .exe files included in the tools directory solve that?

Regards.