The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

WP34s: flash problems
Message #1 Posted by fhub on 11 Aug 2011, 4:18 a.m.

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
Message #2 Posted by Paul Dale on 11 Aug 2011, 4:28 a.m.,
in response to message #1 by fhub

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
Message #3 Posted by fhub on 11 Aug 2011, 4:40 a.m.,
in response to message #2 by Paul Dale

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
Message #4 Posted by Paul Dale on 11 Aug 2011, 4:53 a.m.,
in response to message #3 by fhub

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


[ Return to Index | Top of Index ]

Go back to the main exhibit hall