Re: A86: interrupts and on key


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

Re: A86: interrupts and on key




Within your interupt routine, check bit 3 of port 3 to see if on was
pressed, or check port 1 for down and left (although other keys will do
it).  Unless you did a jp $0038, you'll have to check port 3 anyway.

Joshua J Seagoe wrote:
> 
> does anyone know how to tell the difference between the on key and
> something like down&left?  i'm reading the keypad from an im 2 routine,
> so the os isn't involved and i'm reading directly from the ports.
> 
> -josh


References: