Post Reply 
HP-65 Financial Software request
01-09-2019, 10:45 PM (This post was last modified: 01-09-2019 10:46 PM by Dieter.)
Post: #33
RE: HP-65 Financial Software request
(01-09-2019 09:51 PM)albertofenini Wrote:  Turn the calculator, Switch to W/PRGM, SST reveals the following code :

23
11
35
04
24
...

That should be the default code for LBL A loaded at the startup, right ?

Right.

(01-09-2019 09:51 PM)albertofenini Wrote:  Then, I switch back to RUN and I read my magnetic card where I have recorded the code for CST, SEL and MAR (Cost, Sell and Margin from post #5),
now if I switch to W/PRGM SST reveals the following code :

Antonio, for such listings you should use the "code" button in the message editor. This way the listing keeps its formatting and a non-proportional font ensures proper alignment.

Anyway....

(01-09-2019 09:51 PM)albertofenini Wrote:  I have checked all the listing and it looks like this :

LBL 23
A 11
STO 1 33 01
0 00
g x≠y? 35 21
RTN 24
g NOP 35 01

(...)

CLx 44
STO 1 33 01
STO 2 33 02
STO 3 33 03
RTN 24

The listing looks OK.
But now: what do you see after these steps? All next steps should be "35 01", i.e. "NOP". But I suspect there is something different.

I guess (!, and this is really just a guess) that you entered the program earlier without clearing the default programs first. This way these instructions move to the end of the program, and you should see them after the final "24" (RTN):

If you now see "23" "11" this is the proof that the magnetic card has been recorded with the default programs still in memory. So they will be loaded back into the calculator every time you read the card.

This would explain the behaviour you described:

(01-09-2019 09:51 PM)albertofenini Wrote:  The problem is when I try to execute it a second time, in fact, if I type now :

40 A I get 0.03 (which is 1/40 in DSP.2 mode)

Somehow it looks like after the first execution is not returning at the beginning of the code, ready for a second run.
If I switch to W/PRGM and I go after the LAST line of the code written from the forum this is what I find :

23
11
35
04
24

Voilà, there we are. The default programs are still there. Probably because they have been recorded when the program card was written.

So simply clear these instructions (from 23 11 onwards, until you see NOP or the end of program memory is reached) and simply re-record the program on magnetic card.

(01-09-2019 09:51 PM)albertofenini Wrote:  It looks like somehow the original code loaded at startup has been shifted at the end of the code read from the magnetic card.

In this case you would own a very ..."special" HP65. ;-)
It looks more like you have entered the program without having cleared the default programs first, so these indeed were shifted to the end, and then this combination of "my" program and the default programs has been recorded on card.

Just guessing, but for me this is the most plausibe explanation.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-65 Financial Software request - Dieter - 01-09-2019 10:45 PM



User(s) browsing this thread: 2 Guest(s)