Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from dshadoff/Fix_TIMER_IRQ_timing
Fix Timer IRQ Timing ( #141 ) Confirmed by Sour (author of MESEN): Acknowledging the TIMER IRQ with a "STA $1403" immediately prevents a pending TIMER IRQ from taking control immediately after the "STA $1403". This is different from the video interrupts (which would be acknowledged by accessing $0000 - in that case, the interrupt acknowledgement is delayed by an additional cycle. This appears to be because the TIMER interrupt is internal to the CPU, so it is instant, however the VDC acknowledgement would be processed by the VDC (say, 1 VDC cycle) before de-asserting the interrupt line to the CPU.
- Loading branch information