Re: A86: Re: Simple Routine Help
[Prev][Next][Index][Thread]
Re: A86: Re: Simple Routine Help
Actually I have had the phantom keypress problem even when using the
regular im 1 handler, but either way it was only with _really_ dead
batteries... The rom has 4 nop's between the in and the out, so if you
want to be really cautious do that. I haven't seen any difference when
leaving them out though.
David Phillips wrote:
>
> I haven't personally seen the difference, but Mardell or someone else said
> you need at least a couple of NOP's in between the in and out (can't have
> too much time, but at least a couple of cycles to give the hardware a chance
> to respond). And besides what Jeremy said, if you are disabling interrupts
> or writing your own handler, you need to do a <ld a,$ff \ out (1),a> to
> reset the port in your main loop or int handler. If you don't, the calc
> will give you phantom key presses (very strange).
References: