HP Forums
WP34s: flash problems - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: WP34s: flash problems (/thread-190246.html)



WP34s: flash problems - fhub - 08-11-2011

I've reported 2 problems about programs in flash lately:

1) line numbers of programs in flash are one too high (program starts with 002)

2) executing a program in flash which ends with a RTN kicks the programcounter out of flash

Any idea if (and when) this will be fixed?

Franz


Re: WP34s: flash problems - Paul Dale - 08-11-2011

The line number will be fixed very soon.

The RTN issue is more complex and we've not decided what to do yet.


- Pauli


Re: WP34s: flash problems - fhub - 08-11-2011

Quote:
The line number will be fixed very soon.

Not "very soon" - it's already done (as I just can see)! :-)
Quote:
The RTN issue is more complex and we've not decided what to do yet.

I'm just curious: what's the problem with it?

Won't it be logical to just reset the programcounter to the top of the current flash area? (as it is done in RAM, too)


Re: WP34s: flash problems - Paul Dale - 08-11-2011

Quote:
I'm just curious: what's the problem with it?

Won't it be logical to just reset the programcounter to the top of the current flash area? (as it is done in RAM, too)

There are two reasons to use a flash segment for a library. One is as a mini-application like your TVM code. In this case you want the PC to go back to the start of flash. The other is a library of utility subroutines, in this case you don't want the PC going back to the start of the flash segment.

So yes, it is logical to do what you're asking and it is also not logical at the same time.


And that is exactly all I'm going to say on this matter at this time.


- Pauli