Re: A83: Key Equates


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

Re: A83: Key Equates




What the heck are you talking about?? The on key is not a "key" like the
others; it is connected to some special hardware generating an interrupt when
it's pressed. You can check bit 3 on port 3 for the state of the on key, and
_getkey returns 0 if the on key was pressed.

Linus

                                                           \\//
                                                          [o][O]
.-->                                           .-------mm--(__)--mm--------.
| Linus Akesson                                | http://fly.to/linus.world |
`---------------^-- ----- --- --  -- -  -   -  `---------ooO--Ooo----------'
           Programmers don't die, they just GOSUB without RETURN.


On 07-Feb-99, Olle Hedman (oh@hem.passagen.se) wrote:

>oops..  sorry 'bout that.. to late i guess.. (03:41 right now)
>to bad I cant sleep...
>..later..
>//Olle

>Jimmy Conner wrote:
>> 
>>   No thats not it either, the power is referring to ^,  my mistake
>> also I meant (df) which is Group 6.  Still doesn't work yet, but isn't
>> there a flag somewhere that tells if the on key was pushed??  that'll
>> do for my needs.
>> 
>> Jimmy
>> 
>> ---Olle Hedman <oh@hem.passagen.se> wrote:
>> >
>> >
>> > according to my docs, 254 on $fe is Down and ON (power) is here:
>> >
>> > 0fdh:
>> > kEnter          .equ    254
>> > kPlus           .equ    253
>> > kMinus          .equ    251
>> > kMul            .equ    247
>> > kDiv            .equ    239
>> > kPower          .equ    223
>> > kClear          .equ    191
>> >
>> > //Olle
>> >
>> > Jimmy Conner wrote:
>> > >
>> > >   Is there a key equate for the ON key???  From looking at the
>> groups
>> > > and the equates it looks like it would be 254 on Group 6 (fe) but it
>> > > doesn't work, so I guess not.
>> > >   Any help??
>> > >
>> > > Jimmy
>> > > ==
>> > > »»»»»»»»»»»»»»»»»»»»»»»»»»»»««««««««««««««««««««««««««««
>> > > »                        TI-Magic                      «
>> > > » http://www.geocities.com/SiliconValley/Network/6963/ «
>> > > »                   TIMagic@Yahoo.com                  «
>> > > »»»»»»»»»»»»»»»»»»»»»»»»»»»»««««««««««««««««««««««««««««
>> > >
>> > > _________________________________________________________
>> > > DO YOU YAHOO!?
>> > > Get your free @yahoo.com address at http://mail.yahoo.com
>> >
>> >
>> 
>> _________________________________________________________
>> DO YOU YAHOO!?
>> Get your free @yahoo.com address at http://mail.yahoo.com





References: