home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp48
- Path: sparky!uunet!mcsun!fuug!funic!nntp.hut.fi!nntp.hut.fi!mheiskan
- From: mheiskan@hut.fi (Mika Heiskanen)
- Subject: Re: low batteries!!%@?
- In-Reply-To: x9999bvi@maple.circa.ufl.edu's message of 13 Jul 92 13:44:46 GMT
- Message-ID: <MHEISKAN.92Jul30005615@vipunen.hut.fi>
- Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
- Nntp-Posting-Host: vipunen.hut.fi
- Reply-To: mheiskan@.vipunen.hut.fi
- Organization: Helsinki University of Technology - Finland
- References: <199213.2097.3612@dosgate> <1992Jul13.134446.27076@math.ufl.edu>
- Distribution: comp
- Date: 30 Jul 92 00:56:15
- Lines: 32
-
- In article <1992Jul13.134446.27076@math.ufl.edu> x9999bvi@maple.circa.ufl.edu writes:
-
- > I wrote a password protection program that turned the calculator off and
- >resumed execution when the calculator was turned on. If the wrong password
- >was given, the program would beep a few times then turn itself back off.
- > This is all fine and pretty -- UNTIL one of those nice handy-dandy alarms
- >goes off that the user can set. When one of those alarms goes off, it
- >turned the calculator on -- then my program beeped a few times and turned
- >the calculator back off -- then the alarm turned it BACK on -- my program
- >ran again and turned it off. This cycle continued until the batteries wore
- >down.
- > So, I ended up ditching both the program and the alarms in the end.
- >
- > I can't be sure that this is what happened to you. I don't know the
- >program you were running or if you had alarms set or not. This is an
- >experience that I faced similar to yours.
- > My advice: don't deal with the alarm settings if you do not use your
- > hp48 very regularly. They keep turning your calculator on.
-
- In case somebody writes a password program anyway, here's a useful syseval
- (not supported, I have rev. E) to avoid above situation.
- #04546h = #WARN @ Gives the number of last system warning.
- <0h> = OK
- <1h> = Alarm
- <2h> = LowBat(S)
- <3h> = LowBat(P1)
- <4h> = LowBat(P2)
-
- #04577h gives the message (string) for the corresponding #n.
-
- --
- --> mheiskan@vipunen.hut.fi
-