[A83] Re: interrupt with shutdown


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

[A83] Re: interrupt with shutdown




> From: "SUCKER from the old days" <sucker_pvn@hotmail.com>
>
> > So I guess it's safe to remove the DI from the start of a
> > custom interrupt routine.

> But with my interrupt routine I posted earlier, If I don't
> disable interrupts before I jump to 38h, the calc freezes.
> That's also the correction I posted afterwards.

The Z80 disables interrupts at the moment it accepts one. If you enable
interrupts again during the execution of your interrupt routine then it
might happen an interrupt occures, which causes a whole lot of trouble.





Follow-Ups: References: