Re: A86: on interrupt
[Prev][Next][Index][Thread]
Re: A86: on interrupt
i thought writing to the 1 port only masked certain keys out. how do you
store a key?!?!? Kirk
-----Original Message-----
From: Dux Gregis <assets@eden.rutgers.edu>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Tuesday, March 31, 1998 9:52 AM
Subject: Re: A86: on interrupt
>
>That's not what I mean. If you write to port 1 it is the same as if a key
was
>pressed. Use the on routine to write to the keypad and then as soon as the
OS
>calls _getkey, [sqrt]KEY is executed. Within the [sqrt]KEY program you can
>check to see if the same keys or flags are set as you set when on was
pressed.
>:-)
>
>Kirk Meyer wrote:
>
>> i thought that the (sqrt)KEY program was not run when ON was pushed. if
it
>> is, then definitely a program can be written. Kirk
>>
>> -----Original Message-----
>> From: Dux Gregis <assets@eden.rutgers.edu>
>> To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
>> Date: Monday, March 30, 1998 10:11 PM
>> Subject: Re: A86: on interrupt
>>
>> >
>> >You can write your key code to port 1 with the on interrupt; the
[sqrt]KEY
>> program
>> >will be executed when the calc is turned on.
>> >
>
>
>
>