We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Non-Maskable Interrupt: Difference between revisions

From SnesLab
Jump to: navigation, search
(only NMI source is vblank)
(→‎See Also: SPC/BRK)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
A '''non-maskable interrupt''' (NMI) is an interrupt that cannot be ignored.  The [[PPU]] normally generates an NMI at the beginning of the [[vertical blanking period]], which is received by the Ricoh CPU.  This is the only NMI source on the SNES.<sup>[2]</sup>
A '''non-maskable interrupt''' (NMI) is an interrupt that cannot be ignored.  The [[PPU]] normally generates an NMI at the beginning of the [[vertical blanking period]], which is received by the [[Ricoh]] CPU.  This is the only hardware NMI source on the SNES.<sup>[2]</sup>
 
[[BRK]] causes a software NMI.


NMIs have higher priority than [[IRQ]]s, but lower priority than Reset.
NMIs have higher priority than [[IRQ]]s, but lower priority than Reset.
Line 5: Line 7:
=== See Also ===
=== See Also ===
* [[NMI Enable Flag]]
* [[NMI Enable Flag]]
* [[SEI]]
* [[CLI]]
* [[DI]]
* [[EI]]
* [[BRK (SPC700)]]


=== References ===
=== References ===
Line 15: Line 22:
[[Category:ASM]]
[[Category:ASM]]
[[Category:SNES Hardware]]
[[Category:SNES Hardware]]
[[Category:Official Jargon]]

Latest revision as of 04:18, 14 August 2024

A non-maskable interrupt (NMI) is an interrupt that cannot be ignored. The PPU normally generates an NMI at the beginning of the vertical blanking period, which is received by the Ricoh CPU. This is the only hardware NMI source on the SNES.[2]

BRK causes a software NMI.

NMIs have higher priority than IRQs, but lower priority than Reset.

See Also

References

  1. 7.19 Interrupt Priorities, page 53: https://www.westerndesigncenter.com/wdc/documentation/w65c816s.pdf
  2. https://problemkaputt.de/fullsnes.htm#snesppuinterrupts

External Links