[A86] Re: Weird interrupts problem


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

[A86] Re: Weird interrupts problem




i think its also messed with by the silent linking also... its been a while
since if done anything with the 86 so i may be way off.

>
> Well at first I thought it might be caused by switch bounce, basically
> pressing a key and releasing it will cycle between the two states slighty
> more than twice, due to high sampling rate and vibration of the finger or
> metal of the switch.. so it might cause multiple-key presses to be
triggered
> when reading directly from the ports.

> > I've been working on a TI-86 program that uses ports to read keys, and
> > updates the screen whenever a key is released.  My key handling
> > routine was having lots of really strange bugs, but after about an
> > hour of experimenting I discovered it worked only if interrupts were
> > disabled.  I really don't want to turn interrupts off, but it seems
> > that some interrupt routine is altering the flags, and I didn't think
> > they were meant to do that.




References: