Anyone got a 39gII and doesn't mind memory loss?
#1

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.)

#2

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.

#3

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).

#4

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.
#5

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



Possibly Related Threads…
Thread Author Replies Views Last Post
  Gathering USB dumps for Connectivity Kit <-> 39gII communication... debrouxl 2 1,733 12-01-2013, 12:59 PM
Last Post: Marcus von Cube, Germany
  New firmware for HP 39gII Mic 6 2,903 11-26-2013, 06:23 PM
Last Post: DeboT
  emu48 - copy stack doesn't work (as expected) Thomas Radtke 2 2,018 11-11-2013, 02:19 PM
Last Post: Thomas Radtke
  is a 50g worth buying with future in mind FORTIN Pascal 20 6,071 10-26-2013, 05:04 PM
Last Post: Michael de Estrada
  HP Prime vs. 39gII Connectivity Kit Marcus von Cube, Germany 3 1,781 10-09-2013, 05:44 PM
Last Post: Marcus von Cube, Germany
  [HP 39Gii] - Bug report Jean-Michel 1 1,679 08-28-2013, 10:53 AM
Last Post: Tim Wessman
  hp 39gii lcd clear question giancarlo 7 2,775 08-18-2013, 07:30 AM
Last Post: Mic
  integration on 39gII emulator Wes Loewer 29 7,382 06-07-2013, 05:58 PM
Last Post: Chris Smith
  HP 39gII considered annoying, part 1 Pete Wilson 6 2,332 05-22-2013, 05:08 AM
Last Post: Gilles Carpentier
  Fun things found by running strings on the 39gII emulator bhtooefr 11 3,947 05-16-2013, 12:40 AM
Last Post: Mic

Forum Jump: