Re: A86: interrupts and on key


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

Re: A86: interrupts and on key




There are 2 bits in port 3 you need to be concerned with, one (bit 0 I
think) tells if an on-interupt has occured, and the other (bit 3) tells
if on is actually being pressed.  Down-left only affects the first one.

Joshua J Seagoe wrote:
> 
> down&left as well as any key in the bottom row combined with the key
> above it triggers the on interrupt and sets the bit in port 3.  (at least
> it seems that way)  i've tried checking port 1 for the other key, which
> sorta works, but it seems that it still wants me to tell it that i've
> taken care of the on key
> 
> -josh
> 
> On Wed, 17 Feb 1999 14:40:09 EST ComAsYuAre@aol.com writes:
> >
> >you detect an on press from port 3, whereas if you want to detect down
> >and
> >left (not sure why you want that, but i guess maybe there's a reason),
> >then
> >you use port 1.  the only way that down+left  [probably] triggers an
> >on
> >interrupt is in the system im 1 interrupt.
> >
> >
> 
> ___________________________________________________________________
> You don't need to buy Internet access to use free Internet e-mail.
> Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
> or call Juno at (800) 654-JUNO [654-5866]


References: