|Re: Duracell DC2400B4N Rechargeable Batteries, NiMH, AAA Size for Hp 50g?|
Message #11 Posted by James M. Prange (Michigan) on 28 July 2007, 1:13 a.m.,
in response to message #9 by Les Wright
On my 49G+ at any rate, putting batteries in after they are out seems to activate a soft reset, as though you hit ON+C
For me, this seems to happen only if I remove the battery while the calculator is turned on, or I press the ON key while the battery is removed. I'm not certain, but it might also occur if the battery is left out for more than a couple of minutes.
If I change my stack font to the 6 pt system font, then take out the batteries then put them back in, the stack font is restored to default 8 pt font.
This happens too when I do ON+C.
My variables are NOT deleted. This is not memory erasure.
Quite so; it's what's usually known as a "warmstart", sometimes called a "system halt". Of course, if left without power (including from the CR2032 cell) indefinitely, then it will eventually lose the RAM contents, so a TTRM (Try To Recover Memory?) would occur when power is restored.
Flag -72 controls whether the current font or the mini font is used for the stack. Of course you can use the \->FONT command to set the "current font" to any built-in or user-defined font.
I don't know how to prevent this resetting of the stack font size. I don't think display font is controlled by flag settings you can save then restore. Maybe someone else knows?
If you store a program in the reserved variable STARTUP, then it will be run at the end of every warmstart, and it can be useful for restoring your preferred modes and attaching/detaching libraries.
To prevent STARTUP and any library configuration routines from being run, hold down the backspace key while warmstarting.
Edited: 28 July 2007, 1:26 a.m.