[comp.sys.handhelds] HP48SX -- On/Off detection from alarm-driven program

caloccia@lectroid.sw.stratus.com (William Caloccia) (12/18/90)

	I've managed to figure out a correction for my HP48 so that the
clock is closer to 3 seconds a month than 3 seconds a day off.  The
correction is an alarm, which adjusts the clock every half hour.

	I don't want the calculator to stay on 1/3 of the time (10 minutes
to time out after the alarm), nor do I want to have it turn off while I'm
trying to use it.

	One suggestion was to use a program (bound to a USR key, etc) that
simply did  	<< 6 SF OFF 6 CF >>  and to then add a test to the
alarm to check for the flag being set.  However, it appears that when
the calculator goes to service the alarm, the unexecuted portion of the
'off' program ('6 CF') is executed and then the alarm is executed,
and since the Flag is then clear. the calculator is left on.

	Has anyone else succeeded in doing this kind of thing ?

	(yes, I can turn the calculator back on, but it is awfully annoying
	 when you're in the middle of something -- bad enough that the
	 edit/entry area is blown away by the alarm..)

	Any suggestions would be apreciated...

	thanks,
	--bill