[A89] Re: Intercepting ON
[Prev][Next][Index][Thread]
[A89] Re: Intercepting ON
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
Follow-Ups:
References: