Re: A83: Interrupt Help.


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

Re: A83: Interrupt Help.




>Aren't you only running the interrupt once since you are di in your 
>interrupt? So, that would be self-defeating. Plus, doesn't the 
>calculator use the interrupt?

no. what actually happens is when the interrupt is executed (every 200th
if a second) you need to disable interrupts so no further intuerrupts
will occur untill you are finished. at the end of your interrupt routine
you should always have a 

jp $0038

this calls the standard interrupt handler which checks for key
presses and such. before the standard interrupt handler returns it
reenables interrupts.


References: