Re: Password prgm


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

Re: Password prgm



>Could you explain to me how the [password] program works. I have it and
>use it, but I don't understand how a program can turn [off] your calc
and
>resume running itself as soon as you turn it on.

This is a "tricky" implementation of "Auto Power Down."  APD turns off
your calc after approximately 5 minutes of non-use, and returns it to
_exactly_ the same state it was in at shutoff.  (Ergo, a program will
still be running if it was running at shutoff.)  Through the use of
assembly language (ASM) programming, a ROM routine can be called to
activate APD.  Your password program will display "Password:" (or however
yours is set up) and allow password input, but it will then immediately
cause the calc to APD.  Upon startup, voila, you are required to enter
the password.  If you enter it correctly, the password program terminates
and you have control of the calc.  If you enter the password incorrectly,
APD is once again called.


Kevin DeGraaf  (TI-86)
Class of 1999, Unity Christian High School
EMail: kdegraaf@NOSPAM-juno.com (I think you know what to do.)


Follow-Ups: References: