Share to: share facebook share twitter share wa share telegram print page

Non-maskable interrupt

In computing, a non-maskable interrupt (NMI) is a hardware interrupt that standard interrupt-masking techniques in the system cannot ignore. It typically occurs to signal attention for non-recoverable hardware errors. Some NMIs may be masked, but only by using proprietary methods specific to the particular NMI. With regard to SPARC, the non-maskable interrupt (NMI), despite having the highest priority among interrupts, can be prevented from occurring through the use of an interrupt mask.[1]

An NMI is often used when response time is critical or when an interrupt should never be disabled during normal system operation. Such uses include reporting non-recoverable hardware errors, system debugging and profiling, and handling of special cases like system resets.

Modern computer architectures typically use NMIs to handle non-recoverable errors which need immediate attention. Therefore, such interrupts should not be masked in the normal operation of the system. These errors include non-recoverable internal system chipset errors, corruption in system memory such as parity and ECC errors, and data corruption detected on system and peripheral buses.

On some systems, a computer user can trigger an NMI through hardware and software debugging interfaces and system reset buttons.

Programmers typically use debugging NMIs to diagnose and fix faulty code. In such cases, an NMI can execute an interrupt handler that transfers control to a special monitor program. From this program, a developer can inspect the machine's memory and examine the internal state of the program at the instant of its interruption. This also allows the debugging or diagnosing of computers which appear hung.

History

In older architectures, NMIs were used for interrupts which were typically never disabled because of the required response time. They were hidden signals. Examples include the floppy disk controller on the Amstrad PCW, the 8087 coprocessor on the x86 when used in the IBM PC or its compatibles (even though Intel recommended connecting it to a normal interrupt[2]), and the Low Battery signal on the HP 95LX.

In the original IBM PC, an NMI was triggered if a parity error was detected in system memory, or reported by an external device. In either case, the PC would display an error message and halt. Some later IBM-compatibles used an NMI to conceal the hardware differences from that of the original IBM PC. On such computers, an NMI would be generated when a program attempted to access incompatible hardware. A BIOS interrupt handler would then translate the program's request to match the hardware that was actually present. The SMM in the 386SL is a better way to do this.

Some 8-bit home computers used the NMI line to permit a "warm start" if the system had locked up. Typically, this would restore the control registers to known good values stored in ROM, without destroying whatever data that the user might currently have loaded. On the Commodore 8-bit machines, the RESTORE key was hooked up directly or indirectly to the NMI line on the 6502-series CPU, but the reset would take place only if the NMI handler routine in ROM detected that RUN/STOP was also being held down when RESTORE was struck (this combination being the Commodore version of a three finger salute). Commodore also connected the MOS Technology 6526 CIA #2 in the C64 and C128 to the processor's NMI line, which was part of the means by which software emulation of the 6551 ACIA was accomplished. Atari's 8-bit line used a SYSTEM RESET button for this same purpose.

Debugging NMIs have appeared in a number of forms, including the Apple Macintosh's "programmers' button", and certain key combinations on Sun workstations. With the introduction of Windows 2000, Microsoft allowed the use of an NMI to cause a system to either break into a debugger, or dump the contents of memory to disk and reboot.[3]

Debugging NMIs have also been used by devices that allow leisure users and gamers to manipulate running programs. Devices which added a button to generate an NMI, such as Romantic Robot's Multiface, were a popular accessory for 1980s 8-bit and 16-bit home computers. These peripherals had a small amount of ROM and an NMI button. Pressing the button transferred control to the software in the peripheral's ROM, allowing the suspended program to be saved to disk (very useful for tape-based games with no disk support, but also for saving games in progress), screenshots to be saved or printed, or values in memory to be manipulated—a cheating technique to acquire extra lives, for example.

Not all computers provide a mechanism for triggering NMIs; however, many machines (typically rackmount servers) provide a physical button specifically for this purpose. Other machines may expose this functionality via an expansion card.[4]

Miles Gordon Technology's DISCiPLE and +D products for the ZX Spectrum featured an NMI-producing "magic button".

On the Nintendo Entertainment System, an NMI is generated during each vertical blanking interval. Because these NMIs (often referred to as "vblank interrupts") occur at frequent, regular intervals, code that manipulates game graphics and audio is often executed inside of the NMI handler routine. Clearing the 7th bit of the PPU's $2000 register disables vblank interrupts, and setting it enables them.

See also

Notes

  1. ^ "Interrupt Levels". Retrieved 2023-11-30.
  2. ^ "8.7.2: MS-DOS* Compatibility Sub-mode". Intel® 64 and IA-32 Architectures Software Developer's Manual. Vol. 1. Intel Corporation. June 2013. pp. 8–31.
  3. ^ "How to generate a complete crash dump file or a kernel crash dump file by using an NMI on a Windows-based system". Microsoft. 2011-06-08. Retrieved 2013-08-31.
  4. ^ "PCI Dump Switch Card". Connect Tech Inc. Retrieved 2013-08-31.

Read other articles:

Judo competition Judo Women's 48 kg at the 2015 World Judo ChampionshipsVenueAlau Ice PalaceLocationAstana, KazakhstanDate24 AugustCompetitors40 from 34 nationsTotal prize money14,000$[1]Medalists  Paula Pareto (1st title)   Argentina Haruna Asami   Japan Jeong Bo-kyeong   South Korea Ami Kondo   JapanCompetition at external databasesLinksIJF • JudoInside← Chelyabinsk 2014Budapest 2017&…

Cheryl HinesLahirCheryl Ruth HinesTahun aktif1993 – Sampai SekarangSuami/istriPaul Young (30 Desember 2002 – Sampai Sekarang) Cheryl Ruth Hines atau lebih dikenal dengan nama Cheryl Hines (lahir 21 September 1965) merupakan seorang aktris berkebangsaan Amerika. Dia terkenal akan kemampuannya berimprovisasi, dia juga pemenang Gracie Allen Awards. Salah satu filmnya yang cukup terkenal adalah Curb Your Enthusiasm (2000 – 2011). Filmografi Swamp Thing TV Series, episode Heart of the Mant…

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Agustus 2017. Ir.Bugiakso Presiden Patriot PanganMasa jabatan19 Desember 2016 – 26 Juni 2017Ketua Umum Jenderal Soedirman CenterMasa jabatan10 Mei 2007 – 26 Juni 2017Ketua Umum Keluarga Besar Putra Putri Polri (KBPPP) PusatMasa jabatan2006–2010D…

American lawyer For the filmmaker, see James C. McKay (director). Jim McKayPersonal detailsBorn(1917-02-24)February 24, 1917South Pasadena, California, U.S.DiedNovember 23, 2015(2015-11-23) (aged 98)Chevy Chase, Maryland, U.S.EducationCornell University (BA)Georgetown University (LLB) James C. Jim McKay (February 24, 1917 – November 23, 2015) was an American trial lawyer. As Independent Counsel from 1987 to 1990, he investigated allegations of illicit lobbying and conflicts of interest du…

Pour les articles homonymes, voir Derniers sacrements. Ne doit pas être confondu avec Viatique. L'extrême-onction, Pietro Antonio Novelli, 1779. L'onction des malades, appelée chez les catholiques « extrême-onction » avant le concile Vatican II, et sacrement des saintes huiles chez les orthodoxes, est un sacrement des Églises catholique romaine, orthodoxes de tout genre et anglicane par lequel celui qui souffre est confié à la compassion du Christ (parfois dit Christ médecin)…

AAI RQ-7 Shadow adalah kendaraan udara tak berawak (UAV) Amerika yang digunakan oleh Angkatan Darat Amerika Serikat, Angkatan Darat Australia, Angkatan Darat Swedia, Angkatan Udara Turki, dan Angkatan Darat Italia untuk pengintaian, pengawasan, perolehan target, dan penilaian kerusakan pertempuran. Diluncurkan dari ketapel pneumatik yang dipasang di trailer, senjata ini diperoleh dengan bantuan peralatan penangkap yang mirip dengan jet di kapal induk. Elektro-optik / elektro-optik berpendingin n…

Voce principale: Associazione Calcio Verona. Questa voce sull'argomento stagioni delle società calcistiche italiane è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Associazione Calcio VeronaStagione 1946-1947Sport calcio Squadra Verona Allenatore János Vanicsek Presidente Giovanni Chiampan Serie B, Girone B8º Maggiori presenzeCampionato: Bizzotto (40) Miglior marcatoreCampionato: Sega (14) 1945-194…

Polo air pada Olimpiade Musim Panas 2020LokasiPusat Polo Air TatsumiTokyoTanggal24 Juli s.d. 8 Agustus 2021Jumlah disiplin2Peserta242← 20162024 → Polo air pada Olimpiade Musim Panas 2020 adalah pelaksanaan cabang olahraga polo air pada penyelenggaraan Olimpiade Musim Panas 2020. Kompetisi pada cabang olahraga ini berlangsung di Pusat Polo Air Tatsumi, Tokyo. Edisi ini menandingkan 2 nomor, yakni putra dan putri. Edisi ini diikuti oleh 12 tim putra dan 10 tim putri, yang men…

Patriark VenesiaKeuskupan Agungcatholic Lambang Patriark VenesiaPetahana:Francesco MoragliaLokasiProvinsi gerejawiPatriarkat VenesiaInformasiPenjabat pertamaLawrence GiustinianiPendirian1451KeuskupanKeuskupan Agung VenesiaKatedralBasilika Santo MarkusSitus webwww.patriarcatovenezia.it Patriark Venesia (bahasa Latin: Patriarcha Venetiarum, bahasa Italia: Patriarca di Venezia) adalah uskup ordinaris Keuskupan Agung Venesia. Uskup tersebut adalah salah satu dari sedikit patriark dalam Gerej…

Spanish playwright Jacinto GrauBorn1877Barcelona, SpainDied14 August 1958Buenos Aires, ArgentinaNationalityCatalan Jacinto Grau Delgado (1877 – 14 August 1958) was a Spanish writer. Best known for his plays, and his theoretical approach to theater, he also wrote essays, short stories, and criticism.[1] Life Grau was born in Barcelona. He served as the Envoy Extraordinary and Minister Plenipotentiary of Loyalist Spain to Panama during the Spanish Civil War.[2] Following the …

Disambiguazione – Se stai cercando altri significati, vedi Speziale (disambigua). Questa voce sugli argomenti storia medievale e professioni è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Lo speziale nel XV secolo Lo speziale nel medioevo era colui che si occupava della preparazione delle medicine, solitamente aveva una bottega, definita spezieria, all'interno della quale effettuava anche attività di v…

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Port of Koper – news · newspapers · books · scholar · JSTOR (July 2014) (Learn how and when to remove this message) Port in SloveniaPort of KoperLuka KoperClick on the map for a fullscreen viewLocationCountrySloveniaLocationKoperCoordinates45°33′N 13°44′E&#x…

Warship type The Italian cruiser Partenope in 1895 A torpedo cruiser is a type of warship that is armed primarily with torpedoes. The major navies began building torpedo cruisers shortly after the invention of the locomotive Whitehead torpedo in the 1860s. The development of the torpedo gave rise to the Jeune École doctrine, which held that small warships armed with torpedoes could effectively and cheaply defeat much larger battleships. Torpedo cruisers fell out of favor in most of the gre…

Questa voce o sezione sull'argomento partiti politici svizzeri non cita le fonti necessarie o quelle presenti sono insufficienti. Commento: Gran parte del testo privo di fonti a supporto, oltre che da aggiornare. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Partito Socialista Svizzero(DE) Sozialdemokratische Partei der Schweiz(FR) Parti Socialiste Suisse(RM) Partida Socialdemocrata de la Svizra PresidenteCédric WermuthM…

1940 territorial settlement between the kingdoms of Romania and Hungary This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (August 2017) (Learn how and when to remove this message) This article's lead section may b…

American racing driver NASCAR driver Billy HaganBorn(1932-03-22)March 22, 1932Lillie, Louisiana, U.S.DiedNovember 16, 2007(2007-11-16) (aged 75)Concord, North Carolina, U.S.NASCAR Cup Series career3 races run over 3 yearsBest finish84th (1975)First race1969 Talladega 500 (Talladega)Last race1979 Texas 400 (Texas) Wins Top tens Poles 0 1 0 24 Hours of Le Mans careerYears1981–1982TeamsStratagraph Inc.Best finish17th (1982) Billy Joe Hagan (March 22, 1932 – November 16, 2007) was a NASCAR …

This article is about the district. For its eponymous headquarters, see Gandhinagar. This article may need to be rewritten to comply with Wikipedia's quality standards. You can help. The talk page may contain suggestions. (June 2022) District of Gujarat in IndiaGandhinagar districtDistrict of GujaratAdalaj StepwellInteractive Map Outlining Gandhinagar DistrictLocation of district in GujaratCoordinates: 23°12′53.42″N 72°38′59.42″E / 23.2148389°N 72.6498389°E / …

Italian journalist and politician (1921–2000) Gianmatteo MatteottiPersonal detailsBorn17 February 1921Rome, Kingdom of ItalyDied14 June 2000(2000-06-14) (aged 79)VeronaResting placeFratta PolesinePolitical partyPSI (1943–1947; 1959–1969)PSDI (1947–1959; 1969–1998)SDI (1998–2000)ParentGiacomo Matteotti (father) Gianmatteo Matteotti (17 February 1921 – 14 June 2000), also known as Matteo Matteotti, was an Italian socialist politician. He held several cabinet posts in the 1970s. …

Study of influence of color on human behavior The rose of temperaments (Temperamenten-Rose) compiled by Goethe and Schiller in 1798/9. The diagram matches twelve colors to human occupations or their character traits, grouped in the four temperaments: * choleric (red/orange/yellow): tyrants, heroes, adventurers * sanguine (yellow/green/cyan) hedonists, lovers, poets * phlegmatic (cyan/blue/violet): public speakers, historians * melancholic (violet/magenta/red): philosophers, pedants, rulers Color…

City in South Dakota, United StatesMcIntosh Maktáža (Lakota)CityLocation within Corson County and South DakotaCoordinates: 45°55′17″N 101°20′57″W / 45.92139°N 101.34917°W / 45.92139; -101.34917CountryUnited StatesStateSouth DakotaCountyCorsonArea[1] • Total0.77 sq mi (1.99 km2) • Land0.73 sq mi (1.89 km2) • Water0.04 sq mi (0.10 km2)Elevation[2]2,310 ft…

Kembali kehalaman sebelumnya