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
m (Jeffythedragonslayer moved page NMI to Non-Maskable Interrupt: spell out name)
(only NMI source is vblank)
 
(2 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.
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>


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 7: Line 7:


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


=== External Links ===
=== External Links ===
* snes9x implementation of NMI: https://github.com/snes9xgit/snes9x/blob/master/cpuops.cpp#L2663
* snes9x implementation of NMI: https://github.com/snes9xgit/snes9x/blob/master/cpuops.cpp#L2663
[[Category:ASM]]
[[Category:SNES Hardware]]

Latest revision as of 01:55, 19 July 2023

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.[2]

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