home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp48 / 4070 < prev    next >
Encoding:
Text File  |  1992-07-29  |  2.0 KB  |  48 lines

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