Re: A86:User On Routines


[Prev][Next][Index][Thread]

Re: A86:User On Routines




I think the source code to either my Secure86 or my Property86 is released
(on ticalc.org), or Jonah's On86 might be a good plan. I'm not sure how YAS
does it, but I do know how Sysmon does it!!! =)

It determines battery free in the following way. It sets up an interrupt.

a) at a specified time, sets a counter to 0 in the interrupt
b) now in the main program, the counter is incremented indefinitely until...
c) the next interrupt, when the counter is converted to battery level.

this is because interrupts occur less often as battery life dwindles.

----- Original Message -----
From: Jeff Barrett <kanebarrett@worldnet.att.net>
To: <assembly-86@lists.ticalc.org>
Sent: Tuesday, November 23, 1999 6:06 PM
Subject: A86:User On Routines


> What is a good source code for learing about user on routines?
> I just had a neat idea for a SysMon like program, maybe with password,
> property, etc, but I really wanted like a "boot menu" that gave free mem,
> battery life (also, how do sysmon and YAS tell this anyway?) and some
other
> cool information at startup.
>
> Really just anything to make my calculator unique among all my freinds!
>
> Jeff Barrett




References: