[A89] Re: Intercepting ON
[Prev][Next][Index][Thread]
[A89] Re: Intercepting ON
Version 4 of my password program keypass is now available at calc.org.
It is a password program that makes the calculator impossible to turn on unless
certain keys are already being held down. It also intercepts 2nd+right+left+on.
Full source included.
-Samuel
Quoting PaXaL <PaXaL@ifrance.com>:
>
> Trap #4 is called to turn the calculator down.
>
> The way to intercept Trap #4 is the same way than to intercept an
> auto-int,
> only the address in the vector table changes.
>
> Just look to an auto-int interception code, and i'm sure you'll find how
> to
> do the same thing for your program.
>
> PaXaL
>
>
> ----- Original Message -----
> From: <JHill8075@aol.com>
> To: <assembly-89@lists.ticalc.org>
> Sent: Friday, October 12, 2001 6:53 PM
> Subject: [A89] Intercepting ON
>
>
> > I am working on a TSR that will intercept when someone presses 2nd+ON
> (in
> > otherwords, when someone turns the calculator off) and runs some
> code
> before
> > turning the calculator off. However, I have read that the ON key is
> not
> part
> > of the keyboard matrix and is associated with an interrupt. How
> then,
> would I
> > go about intercepting this before trap #5 (I believe trap #5 turns off
> the
> > calc) is called? Thanks.
> >
> >
> >
>
>
> ______________________________________________________________________________
> ifrance.com, l'email gratuit le plus complet de l'Internet !
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
> http://www.ifrance.com/_reloc/email.emailif
>
>
>
>
23 He (Elisha) went up from there to Bethel; and while he was going up on
the way, some small boys came out of the city and jeered at him saying,
"Go away, baldhead! Go away, baldhead! 24 When he turned around and saw
them, he cursed them in the name of the lord. Then two she-bears came
out
of the woods and mauled forty-two of the boys. 25 From there he went on
to Mount Carmel, and then returned to Samaria.
- 2 Kings 2: 23-25
References: