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.

Does _getkey clear out the keyscan memory location when its executed?

TGaArdvark@aol.com wrote:
> 
> > I mean that disabling the interrupt keeps _getkey from working properly.
> I'm
> > not sure what would happen if you called _getkey when the interrupt is
> > disabled (crash?).
> 
> I am pretty sure it would return 0 since no keypress can be recorded.

-- 
Bryan Rittmeyer
mailto:bryanr@flash.net
http://www.flash.net/~bryanr/


Follow-Ups: References: