The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

Anyone got a 39gII and doesn't mind memory loss?
Message #1 Posted by bhtooefr on 19 May 2013, 7:01 a.m.

I've got an... experiment... I need run on a 39gII. Based on it crashing the emulator, and causing memory loss (although the connkit (that I still had running) restored it inadvertently), I'm expecting it to cause memory loss on the real calc.

Store 0 in A, then run this code:

EXPORT RSTest()
BEGIN
A+1 STO> A;
PRINT(A);
RSTest();
END;
(the STO> is actually a different character, but the forum parser didn't like it)

Run for 10 minutes, or until the calculator crashes. Please report what number it reaches, and whether it crashes or not. Also please report if you can stop the program without a battery pull, if it doesn't crash. And, please report what happens when it crashes.

(The goal here is to see how deep HP allows the call stack to be, and what happens when the call stack runs out.)

      
Re: Anyone got a 39gII and doesn't mind memory loss?
Message #2 Posted by BruceH on 19 May 2013, 1:14 p.m.,
in response to message #1 by bhtooefr

Ran for 1 min 17 secs and reached 5837 before hanging. Had to remove the batteries to kill it. No other programs or data in the calc at the time so that stack depth is most probably a factor of memory available.

            
Re: Anyone got a 39gII and doesn't mind memory loss?
Message #3 Posted by bhtooefr on 19 May 2013, 2:58 p.m.,
in response to message #2 by BruceH

Did it act like it had been freshly reset?

That does seem like a function of memory, as the emulator was up to a few million and no signs of stopping - the emulator probably won't stop until it's saturated 2 GiB of RAM (including swap space).

                  
Re: Anyone got a 39gII and doesn't mind memory loss?
Message #4 Posted by BruceH on 19 May 2013, 3:45 p.m.,
in response to message #3 by bhtooefr

Quote:
Did it act like it had been freshly reset?
I'm not sure what you mean. The calc just stopped with the numbers left on the display. It didn't reset itself.
                        
Re: Anyone got a 39gII and doesn't mind memory loss?
Message #5 Posted by bhtooefr on 19 May 2013, 3:57 p.m.,
in response to message #4 by BruceH

I mean, after reinstalling the batteries, did it boot up normally, or boot up as if you had done a factory reset?


[ Return to Index | Top of Index ]

Go back to the main exhibit hall