home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!cs.utexas.edu!not-for-mail
- From: FELSON_ADJ@CCSUA.CTSTATEU.EDU
- Newsgroups: comp.sys.hp48
- Subject: ?: how to check if alarm turned calc on
- Date: 9 Jan 1993 10:20:33 -0600
- Organization: UTexas Mail-to-News Gateway
- Lines: 20
- Sender: daemon@cs.utexas.edu
- Message-ID: <930109112035.338070c1@CCSUA.CTSTATEU.EDU>
- NNTP-Posting-Host: cs.utexas.edu
-
- I remember this question being asked before, but I don't
- remember ever seeing a satisfactory answer... so here
- goes again:
-
- Is there some way to detect if the HP48 was turned on by an
- alarm as opposed to the user? I don't like having the calc get turned
- on by an alarm, and then being left on until the autoshutoff timer times out.
- It would be handy for the alarm to check if the calculator was off previously,
- and turn the calculator back off upon completion.
-
- I tried something like:
- << 1 SF OFF 0 CF >> BYE STO
- to set flag 1 while the machine was off, but it seems that when
- an alarm arrives, the programs completes ( instead of being
- interrupted ) before the alarm is executed.
-
-
- thanx in advance,
-
- __a__d__a__m__
-