[A83] Re: interrupt with shutdown


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

[A83] Re: interrupt with shutdown




> > > 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.

So then it's not that save to do an ei before my halt?

       SUCKER

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Follow-Ups: