Re: A86: TI-86 interrupts, Part 2


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

Re: A86: TI-86 interrupts, Part 2




> Wouldn't it just return the last keycode? If I happen to execute a di
> while I'm holding down a key seems to be the last keyscan in
> memory will be whatever it was when the interrupts were turned off.

Yes, you're right.  If a key was pressed before interrupts were disabled
but after the last call to _getkey, it would return that.  It would then clear
it.  Any calls after that would return 0.