Welcome, Guest. Please login or register.

Author Topic: Level 7 interrupt button (especially for asm coders)  (Read 4187 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Level 7 interrupt button (especially for asm coders)
« on: December 03, 2002, 10:08:45 PM »
The "Level 7 interrupt" is also known as the NMI, or "Non-Maskable Interrupt". It is the highest priority interrupt, nothing can interfere with it. On the 68K range, there are several interrupt lines, which have a priority. A level 3 interrupt can be interrupted by a level 4 interrupt for example.

Grounding the NMI line with a switch causes the 68K processor to jump to the NMI exception vector. Normally, this would give you a nice GURU alert, but software can patch into the NMI vector and be jumped to when it is triggered, like Hrtmon.

As it is non-maskable, there is not a lot that demos can do to stop it. It is a hardware mechanism completely seperate from the OS.
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Level 7 interrupt button (especially for asm coders)
« Reply #1 on: December 04, 2002, 12:22:58 PM »
Yes, asmone supports Level 7 interrupts. When AsmOne is loaded, activating the NMI will get you back to the AsmOne (or AsmPro) command line. Very handy when coding :) I don't have an NMI switch myself, but I saw Stingray use one while coding at the Mekka/Symposium 2001.
Playstation Network ID: xeron6