Re: A86: Interrupts


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

Re: A86: Interrupts




In a message dated 12/6/98 1:12:10 AM Pacific Standard Time, yarin@acc.umu.se
writes:

> >will enable interrupts. What happens when you do this? How many T-states 
> does
>  >each take? Most importantly, would it be wise or a good idea to
>  >disable/renable interrups during "Computationally Expensive" parts of
code?
>  
>  I can't recall the number of T-states, but that shouldn't be too
>  important as you most often only use ei/di instructions at the beginning
>  and the end of a big part of the source.
>  
>  Disabling the interrupts will not gain much speed, unless there's a badly
>  written user installed interrupt. The most common reason to disable
>  interrupts is probably to use the IY register and the shadow registers.

(OOh! Jimmy Mardell responded to my question! Keep calm! Keep calm!)
So, it would not speed anything up much if they were to be disabled? It
wouldn't be that noticable if they were disabled then renabled during parts
that do computations, "If...then"s, etc.?


Follow-Ups: